I was searching for a simple script which would allow me to download videos from youtube using php. I did find some implementation but only one of them worked and it used Pear. So here is a simple script to help you download videos from youtube. Allows you to download restricted videos too by logging into youtube.
The script is a simple youtube class which uses CURL.
Sample usage of the youtube class –
include(‘curl.php’);
include(‘youtube.php’);
$tube = new youtube();
// Only required for restricted videos
// $tube->username = “userid”;
// $tube->password = “password”;
$download_link = $tube->get($_POST['url']);
New Version with much much more : FreeDown Downloader
Downloads: 13,524 File Size: 9.7 KiB
PQuery is a set of helper classes for JQuery JavaScript library.This library allows you to easily integrate AJAX , Effects and other JQuery functionality into your PHP scripts.IT has a small foot print and is compatible with PHP4 and PHP5.
Downloads: 3,257 File Size: 54.7 KiB
Downloads: 2,373 File Size: 3.4 KiB
PQuery Demos : PQuery Demos.
Documentation : PQuery Documentation .
License : MIT or GPL ( what ever you wish to use )
Since last year i have been working on lots of Web Application,During this time I have gone through many frameworks like Code Igniter , CakePHP , Symfony and RoR trying to find what will suit me best. RoR i learned and used a little but never got to using it in a release app , but i did learn a few of the cool stuff which RoR is famous for. CI i just found a little too simple but i still recommend it to beginners, Symfony was a configuration mess. So Cake PHP is what i was working on mostly , But when delivering Small applications to clients i found it a mess to deliver a 1 MB framework with a 30 kb of actual code. Actually coming from an embedded systems background i like my work to be small , fast and do max possible in minimal code.
So i found another framework released by the author of Frog CMS , It was blazingly fast , really small ( 30 kb file ) and php5 with pdo.But i wanted php4 and php5 support and i was used to CakePHP and liked the way it worked. So i started writing my own thing based on the Light framework and modified API And directory structure to be more like cake among other things. I hate to reinvent the wheel , but using truck tyres for a bicycle dosent really make sense and stripping these mammoths would have taken more time.
I have a basic framework ready and will base all my work on the new framework . For a start it has most basic features of cakePHP under < 30k zipped. Here are some of the features -
- FAST – Really fast
- SMALL – Really small
- SIMPLE – Few API to get u started fast
- Fully OO MVC Code
- Almost Zero Configuration
Before i release my framework as documentation is left and any advice any of you guys would like to give ?