Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

The Bakery:
Three New Components/Tutorials - Lightroom, DboSource & SMF
Oct 11, 2007 @ 12:05:09

The Bakery has posted three new items today - a helper for using Lightbox in your application, an extension of the DboSource component and and a guide on using SMF with CakePHP:

  • Lightroom Helper - This is a simple helper for people who want to use the lightbox.js
  • Extending of DboSource and Model with sql generator function - Some times in SQL is very usefull and efficiency to use query from query using IN function. Some project require it. But Cakephp does not generate such queries and we need to create such requests to DB by hand.
  • CakePHP & SMF - A quick guide on getting SMF and CakePHP working together. Uses SMF for login, session handling, even layout.

Check out the rest of The Bakery for more great CakePHP info and tutorials.

tagged: bakery cakephp framework component tutorial lightroom dbosource smf bakery cakephp framework component tutorial lightroom dbosource smf

Link:

The Bakery:
Three New Components/Tutorials - Lightroom, DboSource & SMF
Oct 11, 2007 @ 12:05:09

The Bakery has posted three new items today - a helper for using Lightbox in your application, an extension of the DboSource component and and a guide on using SMF with CakePHP:

  • Lightroom Helper - This is a simple helper for people who want to use the lightbox.js
  • Extending of DboSource and Model with sql generator function - Some times in SQL is very usefull and efficiency to use query from query using IN function. Some project require it. But Cakephp does not generate such queries and we need to create such requests to DB by hand.
  • CakePHP & SMF - A quick guide on getting SMF and CakePHP working together. Uses SMF for login, session handling, even layout.

Check out the rest of The Bakery for more great CakePHP info and tutorials.

tagged: bakery cakephp framework component tutorial lightroom dbosource smf bakery cakephp framework component tutorial lightroom dbosource smf

Link:

The Bakery:
Five New Articles, Tutorials and Helpers
Sep 11, 2007 @ 09:29:00

The Bakery has five new items they've recently posted - a few new articles, helper information and tutorials. Here's the list:

  • CSV Helper - I was recently outputting some comma-delimited data and thought I would benefit from a simple csv helper
  • p28n, the top to bottom persistent internationalization tutorial - For some developers, allowing a website to support multiple languages is essential. Luckily cakePHP 1.2 has the foundations available to make this possible.
  • Tracking navigation history of a user - Many times it can be very useful to track the navigation history of a user. [...] With this HistoryComponent, it's extremely easy to handle such actions.
  • Habtm hacks to menage columns in both models - I had a habtm relationship between two models and when i did a "findall" in a model i couldn't filter the rows with a clause from the the other model.
  • SecureGet Component - I am not pretending this can replace ACL or more complex implementation, it's just a small component, inspired a bit from the Security component.

If you're a CakePHP developer, you'd do well to check out The Bakery for these and more great Cake-related articles, tutorials and information.

tagged: csv internationalization navigation habtm secureget bakery csv internationalization navigation habtm secureget bakery

Link:

The Bakery:
Five New Articles, Tutorials and Helpers
Sep 11, 2007 @ 09:29:00

The Bakery has five new items they've recently posted - a few new articles, helper information and tutorials. Here's the list:

  • CSV Helper - I was recently outputting some comma-delimited data and thought I would benefit from a simple csv helper
  • p28n, the top to bottom persistent internationalization tutorial - For some developers, allowing a website to support multiple languages is essential. Luckily cakePHP 1.2 has the foundations available to make this possible.
  • Tracking navigation history of a user - Many times it can be very useful to track the navigation history of a user. [...] With this HistoryComponent, it's extremely easy to handle such actions.
  • Habtm hacks to menage columns in both models - I had a habtm relationship between two models and when i did a "findall" in a model i couldn't filter the rows with a clause from the the other model.
  • SecureGet Component - I am not pretending this can replace ACL or more complex implementation, it's just a small component, inspired a bit from the Security component.

If you're a CakePHP developer, you'd do well to check out The Bakery for these and more great Cake-related articles, tutorials and information.

tagged: csv internationalization navigation habtm secureget bakery csv internationalization navigation habtm secureget bakery

Link:

The Bakery:
Five More Articles/Tutorials Posted
Aug 21, 2007 @ 10:25:00

The Bakery has five more great articles/tutorials they've posted recently covering topics like authentication and cross-controller input validation. Here's the list:

  • Obvious trick to reduce amount of HABTM relationship tables - Trick howto reduce amount of HABTM tables in complex application
  • Validation in another controller - You have 2 controllers, posts and comments, you want to be able to have a form on a posts view which submits to the comments controller, which does its thing then redirect to referrer - easy!
  • ConditionalValidation behavior - The validations in cake 1.2 are great, but sometimes I needed to have conditional validation. Because the validations are set at model level, i did implement a behavior that allows to turn on or off validation.
  • obAuth Simple Authentication - Authenticate your users and secure your controller actions from users belonging to certain groups. Or simply secure your controller actions to let any authenticated user to access it.
  • obAuth Component Tutorial - This is a tutorial on how to use obAuth component: http://bakery.cakephp.org/articles/view/130

