News Feed
Sections
News Archive


Community Events
php|tek 2008 PHP Conference



feed this:

The Bakery:
New Tutorials, News and Helpers Posted
0 comments :: posted Wednesday May 14, 2008 @ 14:31:52
voice your opinion now!

Several new tutorials, components, news and helpers have been posted to The Bakery, the CakePHP community site lately. Here's a sampling:

Check out The Bakery for more great CakePHP-related goodness.

tagged with: thebakery cakephp framework community tutorial news helper component


Debuggable Blog:
CakePHP 1.2 Stable! Come and help
0 comments :: posted Wednesday May 14, 2008 @ 08:48:06
voice your opinion now!

Felix Geisendorfer has posted an announcement to the Debuggable blog about the upcoming stable release of the next major version of the CakePHP framework, version 1.2.

The CakePHP team is gearing up to finally push out a stable 1.2 release! If you are following the trac timeline you can see that everybody is putting in huge amounts of work to fix bugs and get everything stable.

He suggests a few ways to get involved in helping to push this release out the door like writing test cases, showing how to replicate bugs and help out the documentation team with their efforts to keep the manual up to date.

tagged with: cakephp framework release stable version

SaniSoft Blog:
Help! vendor() is deprecated.
0 comments :: posted Monday May 12, 2008 @ 09:35:48
voice your opinion now!

On the SaniSoft blog today, Tarique Sani has a quick hack for CakePHP users needing to transition over from the deprecated vendor() call - import().

Use of vendor() function to load third party libs in CakePHP has been deprecated for some time now... It has been replaced with the more generic App::import() the usage is simple.

There's also a little trick you'll need to know for files with underscores (drop it and replace with an uppercase) and how to get it to be a bit more flexible and recognize vendor files in subdirectories or ones differently named.

tagged with: vendor cakephp framework deprecated trick underscore subdirectory

Debuggable Blog:
Running Tests from The Commandline in CakePHP
0 comments :: posted Thursday May 08, 2008 @ 10:27:41
voice your opinion now!

New on the Debuggable blog today there's this post from Tim Koschutzki about a new feature he's contributed back to the CakePHP project. It allows you to run tests on the command line without having to worry about loading up a web interface to check your code.

It allows you to run all of the following: all core testcases at once, all core test groups, each core test case individually, all application-specific testcases at once, all application-specific test groups and each core test case individually. It also supports plugins, which means you can run plugin cases and groups.

He includes some samples of how it works - a few command line calls and what the output looks like.

tagged with: test unittest commandline cakephp framework testsuite

AskAboutPHP.com:
First look at CakePHP
0 comments :: posted Wednesday May 07, 2008 @ 13:49:16
voice your opinion now!

In a recent post to the Ask About PHP blog, there's a quick "first look" at the CakePHP framework from a beginner's perspective.

Finally, I found some time to take CakePHP for a spin. I've heard some really good things about it, and I've been trying to get some time to try it out. I installed the framework and went through the tutorial on building a simple blog application. I have to say I'm quite impressed.

The post briefly introduces the Model-View-Controller method the framework follows and shows some of the features/benefits it brings with it - the low entry level, its speed, and whether or not it makes for a good "first framework" for other developers.

tagged with: cakephp framework first look beginner mvc

Debuggable Blog:
Unit Testing in CakePHP Part 1 - Introduction to Unit Testing
0 comments :: posted Wednesday May 07, 2008 @ 10:23:29
voice your opinion now!

On the Debuggable blog, Tim Koschutki has posted the first part of a series looking at unit testing the CakePHP framework. This first article introduces you to the idea of unit testing to help lay the foundation for what's to come.

So you want to read up on Unit Testing in CakePHP? That is great, testing can be such a help in finding bugs. [...] Surprisingly, many people do not know yet what unit testing is. In this first part of a whole series you can get a good grasp of what it is and is not.

He goes over the basic concepts behind the testing - setting up test cases, comparing results, automating them and how they related to code coverage. He gets into more detail with a list of the assert functions (like assertNotEqual or assertClone) and some examples using the simpletest unit testing software. He wraps it up by listing some of the benefits of unit testing, the limitations of it, TDD and what Mock objects are.

tagged with: cakephp framework unittest simpletest introduction

The Bakery:
Latest Articles, Tutorials and Components
0 comments :: posted Tuesday May 06, 2008 @ 12:55:44
voice your opinion now!

The Bakery (the CakePHP programmer's resource) has a few new articles, tutorials and components that have been posted lately. Here's the list:

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

tagged with: thebakery cakephp framework article tutorial component

Debuggable Blog:
Code Coverage Analysis soon in CakePHP - Test How Well You Test
0 comments :: posted Thursday May 01, 2008 @ 11:19:54
voice your opinion now!

In a new post to the Debuggable blog, Tim Koschutzki talks some about the work he's been doing on the code coverage analysis for the upcoming CakePHP release:

There are several different kinds of criteria to code coverage. The two most important ones are line coverage (or statement coverage as wikipedia puts it) and path coverage. [...] So how is it going to work? Pretty simple actually. Whenever you run a CakePHP test case Cake assembles information in the background about which lines of your subject-under-test are called.

He includes a few screenshots of the code coverage being run and the end result of the runner with the percent covered.

tagged with: code coverage cakephp framework test unittest

SaniSoft Blog:
Multiple validation rules per model field while baking
0 comments :: posted Tuesday April 29, 2008 @ 16:12:44
voice your opinion now!

If you're a CakePHP user and have been frustrated by how this "bake" functionality doesn't allow for more than one validation rule on a given field, check out the new post on the SaniSoft blog (from Amit Badkas):

This is not much of a problem if you have only a few models but when you start to work on several dozen models in a project it becomes very tedious to open each and every model file to make changes.

The result of his frustration has come out in the form of a patch as a part of a new ticket in the CakePHP request submission process.

tagged with: bake cakephp framework multiple validation rule patch feature

SaniSoft Blog:
The prefix automagic in CakePHP routing
0 comments :: posted Wednesday April 09, 2008 @ 13:06:18
voice your opinion now!

On the SaniSoft blog, Tarique Sani talks briefly about some of the prefix "automagic" that's already built in to the CakePHP framework's routing.

There are times when you need more than just admin routing, how about something like http://blah.com/user/profiles/edit and http://blah.com/user/profiles/changepassword ? If this could be routed to an action like user_add and user_changepassword wouldn't it be great!! (eg: think ownership ACL checks)

Good thing the CakePHP developers already planned for something like this - they included the connect() method for Router objects that maps the URL request to a method with that same prefix in the controller.

tagged with: cakephp framework prefix routing magic connect


book zend PHP5 release job zendframework package application developer database code mysql PEAR pecl cakephp releases conference security ajax framework

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