Wordpress Plugin: Fetch Feed Version 1.4

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.

Read More

Wordpress Plugin: Fetch Feed Version 1.1

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.

Read More

Models. What are they? How do I use them?

1 Comment

Models 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.

Read More

Code Snippet: Validate a Credit Card Number

No Comments

This 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})$

Read More

Code Snippet: Validate a Phone Number

2 Comments

This 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})$

Read More