Articles:



PHP 5.4 - what,s new?

Other

This article contains few words about what is new and what was changed in PHP 5.4.

Here are some main features of php 5.4:

Read More

About TDD

Other

Test-driven development (TDD) is a software development process that relies on the repetition of a very short development cycle: first the developer writes a failing automated test case that defines a desired improvement or new function, then produces code to pass that test and finally refactors the new code to acceptable standards.

In test-driven development a developer creates automated unit tests that define code requirements then immediately writes the code itself. The tests contain assertions that are either true or false. Passing the tests confirms correct behavior as developers evolve and refactor the code. Developers often use testing frameworks, such as xUnit, to create and automatically run sets of test cases.

Read More

PHPUnit Annotations

Other
An annotation is a special form of syntactic metadata that can be added to the source code of some programming languages. While PHP has no dedicated language feature for annotating source code, the usage of tags such as @annotation arguments in documentation block has been established in the PHP community to annotate source code.
With PHPUnit annotations you can write PHPUnit tests in a simle and unconventional way.

Read More

Zend Framework Intro

Zend Framework

Zend Framework is an open source, object oriented web application framework for PHP 5.

Zend Framework is often called a 'component library', because it has many loosely coupled components that you can use more or less independently.

Read More

Magento customize methods (events)

Magento
There two main ways with magento code can be customized, using events, and overriding classes. In this article it will be described in more details using events method. Magento is written in OOP manner and implements "observer pattern". So this mean that in key point of application magento has events and make dispatch of this events. This allows us to inject code in magento normal workflow, and change defauult behavior.
Events customization method has advanced that can be used for multiple times and with other customized code (extension), without risk to appear conflicts in another module or extension that override same piece of code(extension/module) like your code(extension/module) but it has disadvantage to not be able to change magento logic/workflow completely.

Read More

Magento XML files

Magento

Magento keeps a lot of configurations in xml files.

For example:

Read More

Magento developing guide(basic)

Magento

In order to customize magento code first step is to learn how to make a module. First of all, we're going to define our module within Magento. For this, we need to create a file called Namespace_MyModule.xml within the Magento folder app/etc/modules with the following contents:

        

Read More

PHP Security Guide: Overview

Other

What Is Security?

Security is an important aspect to take into consideration for any web application. Security must be balanced with expense, usability. Security increase the value of your application and spares you of possible future problems.

Read More

How to install magento

Magento

Sometimes, magento is not easy to install, especially for beginner users. But hundreds of ecommerce systems exist, but very few can match the power of Magento. Also Magento is a very powerful Open Source eCommerce System, which offers offering unprecedented flexibility and control. Tutorial from this article it will guide you to install magento on a webserver, and screencast bellow it show how to install on a local machine.

 

Read More

PHP Developing Guide

Other

Even if nowadays most of web php application are written using various frameworks, or platforms for a beginner i consider that first of all he should learn to develop application in pure PHP code. For those who continue to develop, web application using pure PHP code i present below some usefull functions/ piece of code used in developing php application from scratch. 1. Function that connect to db.

        

Read More