Besides MVC model-view-controller actually there are more components which built up a complete PHP framework. Let's sum it all:
Model is a database representation dealing with tables and other database objects.
View is a visual representation dealing with HTML layouts, CSS, JavaScript, form, buttons, lash messages, etc. This layer also can be extended using tempelate engine/language such as Volt.
Controller is responsible for joining model and view together with certain rules and logic.
Router and dispatcher is a part of controller which...
This is default featured slide 1 title
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.
This is default featured slide 2 title
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.
This is default featured slide 3 title
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.
This is default featured slide 4 title
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.
This is default featured slide 5 title
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.
Friday, October 18, 2013
Thursday, October 17, 2013
Why I Choose Phalcon PHP Framework
7:05 PM
1 comment
Here's why I choose Phalcon PHP Framework for my project site:
From framework's nature perspective, Phalcon is a C based framework so it's more efficient, faster and lighter than PHP based framework.
From benchmark reports perspective, it has been proven that C based framework is faster and use less resources.
So far there're two option for C based framework; Yaf and Phalcon. I choose Phalcon because it's well documented and they provide a lot samples. ...
Wednesday, October 16, 2013
Benchmark Reports on C Based Framework
9:49 PM
No comments
Because C based framework already running inside the web server, it's obvious that C based framework run faster, and need less resource than PHP based framework. But now we'll take a look several benchmark reports as proofs. This is a simple "Hello World" test, simple MVC logic, no database connections, no complex logic:
Hardware platform
CPU: Intel Core i5 750 (2.67GHz x4)
RAM: 4GB
Software Environment
Debian 6.0.4 x86_64 (2.6.32-41)
apache...
PHP Based Framework VS C Based Framework
8:47 PM
No comments

Basically there are two kind of PHP framework: PHP based and C based. What is the differences? PHP based framework built by PHP language, which contains PHP files and interpreted simultaneously with your own PHP codes.
In the other hand, C based framework built by C language, which contains C files that already compiled and planted as a web server extension. So the framework is already active in memory together with the web server. These compiled...
Thursday, October 10, 2013
What is MVC?
3:54 PM
No comments

Model–view–controller (MVC) is a an architecture which separates software development complexity into three layers; model, view and controller. A model is a database representation dealing with tables and other database objects. A view is a visual representation dealing with HTML layouts, CSS, JavaScript, form, buttons, etc. And finally a controller is responsible for joining model and view together with certain rules and logic.
With this architecture,...
Tuesday, October 8, 2013
Pure PHP Coding VS Framework PHP Coding
3:32 PM
No comments

As you can see from the picture bellow, a framework simply just an “add-on” which provides methods and toolkits to your original PHP code. So it's easy to understand that this framework add-on will add more bloat to your applications. So why bother coding with PHP framework?
As we have discussed before, when you develop simple applications you mostly don't need a framework. But when your application grow more and more complex, at some point,...
Sunday, October 6, 2013
Why We Need a PHP Framework?
3:53 PM
2 comments
Why should I use a framework? Why bother learn and code with framework, instead of pure PHP? Because learning and coding with framework invest more time and man power. I asked these questions before I decided to use a framework for my project site.
A framework actually is a code, that contains classes, tools and methods, which you can use to develop a complex application more efficient. When an application grow more and more complex, a conventional approach (pure PHP coding) is no longer efficient and suitable.
If you develop a simple plain PHP...
Subscribe to:
Posts (Atom)