dining room table and chairs
dining set
large dining room table
Welcome to MVCForge!
A social news site written by programmers for programmers who build applications using MVC Frameworks like CodeIgniter, CakePHP, Ruby on rails, Django and more.
In this article, foldifoldi, will teach us how to create a paginated directory page where people could browse via an alphabetical menu. So clicking ‘A’ returns all entries that begin with ‘A’, ‘B’ with ‘B’ and so on. CakePHP’s Paginator Helper made this all very easy.
More »When I first started using CakePHP, I couldn't find a way to pre-populate a form with data. Why would I need this you ask? Well its simple, it would be used to edit something already existent. So what I need to do is grab the data from the database, and then populate the form.
More »Whenever you use CakePHP’s find('first') or find('all') methods, it will return the data you have asked for. However, you may find that they return more data than you need. Check it out how to limit data transfer in CakePHP.
More »When youre editing a model, then saving it. For some reason, the form action was changing from /controller/edit/1 to
/controller/add. Check it out solution for this problem.
You wanted to install the prototype framework with the scriptaculous effects to my cakePHP Application, but after uploading the prototype files into the webroot/js folder and linking them in the layout, i got a failure message like "Undefined variable: javascript".
More »We all know that Cakephp is slow compared to Codeigniter. But in this article, Matt will show to us the 8 ways to speed up our cakephp applications.
More »Discover how to utilize CakePHP's helpers to update a select box via AJAX when a select box is changed.
More »First of all, there is CakePHP's CAKE_ADMIN config setting. This is a routing solution that allows a function called: index() in controller: users to be accessed like this: /admin/users/index. All you need to do is rename the method to: admin_index() and set the CAKE_ADMIN variable to 'admin'. This seemed like a nice solution, but frankly it wasn't.
More »My goal is to make every function in our controllers under 20 lines of code. It might sound ambitious, but I think it is completely feasable.
More »