Wordpress Plugin: Fetch Feed Version 1.4
Published on Friday, June 12th, 2009 2 Comments‘Fetch Feed’ is a RSS retrieval and caching plugin for WordPress. You can use it to parse any RSS feed for displaying on your site. I created it while developing this new theme and thought other users would find it useful. I used it for the Delicious Bookmarks list on the sidebar and for the Favorite Albums from Last.FM on the footer. The beauty of this plugin is that you are not limited to how you display your feed. All you need to know is a basic understanding of PHP foreachloops and array/object structure.
Wordpress Plugin: Fetch Feed Version 1.1
Published on Tuesday, June 9th, 2009 6 Comments‘Fetch Feed’ is a RSS retrieval and caching plugin for WordPress. You can use it to parse any RSS feed for displaying on your site. I created it while developing this new theme and thought other users would find it useful. I used it for the Delicious Bookmarks list on the sidebar and for the Favorite Albums from Last.FM on the footer. The beauty of this plugin is that you are not limited to how you display your feed. All you need to know is a basic understanding of PHP foreachloops and array/object structure.
Models. What are they? How do I use them?
Published on Tuesday, April 21st, 2009 1 CommentModels are the representation of your data structures, also known as your database. They are the connection between your database and your controllers in a Model-View-Controller development pattern (or MVC). When planned well, they can dramatically decrease the amount of code required in your application, specifically for database queries.
Code Snippet: Validate a Credit Card Number
Published on Saturday, March 28th, 2009 No CommentsThis code snippet is a regular expression which checks or validates a credit card number.
The Expression: ^([0-9]{4})[\-|\s]*([0-9]{4})[\-|\s]*([0-9]{4})[\-|\s]*([0-9]{2,4})$
Code Snippet: Validate a Phone Number
Published on 2 CommentsThis code snippet is a regular expression which checks or validates a phone number.
The Expression: ^[\+]?([0-9]?)[\(|\s|\-|\.]?([0-9]{3})[\)|\s|\-|\.]*([0-9]{3})[\s|\-|\.]*([0-9]{4})$