Building Web Apps with the Limonade PHP Framework - Page 2

Listing Blog Posts

Although Limonade is perfectly capable of talking to a database, I'd rather manage the entries in a series of text files, and use Limonade to retrieve and parse these files. Each file is named in accordance with the current date, such as 2011-04-12.txt. The following posts route will retrieve all of the file names found in a directory named entries, sorting the file names in reverse chronological order, and create user-friendly versions of those dates:

Now click on one of the links and the entry will be displayed within the browser window!

Conclusion

The Limonade microframework makes building dynamic websites dead simple, capable of accomplishing quite a bit with a few scant lines of code. Are you doing anything interesting with Limonade? Tell us about it in the comments!