Top.Mail.Ru
? ?

cakephp

Cook up Web sites fast with CakePHP, Part 4: Session and Request Handler components

Jan. 9th, 2007 | 10:17 pm
posted by: Imagebobalien in Imagecakephp

http://www-128.ibm.com/developerworks/edu/os-dw-os-php-cake4.html

There are multiple ways of saving session data using CakePHP's Session component, and each method has its advantages. In this tutorial, you'll learn how to use the Session component by incorporating all three ways into your application, so you'll be able to pick the best one that works for you. You'll also learn how to use the Request Handler component to aid you in your handling of various HTTP requests, including requests from mobile browsers, or requests containing XML or HTML content.

This tutorial is divided into two main topics:

* The different types of session handling covered by CakePHP -- You will learn the advantages and disadvantages of each, and how to implement them.

* How to use the RequestHandler in your controllers -- We will use it for two purposes: to add an RSS feed of your products and to implement Ajax functionality.
Tags:

Link | Leave a comment | | Flag

cakephp

some more bugs in the developerWorks tutorial

Dec. 20th, 2006 | 05:26 pm
posted by: Imagebobalien in Imagecakephp

I hit another little bug in the developerWorks tutorial; there's a problem in Part 2, Section 8: Putting your ACLs to work

continued...Collapse )

Link | Leave a comment | | Flag

cakephp

Cook up Websites Fast..., Part 3

Dec. 19th, 2006 | 01:13 pm
posted by: Imagebobalien in Imagecakephp

Part 3 of IBM's developerWorks series on Cake has been published:

Cook up Web sites fast with CakePHP, Part 3: Use Sanitize for your protection
CakePHP is a stable production-ready, rapid-development aid for building Web sites in PHP. This "Cook up Web sites fast with CakePHP" series shows you how to build an online product catalog using CakePHP. Part 1 focuses on getting CakePHP up and running, and Part 2 demonstrates how to use scaffolding and Bake. In this article, you will learn how to use CakePHP's Sanitize and Security components to help secure your user-submitted data. You will also learn how to handle invalid requests.

http://www-128.ibm.com/developerworks/opensource/library/os-php-cake3/

Links to part 1 and 2 can be found below, and in Part 3
Tags:

Link | Leave a comment {4} | | Flag

cakephp

Cook Up Websites Fast... Pt. 2

Dec. 13th, 2006 | 04:58 pm
posted by: Imagebobalien in Imagecakephp

Thanks to the cakebaker, I noticed that the second part in IBM's DeveloperWorks series on CakePHP has been released, covering Scaffolding, the Bake script, and Cake's mind-bogglingly-lacking-in-documentation ACL lists:

"This tutorial shows you how to jumpstart your CakePHP application using scaffolding and Bake. You will also learn the ins and outs of using CakePHP's Access Control Lists (ACLs). You'll get a look at what scaffolding is and what it provides. Then you'll learn how to use Bake to generate the code for a scaffold, letting you tweak it as you go. Finally, you will learn about ACLs: what they are, how to create them, and how to use them in your application. This tutorial builds on the online product application Tor created in Part 1."

These articles do require registration to view, but the signup process was painless, and I haven't seen anything remotely spam-ish come as a result.

Tags:

Link | Leave a comment | | Flag

cakephp

Cook up Web sites fast with CakePHP

Nov. 28th, 2006 | 01:09 pm
posted by: Imagebobalien in Imagecakephp

Cakebaker stumbled onto the first in a series of articles about CakePHP on IBM's developerWorks site that seem look fairly promising. From IBM's site:

"CakePHP is a stable production-ready, rapid-development aid for building Web sites in PHP. This "Cook up Web sites fast with CakePHP" series shows you how to build an online product catalog using CakePHP."

This first article teaches you how to get Cake installed and running, and covers setting up a very simple user signup system. It's a great novice read, but there were even a few tidbits within that I found pretty useful as an "experienced" Cake developer.

Cook up websites fast with CakePHP (IBM developerWorks article, part 1)
Cook up websites fast with CakePHP (Cakebaker's post)
Tags:

Link | Leave a comment {5} | | Flag

Image