Application Development: Backbone framework: modern professional front-end approach

Nowadays, web is not just loading pages and displaying them correctly. Modern browsers allow web application developers to create complicated one-page rich solutions on the client side: rich text processors, graphics editors, spreadsheets, etc. Backbone [http://backbonejs.org] is one of the best straight forward solution to organize even very complicated project in robust professional way. Practically, it’s very small set of JavaScript classes, that you can review in an hour.

The main idea is to split the code into 2 sets of classes: Models and Views. A Model is responsible to handle all data of specified component. It loads, saves and represents it for a View. A View is rather a controller to handle UI, render widgets and specify actions for a Model to provide any changes. You can use any front-end HTML templates system within Backbone Views.


As I said above, Backbone is just a set of approaches to organize complicated project in robust way and a bunch of source code to help with it.

Read more

Laravel framework: Give PHP another chance

Category: PHP Development

There is no secret that PHP Development is not so cool technology, as it was 15 or even 10 years ago. On the one hand, Java and .NET dominate in enterprise area, and on the other hand there are many modern MVC frameworks (Ruby on Rails, Django/Python, node.js, etc.) are used widely by startups at line of simplicity and lightness. PHP had lack of their cool features as both the programming language and the web development platform. You even may think that PHP was stuck in 2000. Let’s look at Laravel [http://laravel.com] — modern MVC framework for rapid PHP Development.

Laravel is the best PHP MVC framework

Laravel is not the first MVC framework available for PHP Development (Zend, Yii, Symphony, etc.), but looks like it was created to be the best one.

Read more

Dependencies in PHP application development. Part2

Category: PHP Development

Here we’re back to the topic of dependencies in PHP application development

Let’s consider the tools made to ease your PHP outsourcing.

One of the most popular ones appeared to be Apache Maven. It’s the best choice for those who uses Java. Here you will get all the functions of the dependency manager and even more, still it won’t be cozy in case of using this program for several projects at once as it might appear to be overcomplicated. Some might think about it as the result of lacking experience of the PHP developers team, still it’s mostly because of not too attractive tools.

PEAR is yet another nice option; still you will need some external libraries for it as well. The well known composer project is nice solution as it can be the real salvation for most of dependency problems. Still it’s not actually fully developed yet, so is not exactly reliable. Perhaps we need some more time to decide there.

Symphony2 is a nice way of PHP application development offering a creative approach and having deps file for definition of where the dependencies are. The program is rather light and easy-to-use. Feel free to extend it any way you find suitable.

Things you need to know

As the popularity of Symphony2 is growing constantly, a lot of attention is still paid to GitHub. However this project is not always working in fully correct way as far as I had discovered. For example I had one of the bundlers to fail and smash down all the integration efforts in a moment.

Read more

Dependencies in PHP application development

Category: PHP Development

Usually the project needs the definite support to work correctly, mostly if it involves frameworks. There are many libraries in the open source nowadays; they definitely help to save the time. However the new problem appears about dependencies management. Here we offer some thoughts about the ways of salvation by using so called DLL Hell.

Nearly each PHP team uses management tools with the external references to SVN and Git. Still they mostly suit for device management, but not quite for dependencies. They can be forced into this action but sooner or later they will definitely fail. You won’t avoid it no matter what you do for PHP outsourcing; now let me prove my point of view.

Systems for version control

svn:externals was one of the most popular systems for SVN for the past few years. git submodule was the one usually used for GIT. The vey first problem we had to face in our PHP application development was that both programs were only able to support the same type of given referencing repositories. That was the reason GIT appeared to be rather dependent in the current SVN project. Today it will become the real problem, while most people already tend to use GitHub instead of SVN.

Read more

PHP web development in all its aspects

Category: PHP Development

The software development can now be aspect-oriented. This is completely new approach to the well known things mostly known among the business application php developers. The aspects offer the leading note here. Pay attention to them while choosing the options. Let’s consider the aspects we can meet in web design in order to see the main idea of each one.

The structure of the site is usually defined by the architecture of the information. Site’s friendliness is what shows the level of the usability while the visual perception can be seen in the graphics design. The business logic is mostly about the functional model. Here are the basics of PHP web development with various resources and unique solutions needed for each component. The effectiveness of all the components is a great guarantee of the success for your project. Sure thing the glory won’t be grated but your chances will surely raise much. AOP is just not able to get rid of any single bug or to act like a living Iflexion developer. Moreover you shall understand from now on that this approach is not going to be the leading one in the future. It has been used for 20 years already still there are a lot of people preferring to use the procedural code. Still if you consider the possible advantages, object oriented programming is much better then the procedural one.

Read more

The main PHP development trends

Category: PHP Development

The future of the PHP 6 development

was planned and appeared to be rather significant. Finally the agreement was successfully reached within the group of the PHP Internals. They decided to choose the PHP 6 as the main target instead of the PHP 5.3 that is already very popular as well.

This was am interesting shift that managed to draw the attention of the php developers all over the world. The main focus on the PHP 6 was usually because of the Unicode-compliant engine that was the part of the language itself. Still for the last months the development of the PHP 6 was rather slow, and that was what made the people question if the decision was the correct one.

Read more

The benefits and disadvantages of the PHP developer tools compared to the X programming

Category: PHP Development

Many PHP programmers tend to use particularly this language for the definite reason. Here we offer the benefits of the PHP comparing to the other IT languages.

- Not enough features in the PHP.
The PHP language is primary centered for Web needs. So the basic complains are coming from the lack of features that are not needed for the web.

- The PHP doesn’t provide the support that is object oriented.
The tendency to decline the language because of the lack of OOP support is rather old-fashioned. In the modern PHP you will not HAVE to use any of the objects at all.

Read more

How to keep the bugs off the code while the PHP programming

Category: PHP Development

The developers tend to constantly search for the ways of how to debug the code for the web pages. The wide range of techniques created for debugging are helpful. Still here we offer the basic five tips that are already proven as the most effective ones. They also let you do make the – coding much faster; all of them are tested and approved.

PHP debugging in live.

The PHP developers are free to use the inbuilt editor for the debugging process. Some of then will not let you make the debugging in live mode, so you will need to open the browser for the correct work. If you write the needed command, the errors will be reported in the line. This can also help with eliminating the small human errors in the code.

Xdebug and its profit.

The error messages such as function traces or stack traces created while the PHP programming, can be easily found by Xdebug. This application will help you to protect the code. The special debug client can run the protection in the interactive mode.

Read more

Five ways of successful creation of the web application

The PHP is well known as one of the most popular languages for programming. Sometimes the PHP developers tend to rely on the language too much, as the result the mistakes can occur in the program. These five steps are made to help you to avoid the possible troubles of this kind.

Read the reports about the errors

The error reporting is your electronic consultant. It will reveal the mistakes while the programming, so you can correct them at once. Still if you ignore the reports, the errors will be visible for the site users through the same error report program. They will get to know really much about your site, including the facts you’d possibly want to hide.

The “Bad features” of the PHP shall be turned off

The wife range of features is basically included in the PHP to make the life of the web application developer easier. These PHP applications are the real miracle sometimes, still some of them give the unwanted consequences as well. With their help the bugs can enter your script and the secret data may be revealed. So secure the bad applications before you start working with the program.

Read more

The comparison of the PHP web programming with the other IT languages.

Category: PHP Development

We come to the thought about the PHP being the best language possible, still what can we say about the other languages here?


There’s no way you can count ASP as the real language. This is basically the Active Server Pages, where many languages are usually used. It’s used mostly on the base of the Microsoft platform. This puts the definite limits to it, so it’s available on the Win32 servers. There are several projects that are based on the ASP. This language is definitely slower and has fewer functions. Still if you’re common to some language, you can easily use the ASP. You can also get support from the IIS. Still most of the components are basic, so if you’re up to using something more complicated, opt for buying additional features.

PHP vs ColdFusion

Most people think PHP is faster then the other language. That is why it’s more suitable for complicated tasks and open to new ideas. Moreover it’s significantly more stable and reliable. The ColdFusion had better protection from errors as well as the options for search – however the specialists of the PHP web programming come to the thought the language shall not focus too mush on something like the search engine. The other benefit of the PHP is the ability to be performed no most of the platforms, while ColdFusion is available only on the list of basic ones like MacOS or Windows or some more. ColdFusion doesn’t require much knowledge, on the other hand the results available there are limited.

Read more