News Feed
Jobs Feed
Sections




News Archive
feed this:

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
October 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.

0 comments voice your opinion now!
bakery cakephp framework component tutorial lightroom dbosource smf bakery cakephp framework component tutorial lightroom dbosource smf


The Bakery:
Five New Articles, Tutorials and Helpers
September 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.

1 comment voice your opinion now!
csv internationalization navigation habtm secureget bakery csv internationalization navigation habtm secureget bakery


The Bakery:
Five More Articles/Tutorials Posted
August 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.

3 comments voice your opinion now!
habtm relationship validation obauth component cakephp bakery habtm relationship validation obauth component cakephp bakery


The Bakery:
ToniAcl Component Tutorial
August 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.

0 comments voice your opinion now!
component tutorial cakephp bakery authentication component tutorial cakephp bakery authentication


The Bakery:
Mambo, Layout Switching, SimplePie and Caching Elements
July 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.

0 comments voice your opinion now!
cakephp framework bakery mambo layout simplepie caching cakephp framework bakery mambo layout simplepie caching


The Bakery Blog:
SwiftMailer Component Tutorial
December 19, 2006 @ 17:19:00

On The Bakery (the CakePHP blog) today, there's a new tutorial covering the SwiftMailer Component:

I would still advise you read the Swift Mailer documentation here: http://www.swiftmailer.org/docs/ SwiftMailer Component isn't an attempt to hide the already excellent class written by Chris Corbyn. Rather, the component tries to integrate and extend it (read, Cake-ish!).

They walk through the installation and where to unpack the download to ensure it works with your installation of CakePHP. You'll need to add the component to the main controller, but other than that, you're ready to go. From there it's configuration issues:

  • connecting to the local MTA (like sendmail or a SMTP server)
  • configuring the authentication for sending
  • and, of course, creating a message to go out
They demonstrate the creation of this through a view in the application that can natively send both HTML and plain-text emails.

0 comments voice your opinion now!
bakery cakephp tutorial swiftmailer component email bakery cakephp tutorial swiftmailer component email



Community Events











Don't see your event here?
Let us know!


package composer application language code introduction hhvm security example overview component opinion hack podcast install unittest framework symfony2 release facebook

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework