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

Suresh Ariya:
Integrate Zend Framework into CakePHP application
February 13, 2014 @ 13:04:22

Suresh Ariya has a new post today showing you how to integrate Zend Framework (v1) with CakePHP so you can use any Zend Framework class/component you might need via autoloading.

Today, we are going to see how we can integrate Zend Framework version (1.12) into CakePHP Application. In order to achieve this, i created an autoloader script which will load the Zend Framework class at the time of accessing the class (creating object). I used spl_autoload_register() function which will register a function as the __autoload() function.

He creates a basic "ZFLoader" class that handles the registration of the autoloader and the parsing of the class name to resolve the path to the file. Another basic loader script is included in the post with some setup and configuration the Zend Framework will need to operate. Finally, he shows how to get the CakePHP application to pull in the Zend Framework loader in the controller and make use of the Zend_Feed component.

0 comments voice your opinion now!
integration zendframework cakephp application tutorial

Link: http://sureshdotariya.blogspot.in/2014/02/integrate-zend-framework-into-cakephp.html

Lingohub.com:
Internationalization How To for the 5 most popular PHP frameworks
July 24, 2013 @ 10:15:31

On the Lingohub site there's a new post showing how internationalization (i18n) is handled in 5 major PHP frameworks - CodeIgniter, CakePHP, Zend Framework Symfony and Yii.

As discussed in the previous articles on PHP internationalization, PHP provides native support for string translation using gettext and PHP arrays. These can be used in any PHP project. Additionally, some popular PHP frameworks offer their own way of string translation. In this article, I want to provide a brief summary of the internationalization process with five of the most popular PHP frameworks currently out there. In this How-To you will read about using CodeIgniter, CakePHP, Zend, Yii and Symphony.

There's only a bit of sample code here, so it's not a complete tutorial for all of them. Mostly its links to more information about how each framework does things - modules used, formats and configurations.

0 comments voice your opinion now!
framework i18n internationalization howto codeigniter zendframework symfony cakephp

Link: http://blog.lingohub.com/2013/07/internationalization-how-to-5-most-popular-php-frameworks

PHP Town Hall Podcast:
Episode 4 PHP's Vision, Beards, and Cake
February 18, 2013 @ 14:20:25

The PHP Town Hall podcast has posted their fourth episode, "PHP's Vision, Beards, and Cake", with hosts Phil Sturgeon and Ben Edmunds.

We made it to episode 4, past the point of no return! In this episode we are joined by Zack Kitzmiller (owner of an awesome beard) and Jose Diaz-Gonzalez (CakePHP developer extraordinaire) as we argue about PHP's vision and how we think the language should progress in the future.

You can listen to this latest post a few ways - either using the in-page player, by downloading the mp3 or by subscribing to their feed.

0 comments voice your opinion now!
ep4 phptownhall podcast vision language cakephp beard


EngineYard.com:
Cloud Out Loud - Future of PHP (ZF2 & CakePHP)
December 28, 2012 @ 09:26:23

Engine Yard has recently posted two podcasts looking at the "Future of PHP" as it relates to two of the popular PHP frameworks out there - CakePHP and Zend Framework 2, as interviewed by Davey Shafik.

The first episode is an interview with some of the core ZF2 contributors about the framework and where they think it's headed. They cover the planned roadmap, targets for next year involving PHP 5.4 and 5.5 as well as how it compares to other frameworks out there today.

In the second episode Davey talks with some of the core contributors (and big fans) of the CakePHP framework. They talk about the current state of the framework, changes in the upcoming version and what it's like working with the PHP-FIG (framework interoperability group).

You can listen to each of these via their in-page players or drop their RSS feed into your reader and get these and the latest episodes of the "Cloud Out Loud" podcast as soon as they're released.

0 comments voice your opinion now!
podcast cloudoutloud future framework zendframework2 cakephp


Zumba Engineering Blog:
Some CakePHP optimizations
November 07, 2012 @ 09:31:20

For those out there using the CakePHP framework to create your applications, you might be interested in these quick tips from Juan Basso on the Zumba Engineering Blog for both the architecture and actual code to optimize the performance of the app.

Our site and system has a lot of throughput and it make us use more instances and try to reduce the load in every part. It makes the company happy (save money) and also make the customer happy (faster load). On this article I will go over few things in terms of architecture and some code changes/strategies that could make your application faster as well.

Some of the recommendations include:

  • Installing the APC/opcode caching to help save execution time
  • Avoiding as many network requests as possible
  • Use local file/data caching
  • Using the "requestAction" inside controllers with its built-in caching
0 comments voice your opinion now!
cakephp optimize caching apc opcode file resource


Wan Qi Chen:
Background jobs with php and resque (Series, Parts 4, 5 & 6)
October 17, 2012 @ 09:05:55

Wan Qi Chen has returned with the next three parts in his "Background jobs with PHP and resque" series (first parts here) with parts four, five and six helping you implement the concepts from the first three parts.

That sixth part of the series uses the CakeRisque plugin to make the integration simpler. Save that, you could integrate this setup pretty easily into whatever framework you choose.

0 comments voice your opinion now!
resque tutorial series implementation parts worker cakephp


PHPMaster.com:
Speeding Up Your CakePHP Websites
October 09, 2012 @ 10:08:19

PHPMaster.com has a new tutorial posted sharing a few helpful hints about speeding up CakePHP-driven sites to help squeeze the most performance out of your site.

By applying a few simple modifications, and even some more complex enhancements, CakePHP can be sped up quite a bit. By the time you work your way through even half of these changes, the performance of your your CakePHP site will be comparable to many other popular PHP frameworks, with the advantage that your development speed will never falter!

There's several tips in their list - some a bit more difficult to accomplish than others, but worth the results:

  • Upgrade CakePHP Versions
  • Disable Debug Mode
  • Disable Recursive Find Statements
  • Cache Query Results
  • Install Memory Based Caching
  • Removing Apache and Installing Nginx
  • Configure Nginx to use Memcached
  • Remove MySQL and Install Percona

For more information on the CakePHP framework, see the project's main site.

0 comments voice your opinion now!
cakephp website optimize performance tuning tips


Cory Fowler:
How to use CakePHP on Windows Azure Web Sites
August 03, 2012 @ 10:06:12

In this new tutorial posted to his site Cory Fowler shows you how to set up and deploy a CakePHP-based website to a Microsoft Azure instance.

One day Last week, I set out to get a simple CakePHP site up and running on Windows Azure Web Sites. [...] CakePHP is a framework, which means ideally, there should not be anything specific to get it working on any platform.

He includes a complete guide to getting the framework, a sample "web.config" configuration file (for the Azure instance) and links to some other guides to help you get started using Azure (like deployment with git).

0 comments voice your opinion now!
microsoft azure cakephp framework install configure


The Bakery:
3.0 a peek into CakePHP's future
July 06, 2012 @ 09:26:12

The Bakery (the CakePHP site) has posted a list of things to come in the 3.0 release of the popular PHP framework.

Since its creation, more than 7 years ago, CakePHP has grown with a life of its own. Its main goal has always been to empower developers with tools that are both easy to learn and use, leverage great libraries requiring low documentation and low dependencies too. We've had several big releases along these years and an ever growing community. Being one of the most popular frameworks out there and probably the first one (!) we have also gotten a lot of criticism from the developer community in general. We have, though, accepted it and learnt from our mistakes to keep building the best PHP framework there is.

Some of the coming improvements include:

  • Drop support for 5.2.x and support 5.4+ only
  • Use traits were possible and makes sense
  • Model layer rewrite
  • Improve Router
  • Improve bootstrapping process to allow more developer control and better performance

You can find more about the current features of the framework on it's main project site.

0 comments voice your opinion now!
cakephp framework future roadmap plan


The Bakery:
CakeFest 2012 Announced!
May 10, 2012 @ 11:37:20

On The Bakery they've officially announced CakeFest 2012, happening in Manchester, UK from August 30th through September 2nd (some days are conference sessions, others are training).

CakeFest is the annual CakePHP Conference. It brings together developers, users, and interested parties from all over the world for a four day event filled with workshops, talks, dinners, social events and plenty of fun! If you are interested in giving a talk at CakeFest, we still have submissions open! Just head over to the CakeFest, sign up and submit your talk proposal via your account page! We're open to anyone for submissions, and we'd love to hear your ideas!

You can also purchase tickets to this year's event (with a discount for students) ranging from $420 USD for just the conference out to $950 for the conference + tutorial days. They'll have talks from core CakePHP developers, time for lightening talks and a panel discussion where you can ask your own questions of the Core development team. You can get complete details about this event on the conference website.

0 comments voice your opinion now!
cakefest12 manchester uk august september conference cakephp



Community Events











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


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

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