Showing posts with label CakePHP. Show all posts
Showing posts with label CakePHP. Show all posts

May 29, 2013

Write less code: merge Save and Edit in CakePHP

In most cases writing less code gives the developer a series of advantages: it’s easier to maintain and extend, easier to read and easier to debug! In this post I’m going to suggest a little CakePHP tip that in the long run will save you a lot of coding.
Some develepers already implement this method, but I think it deserves much wider usage: I’m talking about merging model save and edit in a single controller method.

Multistep forms in CakePHP 2.2.2

One of the features I really love about PHP frameworks is form management. Coding forms in plain PHP can easily become a pain if not well planned out. Multistep forms take this complexity even further, especially when you care about user experience.
In this tutorial you’ll be amazed by how much little code can manage a whole full featured multistep form when taking advantage of CakePHP powerful classes. We’ll build the form in only 60 lines of controller code.

May 13, 2013

Theme Ace CakePHP 2.x

Trong quá trình thiết kế website có lẽ các pro cũng gặp không ít khó khăn trong vấn đề giao diện. Tôi cũng vậy, vấn đề đã được giải quyết 1 cách tuyệt vời với theme Ace như demo bên dưới. Tôi không cần nói nhiều các bạn có thể tự tìm hiểu về cách thiết kế theme trong cakephp để tự làm cho mình 1 theme vừa ý hoặc để ít tốn thời gian các bạn có  thể liên hệ với tôi, 1 chút phí điện cho có tinh thần đó mà.
Giới thiệu:



Link Demo


Apr 16, 2013

TwitterBootstrap Plugin for CakePHP2.x

(https://github.com/slywalker/TwitterBootstrap)

The TwitterBootstrap Plugin provides an easy-to-use feature Bootstrap in CakePHP2.x
Bootstrap, from Twitter
This v1.5.5 supports Bootstrap v2.2.2