Listing seven articles tagged with 'Web Development'…
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...
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...
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...
Setting Up Domains for Local Projects on Windows Apache
Posted on 27/5/07 by Paul Herron
Using the Apache VirtualHost directive and Windows' hosts file to establish domain names for local projects.
In Apache, the easiest way to set up a project is to declare its directory path as the DocumentRoot in httpd.conf: [code]# DocumentRoot: The directory out of which you will serve your#...
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...
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...
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
- Edinburgh's Dark Side.
-
graphpaper.
Art Science Business -
Mi Blog.
CakePHP-related articles, downloads and demonstrations - indexed.
