Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Felix Geisendorfer's Blog:
Two Tutorials - Title to Slug & Dependencies with If
Oct 23, 2006 @ 13:17:58

Over on the ThinkingPHP blog today, there's two new tutorials from Felix Geisendorfer - one dealing with the conversion of WordPress titles into the "slugs" the system uses, and the other the first article he shows a method how, inside the structure of CakePHP, to make a component to grab the slug out of the URL and parse it down to the different parts of the title.

In the second, Felix demonstrates how, with some simple if logic, you can simulate dependencies. His examples include a simple if to check for the return of "true" from various functions and an inline example of an svn export and FTP.

tagged: tutorial title slug dependencies convert tutorial title slug dependencies convert

Link: