Thursday, December 8, 2011

Web application framework.


Ingat tak pasal staf baru tu, dia ada sebut pasal framework dalam meeting. Ai tak tahu mende la framework tu. Agak jakun di situ. Even di introduce as senior programmer. Malu seyy.. Tengok orang lain steady je. Diorang tahu le kot. Makanya, untuk memastikan tidak berlaku lagi kes jakun yang kedua, dengan bantuan Detective Conan, ai berusaha untuk memahamkan diri tentang framework tu.

P/s : kan saye dah kate.. peluang untuk mencedok ilmu...

............. Story Begin .............

A web application framework is a software framework that is designed to support the development of dynamic websites, web applications and web services.

By using a PHP Framework, you will end up saving loads of time, stopping the need to produce repetitive code, and you'll be able to build applications rapidly (RAD).

Meanwhile, using a PHP Framework makes it easier for you to ensure connection.


MVC
PHP operates on the Model View Controller (MVC) fundamentals. MVC is an architectural pattern which breaks apart your domain logic from your user interface. 

The domain logic is the function that handles information exchange between your database and your user interface. 

Therefore you're able to modify the domain logic and most importantly for designers, the user interface separately.

This removes a lot of confusion and simplifies the entire developmental process. 

When we refer to MVC we generally perceive it as this: 
  • M: stands for the raw data
  • V : represents what's actually being viewed, 
  • C : (controller) is in fact the domain logic as seen above.

What to look when choosing framework?

Not every PHP Framework offers the same support for databases, communities, and an easy to follow user guide. 
  • Database support : CodeIgniter supports MySQL, Oracle, and SQLite
  • Community Support
  • Documentation Support
  • MVC Architecture : Most of the good frameworks you'll find also offer libraries, plug-ins, helpers, and extensions.
Common mistakes when choosing a framework.

When choosing your framework, make sure that it isn't small enough for it to not offer any support

Utilizing a PHP framework that's easy to use and understand is vital, unless you're a pretty advanced PHP programmer. 

You should always make sure that your database and web server is compatible with the framework you've chosen. 

Another common mistake is derailing from the recommended installation process of your PHP Framework. 

Keep your eye on the prize and take your sweet time setting up your framework. Follow your frameworks instructions thoroughly, and avoid distractions.

Available frameworks.
  • Kohana
  • CodeIgniter
  • Akelos
  • CakePHP 
  • Zend Framework
  • Symfony
  • Prado
  • Solar Framework
  • Yii PHP Framework
  • Maintainable
  • Seagull
  • Fuse
  • AjaxAC
  • Phocoa
  • Limb
  • Zoop
  • BlueShoes
  • Qcodo
  • Recess
  • PHPDevShell










0 comments: