DooPHP - fastest MVC based PHP framework

Learn More

The Official Blog of DooPHP

News, Updates, Tips & Tricks for DooPHP

Subscribe to Blog

Subscribe to the official blog of DooPHP framework.

Extending DooPHP Framework2009-09-12 21:13:22

Extending DooPHP Framework

If you would like to extend the framework, you can write your own class that extends the framework classes.

For instance, you might want to extend the DooValidator. You can write your own validator class in protected/class

Doo::loadHelper('DooValidator');

classs MyValidator extends DooValidator{
     //..??your extended code..
}

And then you can use your extended class in controller:

Doo::loadClass('MyValidator');

Read more tips & tricks at the forum


Published under: Tips & Tricks Share/Save/Bookmark

Blog Demo Added2009-09-09 03:32:54

Blog Demo Added

A blog demo application is added in the demo section.

It shows you how to create a blog with DooPHP. Frontend cache, table relationship, CRUD with the ORM, template engine, data validation and pagination are involved in this blog demo.

The blog demo is included in the download package. Go ahead and try out the blog demo


Published under: News & Updates Share/Save/Bookmark

Guide on Model and View2009-09-05 01:14:10

Guide on Model and View

The basic section in DooPHP definitive guide is completed.

2 new pages are added to explain the usage of Models and View in DooPHP. It is still recommended that you have a look at the demos since they show you a more complete usage of the features in the framework.

Read more at http://doophp.com/doc/guide/basic/controller

Stay tuned for more advanced guide and demos!


Published under: News & Updates Share/Save/Bookmark

DooPHP version 1.2 is released!2009-09-01 16:21:20

DooPHP version 1.2 is released!

DooPHP version 1.2 is released! It now comes with better ORM tools and data validation along with code generation to make things easier!

The benchmark comparison of using the original Doo::db() and the new DooModel.

Doophp v1.1 benchmark

Doophp v1.1 benchmark

Noticeable New Features in v1.2:

  • Enhanced Database ORM for shorter and more elegant code. Your current model classes can extend DooModel for addon ORM functionailities.
  • Smart Model Cache (DooSmartModel) for automated data model cache management. It is a smarter version of DooModel. Cache can be stored as file based, php vars, APC, XCache, Memcache, EAccelerator.
  • Form/Model Validation for data validation before saving/creating/deleting DB records. Validation rules can be generated with the Model generator.
  • Better Native PHP template support for those who do not use the template engine. Read the API doc for DooView.
  • And several bug fixes plus enhancements.

View the complete features and changes in the CHANGELOG file in the latest source.

Go ahead and download the new framework source.

See DooPHP database demo's MainController::test() and the API doc for DooModel for example usage of the enhanced ORM tools.


Published under: News & Updates Share/Save/Bookmark

About

Categories

Archives


Syndication