Help
Have YOUR CakePHP and Eat It Too! PDF Print E-mail
Wednesday, 18 June 2008 05:18

Looking for a PHP Framework?  I figured you were! Who isn't? In this day and age who creates their own from scratch?  Through the years there have been thousands of attempts by OpenSource projects to created user friendly and feature rich PHP frameworks; but none seem to come close to being as easy and versatile as CakePHP!

Now I know what most of you die-hard Zend-PHP guys are saying... ZEND FRAMEWORK you MORON!  Well, true the ZendFramework, has a lot of features, it's power, and very versatile.  However, there is a much larger learning curve.  With most of the PHP world comprised of novice, and ametuer web developers, the ZendFramework poses a large barrier; how to capture the non-expert market.  There-go, CakePHP ...  :-)

CakePHP not only lends itself easily to novice users but is POWERFUL, and has a wide range of communities centered around growing the framework.  CakePHP boasts it no configuration set-up, and who wouldn't! I installed CakePHP last night for project of mine, and was amazed at the simple setup.  The setup took me about 3 minutes on Ubuntu 8.4 using Apache and local MySQL, and required almost no setting changes.

 Need AJAX?  Well CakePHP also has extensive integration with jQuery just about the best AJAX/Javascript library out there!  There are so many things baked into this delicious framework it's hard to comprehend a reason to use anything else!

 
And History Was Made! PDF Print E-mail
Friday, 06 June 2008 09:49

 

Amazon Down, Gas and Unemployment at all time high, what a day in history!

There it is ladies and gent's, history in the making. Not only is Amazon down for a "undefined period of time", but the largest online e-commerce store isn't alone in it's record. Today gas prices hit another all time high, which was great timing because today America has hit it's worse unemployment rate since 1986.

I will be willing to bet that this day won't make the grand kids history books, but it will hit 90% of the blogs across the internet within 24 hours :-)

 

 

Last Updated ( Friday, 06 June 2008 09:56 )
 
AJAX Made Easy with jQuery PDF Print E-mail
Saturday, 19 January 2008 19:26
As AJAX continues to take over the Web world and dominate in the Web 2.0 revolution, there are so many AJAX libraries that come to mind. Fortunately for us jQuery comes to our rescue providing a small footprint with an enormous set of features & plugins, but also is about the easiest library out there to use.

jQuery makes life so much easier. Look at the following example to see a perfect example:

    function SendDataSomeWhereUsingAJAX(stringOfData)     
{
$.ajax({
type: "POST",
url: "some.php",
data: "VariableIWantToSend=stringOfData",
success: function(msg) {
alert( "Data Saved: " + msg );
}
});
}

This is a basic AJAX POST in jQuery. Lets analyze what's really going on here!

1 - We have a function called "SendDataSomeWhereUsingAJAX" which can be called from just about anything!

2 - $.ajax() is the jQuery Method for starting an AJAX call (Either POST or GET).

3 - Inside the $.ajax() method we have an array of method parameters being passed in (example only shows SOME of the possible arguments!).

4 - type: This is where you will set POST or GET.

5 - url: the URL of the script this data is being sent too.

6 - data: a string which is in variable=value form. This string contains all of the data being sent which will be parsed into a POST or GET.

7 - success: this parameter defines what should happen if the request succeeds. Also notice in the success parameter function we have an argument "msg" which is the data that the AJAX script returned with. You can make this variable what ever you. MSG was used for demonstration purposes only.

 

This is as easy as it gets with AJAX :-)

Last Updated ( Sunday, 27 January 2008 15:45 )
 
Holmes-Media New Home PDF Print E-mail
Thursday, 12 October 2006 04:00

Holmes-Media is currently in the middle of a move. Please check back in a couple days.

Thanks for your patience!

Last Updated ( Wednesday, 10 October 2007 16:16 )