News 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:
Four New Articles/Tutorials
May 10, 2007 @ 09:35:00

The Bakery has four new articles/tutorials they've posted lately looking at things like thumbnail generation, data validation and add/delete behavior.

  • Thumbnails generation with phpThumb - phpThumb is a great thumbnail generator, it can generate thumbs with GD, GD2 or ImageMagick. There are many features like crop, rotate, watermark,... see all the features on the phpThumb homepage.
  • HABTM Add & Delete Behavior - Many people gripe about the HABTM associations in CakePHP and how difficult it is to add or delete a single record. This behavior takes care of the task for you!
  • Flexible controller and modelpaths - This short tutorial will show you how to organize your model and controller in subfolders of the controllers and models folders!
  • Rails-like Data Validation - Validate your data like in rails: http://rails.rubyonrails.com/classes/ActiveRecord/Validations/ClassMethods.html
There's more great content where these came from, so be sure to check out the rest of The Bakery for more great tips.

0 comments voice your opinion now!
cakephpframework datavalidation phpthumb controller modelpaths cakephpframework datavalidation phpthumb controller modelpaths


The Bakery:
Nine New Tutorials, Helpers and Plugins for CakePHP
May 04, 2007 @ 14:43:00

The Bakery has a whole load of Cake goodness they've posted lately - nine items to be exact. Here's the list of the latest:

Be sure and check out the rest of The Bakery for even more great content.

0 comments voice your opinion now!
thebakery cakephpframework plugin tutorial helper thebakery cakephpframework plugin tutorial helper


The Bakery:
New Tutorials - PHPTAL, Multiple Checkboxes, and counterCache
April 30, 2007 @ 16:04:22

In the CakePHP blog, The Bakery, there are three new items posted - all three tutorials on different topics:

  • The first is a tutorial that shows how to integrate PHPTAL templates into a Cake application (via a custom PhptalView class)
  • Next up is a simple one - the creation of a helper to work with multiple checkboxes in a form .
  • Lastly, there's a tutorial that shows an implementation for a counterCache object in a simple application.
Be sure to check out The Bakery for more great tutorials and articles like this.

0 comments voice your opinion now!
cakephpframework tutorial article phptal checkbox countercache cakephpframework tutorial article phptal checkbox countercache


The Bakery:
Five New Posts - Releases/Articles/Tutorials
April 23, 2007 @ 11:03:00

The Bakery has five more new helpful articles/tutorials/release announceemnts posted today:

Be sure to check out the rest of the site for even more Cake-y goodness and articles on just about any topic you can imagine.

0 comments voice your opinion now!
release article tutorial cakephpframework release article tutorial cakephpframework



Chris Hartjes' Blog:
Doing RADAR in CakePHP
April 12, 2007 @ 10:21:00

Chris Hartjes demonstrates how to get the concept of RADAR (RESTful Application, Dumb-Ass Recipient) up and working with a simple CakePHP application.

Okay, time for some code samples to boost traffic to my site. In a previous posting I talked about the idea of RADAR, or RESTful Application, Dumb-Ass Recipient. So, wanting to see if I could put it into use, I decided to do the following for a new application: Have the core of the application provide data via a REST service, For the web part of it, create controller / action pairs that call the REST service and pass the output onto the views.

There's four code examples included in the post:

  • Defining the IndexController for the app
  • Creating the results, standings and schedule methods in the controller
  • Rendering the XML for the response and for the standings and for the standings for a particular division (two code blocks).

0 comments voice your opinion now!
cakephpframework radar rest interface division standings cakephpframework radar rest interface division standings


The Bakery:
11 New Posts of CakePHP Goodness
April 10, 2007 @ 11:37:00

The Bakery site has a good, long list of new CakePHP tutorials and articles posted for these past few days. Here's a complete list:

All sorts of great goodies in there - take your pick and check out whichever interests you. Some of them are just quick, one bite helpings of Cake while others are larger, more elaborate designs.

1 comment voice your opinion now!
cakephpframework tutorial article release download helper cakephpframework tutorial article release download helper


Felix Geisendorfer's Blog:
New fix for array junkies Setmerge assembles yummy arrays
April 06, 2007 @ 09:29:00

In a new post today, Felix Geisendorfer shares a method for merging together nested arrays correctly with a little help from functionality in the CakePHP framework.

Todays post features a brand new Set function called merge that was a side product of me working on a cool new cake class. If you've done a lot of array work in the past, you've probably have come in situations where you wanted to merge to arrays into a new one. Usually that's a no-brainer in PHP by simply using the array_merge function (or the CakePHP wrapper 'am'):

In about 90%++ of all cases, this will the usual way to merge two (or more) arrays into a new one. However, sometimes array_merge is not going to cut it. That'll mostly be because it does not behave recursive and merging nested arrays can lead to unexpected results.

He even shows an example of the use of array_merge_recursive to try to get his desired results. With that still not working, he turns to CakePHP to help him out. He comes up with the Set::merge method to handle the merging of the arrays in what he thinks is a "more correct" way.

0 comments voice your opinion now!
merge array arraymerge arraymergerecursive cakephpframework merge array arraymerge arraymergerecursive cakephpframework


SitePoint:
Build a Photo Gallery Using CakePHP and Flickr
April 05, 2007 @ 08:28:00

A new tutorial has been posted on the SitePoint site today - Jonathan Snook's look at combining CakePHP and Flicker to build a photo gallery.

Want to share your Flickr photostream with the world, but only once you've given it a nice, customized touch? Look no further than CakePHP -- and a few lines of code -- to pull off some magic! In this article, we'll use the Flickr API and CakePHP to take the images we've loaded onto Flickr and use them to build our own, non-Flickr web gallery.

He steps the reader through the tools needed (including the Flickr Component for CakePHP) and how to get things set up and working together. With just a few simple calls to the Flickr API, the script grabs a photoset, gets the information about them and, finally, grabs a list of them to use in the photo gallery layout. He even throws in a sample usage of the popular Lightbox Javascript helper to show off the photos.

0 comments voice your opinion now!
tutorial cakephpframework flickr photo gallery lightbox tutorial cakephpframework flickr photo gallery lightbox



Community Events





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


api release introduction framework update interview zendserver bugfix deployment library series install package language symfony tips laravel opinion community podcast

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