Check out The Bakery for more information on these and other great CakePHP-related articles, tutorials and commentary.

tagged: habtm relationship validation obauth component cakephp bakery habtm relationship validation obauth component cakephp bakery

Link:

The Bakery:
Five More Articles/Tutorials Posted
Aug 21, 2007 @ 10:25:00

The Bakery has five more great articles/tutorials they've posted recently covering topics like authentication and cross-controller input validation. Here's the list:

  • Obvious trick to reduce amount of HABTM relationship tables - Trick howto reduce amount of HABTM tables in complex application
  • Validation in another controller - You have 2 controllers, posts and comments, you want to be able to have a form on a posts view which submits to the comments controller, which does its thing then redirect to referrer - easy!
  • ConditionalValidation behavior - The validations in cake 1.2 are great, but sometimes I needed to have conditional validation. Because the validations are set at model level, i did implement a behavior that allows to turn on or off validation.
  • obAuth Simple Authentication - Authenticate your users and secure your controller actions from users belonging to certain groups. Or simply secure your controller actions to let any authenticated user to access it.
  • obAuth Component Tutorial - This is a tutorial on how to use obAuth component: http://bakery.cakephp.org/articles/view/130

Check out The Bakery for more information on these and other great CakePHP-related articles, tutorials and commentary.

tagged: habtm relationship validation obauth component cakephp bakery habtm relationship validation obauth component cakephp bakery

Link:

The Bakery:
ToniAcl Component Tutorial
Aug 02, 2007 @ 10:25:00

On The Bakery today, there's a new tutorial covering the use of the ToniAcl component to handle authentication in your CakePHP website.

This component follows the traditional way of acl only slightly modifying it. In example there's an inheritance feature, which will help tremendously the access controlling because you don't have to specify every action in aros_acos-table.

The tutorial includes all of the code you'll need - the component class for ToniAcl, the controller class to put it to use and database structure to handle the user information storage.

tagged: component tutorial cakephp bakery authentication component tutorial cakephp bakery authentication

Link:

The Bakery:
ToniAcl Component Tutorial
Aug 02, 2007 @ 10:25:00

On The Bakery today, there's a new tutorial covering the use of the ToniAcl component to handle authentication in your CakePHP website.

This component follows the traditional way of acl only slightly modifying it. In example there's an inheritance feature, which will help tremendously the access controlling because you don't have to specify every action in aros_acos-table.

The tutorial includes all of the code you'll need - the component class for ToniAcl, the controller class to put it to use and database structure to handle the user information storage.

tagged: component tutorial cakephp bakery authentication component tutorial cakephp bakery authentication

Link:

The Bakery:
Mambo, Layout Switching, SimplePie and Caching Elements
Jul 25, 2007 @ 11:09:00

The Bakery has four new articles/tutorials posted today covering things like Mambo's choice to go with CakePHP, a layout switcher, SimplePie and caching elements.

  • Mambo-licious - Join us in welcoming Mambo to the CakePHP community.
  • Automatic Layout Switcher - This component allows you to have two layouts for one site and switches between them automatically based on the domain.
  • SimplePie CakePHP Component - SimplePHP is a PHP class for retrieval and parsing of RSS feeds.
  • Cache Elements Individually For Each User - Caching elements in general has been discussed before on bakery and this article takes caching of an element to a higher level. This article explains how to cache elements individually for each user.

Be sure to check out the rest of The Bakery for more great CakePHP-related content and news.

tagged: cakephp framework bakery mambo layout simplepie caching cakephp framework bakery mambo layout simplepie caching

Link:

The Bakery:
Mambo, Layout Switching, SimplePie and Caching Elements
Jul 25, 2007 @ 11:09:00

The Bakery has four new articles/tutorials posted today covering things like Mambo's choice to go with CakePHP, a layout switcher, SimplePie and caching elements.

  • Mambo-licious - Join us in welcoming Mambo to the CakePHP community.
  • Automatic Layout Switcher - This component allows you to have two layouts for one site and switches between them automatically based on the domain.
  • SimplePie CakePHP Component - SimplePHP is a PHP class for retrieval and parsing of RSS feeds.
  • Cache Elements Individually For Each User - Caching elements in general has been discussed before on bakery and this article takes caching of an element to a higher level. This article explains how to cache elements individually for each user.

Be sure to check out the rest of The Bakery for more great CakePHP-related content and news.

tagged: cakephp framework bakery mambo layout simplepie caching cakephp framework bakery mambo layout simplepie caching

Link: