Custom your own category :

  • 1. Choose the categories by select the check box before category names.
  • 2. Choose the methode to combain the choosen categories between 'Slice' or 'Union' in the drop down list.
  • 3. Execute with click the 'Go' button.

Cakephp: isAjax weirdness

Ajax, Framework

Currently, I’m doing a project in CakePHP.

There’s lots to say about cake, here just a quick note, for myself or for anyone in case you are running into the same problem.

Situation: you are using the Ajax helper, which contains a method isAjax() - returns true if the request was an Ajax request.

Typically, you use this method inside a view, to conditionally render content for regular/ajax views. Example:

...
if (! $ajax->isAjax()) {
// render general page stuff
}
// render stuff for both regular- and ajax view
...

Full article: http://squio.nl/blog/2008/02/14/cakephp-isajax-weirdness/
License: Creative Commons

Add to any service

Indexed in June 2008

Related Info Web

  • Rails-like PHP Framework
  • There are two Rails-like PHP frameworks gaining momentum and amounting a zealous following, both of which have recently gone stable.Symfony and CakePHP, written in pure PHP follow the same MVC (Model, View, Constroller) architecture found on Rails.. ... Full article: http://yelotofu.com/2007/03/rails-like-php-framework/ License: Creative Commons Attribution 3.0 Unported...

  • Using pagination with CakePHP’s finderQuery SQL
  • Cakephp lets you define various kinds of associations between models. The principle is really simple, just define arrays like $hasMany in your main model, where associations with other models are defined. For most purposes this does the trick, most associations are made by convention, but you can override these as well for e.g. database (foreign-) keys. ... Full article: http://squio.nl License: Creative Commons...

  • CakePHP HTMLPurifier Component
  • I needed to use HMTLPurifier on my CakePHP application. So I just saved it under the vendors folder inside the application folder. This how the directory strucure looked like. + myApplication |-----+ config/ |-----+ controllers/ |-----+ models/ |-----+ plugins/ |-----+ tmp/ ...

  • Turning My Attention to CakePHP
  • I seem to be writing a lot of “first impressions” posts lately, and I’ve definitely been using several new tools recently.. OK, I thought, I’ll just use CakePHP, which is a Rails clone and one of the best PHP MVC frameworks offered. I know PHP, and I know Rails, so the transition should be smooth. and overall, it has been so...

  • MVC Frameworks Written in PHP
  • Frameworks for implementing the Model View Controller pattern in PHP.. .. eZ Publish .. .. Akelos Framework .. .. Cake .. ... Full article: http://www.easywms.com/easywms/?q=en/node/54 License: Creative Commons Attribution 2.5...