For the past week I have been working on a DataSource for the WeGame API. Everything was working fine until I added some logic to cache the results. From there I ran into a few problems, here is how I resolved it. Continue reading...
Forum v1.8
The Cupcake Forum is a CakePHP plugin based on the popular bulletin board system. Bundled with all basic features, simply drop into your application.
Blog entries for January 2010
Jan
25
25
Minimalistic approach to class getters and setters
Topics: Tutorials, PHP & MySQL // 5 comments, 740 views
Getters and Setters are the backbone of many PHP classes (or any programming language class), as they allow you to alter and retrieve class properties during runtime. Many well thought and powerful scripts and frameworks make use of Getters and Setters, but is there a thing as too much? Or are there better and easier alternatives? Continue reading...
Now jQuery Enlightenment (jQE) isn't much of a book as it is a helpful PDF. It's not as long as your typical book, but it gets the job done in explaining jQuery and its core components. The topics that are covered in jQE range from Selectors, Traversal, DOM and Manipulation, Forms, Events, Plugins, AJAX, the Core and much more. Here's my quick take and review on JQE. Continue reading...
Before I start, id like to say hats off to the jQuery team, as 1.4 is looking beautifully so far. Ive already ran into about 3 problems that were fixed with the new features in 1.4, like the parentsUntil() function. However, the post today will be about the new element creation system using the core jQuery method, $(). In 1.4 you can now create an element by passing the tag name as the first parameter, and an object of attributes as the second. Continue reading...
Jan
19
19
Restricting an input field to numeric only
Topics: Tutorials, Javascript // 5 comments, 777 views
I was always amazed that a feature like this wasn't available in HTML 4 (but is in HTML 5). It would be really cool to restrict an input field to only accept numeric characters (or alphabetic), without the need for Javascript. But I digress as I had to use Javascript anyways. Continue reading...
Jan
16
16
Retrieving tables within your Cake database
Topics: Tutorials, CakePHP // 2 comments, 653 views
I have been working lately on adding an installation process to my forum plugin. For this process I needed a way to retrieve a list of tables within a selected database, to make sure there are no table name conflicts. You simply use the ConnectionManager class. Continue reading...
As I mentioned in my previous posts, I took the jump and moved over to GitHub. I moved over to a public repository system to make it easier on me pushing my code changes to the public (the current download system on my site isn't too intuitive). So over the past few weeks I have been slowly adding all my scripts to GitHub and pushing the code. Additionally, I have been uploading the old zipped versions of the scripts, which can be found on the respective repo's downloads page. Continue reading...
Jan
5
5
Installing GitExtensions for Windows
Topics: Tutorials, Programming // 1 comments, 1,500 views
I have been trying to get into Git for a while now, but with its lack (or terrible) support on Windows, I ignored it. I tried using TortoiseGit, but wasn't too fond of still trying to get SHH or Putty integrated nicely. I want something that does it all for me, without me having to configure or do anything (or maybe I just completely did it wrong, or was using an old build). Along came GitExtensions in all its glory. Heres how to install it for Windows. Continue reading...
Popular Entries
Topics
- CakePHP (42)
- Entertainment (2)
- Gaming (4)
- HTML & CSS (1)
- Javascript (6)
- jQuery (6)
- Other (8)
- Personal (12)
- PHP & MySQL (18)
- Plugins (3)
- Programming (8)
- Resources (13)
- Reviews (1)
- Scripts (14)
- Tutorials (41)