You Are Here: Home » Articles » Articles tagged with 'CakePHP'

Listing five articles tagged with 'CakePHP'…

Fat Links in CakePHP
Posted on 20/1/08 by Paul Herron

Using one hyperlink to point to multiple pages

Occasionally, several links are relevant to the same piece of text. The usual approach to presenting this is to apply separate anchors to individual words within that text: There are many search...

View Article »

Managing Simple Pages in CakePHP
Posted on 15/7/07 by Paul Herron

Creating pages dynamically with a PagesController and using a dynamic route to publish them at any URL.

As well as complex functionality like blogs or product listings, websites often need simple pages. An about us or our services page, for example, might consist of only text and images.CakePHP has...

View Article »

A CakePHP Component for the Servage SMS API
Posted on 4/6/07 by Paul Herron

Say it with an automated text message.

Being a Servage customer, I'm using its SMS API, which offers two main features: Check if a text message can be sent to a specified number. Send a text message to a specified number. Servage...

View Article »

Using afterFind() to create pseudofields in CakePHP
Posted on 6/5/07 by Paul Herron

CakePHP provides a useful model function, afterFind(), which can be used to manipulate results returned from any find(), findAll() or findBy<field>() query.

One useful application of this feature is in merging data from two or more database fields into one pseudofield. In the example below, afterFind() is added to a User model. A foreach statement...

View Article »

Fetch a Random Database Entry with CakePHP
Posted on 27/11/06 by Paul Herron

CakePHP's findAll() function can be used to fetch one or more random entries from a database.

To achieve this, all we need to do is order our retrieved records randomly. We can do that by inserting the rand() function in the $order field. To take only a certain number of these randomised...

View Article »

« Back to All Articles

Article Tags

Show all articles, or just those tagged as:

Apache (1)
CakePHP (5)
Domains (1)
Ethics and That (1)
Freeware (1)
Open Source (1)
Servage (1)
SMS (1)
Software (1)
WAMP (1)
Web Development (6)
Windows (2)

Feed

The articles RSS feed is available here.

Elsewhom

  • Mi Blog.
    CakePHP-related articles, downloads and demonstrations
  • Edinburgh's Dark Side.
  • Andy Budd::Blogography.
    Web usability chat that's sure to get your pulse racing
  • If Then Else.
    A weblog by Eduardo Sousa, a film and video geek from Porto, Portugal, with a knack for design and a keen interest in the affairs of mankind

See More…

Back to top.