Unit testing with PHPUnit

Unit testing with PHPUnit The key to understanding PHPUnit testing is to define what we mean by “unit.” A unit is simply a chunk of functionality that performs a specific action where you can test the outcome. A unit test, then, is a sanity check to make sure that the chunk of functionality does what it’s supposed to.… Read More »

PHPUnit Tips and tricks

PHPUnit Tips and tricks Following are the Tips and Tricks of the PHPUnit. Working with Static Methods Testing these methods is easy: create a test class as normal and call the static method as the code under test, stubbing out any code that the static method calls out to. Instead, you will have to alter… Read More »

Introduction to PHPUnit

Introduction to PHPUnit PHPUnit provides a simple framework for creating a test suite to automate testing of functions and classes. PHPUnit is inspired by JUnit which was created by Kent Beck and Erich Gamma as a tool for eXtreme Programming. One of the rules of XP is to test small software components as often and early as possible, this… Read More »

Opencart Installation

Opencart Installation Downloading and unzipping OpenCart The latest version of OpenCart (v. can be downloaded from the OpenCart website (recommended) or directly from github. Installing and configuring the FTP client We recommend using Filezilla as your FTP client. Filezilla is a free FTP client that will transfer the OpenCart files to any web server specified. The FileZilla client… Read More »

Introduction to Opencart

Introduction to Opencart OpenCart: the free, open-source and easy to use ecommerce platform. OpenCart provides a professional and reliable foundation from which to build a successful online store. This foundation appeals to a wide variety of users; ranging from seasoned web developers looking for a user-friendly interface to use, to shop owners just launching their… Read More »

Introduction to Agile Methodology

Introduction to Agile Methodology Agile is one form of software development methodology. Its main focus is on client satisfaction through continuous delivery. The focus of Agile is more on limiting the project scope. An agile project sets a minimum number of requirements and turns them into a deliverable product. Agile development methodology provides opportunities to… Read More »

Why is Agile Methodology Important?

Why is Agile Methodology Important? Agile methodology is an alternative to traditional project management, typically used in software development. It helps teams respond to unpredictability through incremental, iterative work cadences, known as sprints. Agile methodologies are an alternative to waterfall, or traditional sequential development. why agile methodology is important is as follows. Revenue The iterative… Read More »

Defining Agile Methodology!

Defining Agile Methodology! Agile Methodology are models used in the system development arena. The agile methodology has evolved in the mid-1990s as a part of reaction against traditional waterfall methods. That the Agile Methodology were originating resulted from the use of the waterfall model were seen as bureaucratic, inflexible, slow, and inconsistent with the ways… Read More »

Introduction to MySQL

Introduction to MySQL MySQL is a fast, easy-to-use RDBMS being used for many small and big businesses. MySQL is developed, marketed, and supported by MySQL AB, which is a Swedish company. MySQL is becoming so popular because of many good reasons: MySQL is released under an open-source license. So you have nothing to pay to… Read More »

SQL Injection (SQLi)

SQL Injection (SQLi) SQL injection (SQLi) refers to an injection attack wherein an attacker can execute malicious SQL statements (also commonly referred to as a malicious payload) that control a web application’s database server (also commonly referred to as a Relational Database Management System – RDBMS). Since an SQL injection vulnerability could possibly affect any website or… Read More »