Archive for November, 2008
November 27th, 2008
No Comments »
November 22nd, 2008
No Comments »
November 13th, 2008
3 Comments »
Thanks for great explanation Viktorai Agejevai
Server class has function:
/**
* @desc Get Product info by product_id
* @param int $product_id
* @return array
*/
public function getProduct($product_id)
{
$result = array(
"product_id"=>$product_id,
"title"=>'Product Title'
);
return $result;
}
Client get response:
product_id 2 title Product Title
I want this response to be like this:
2
How do i do that ?
November 10th, 2008
2 Comments »
$username = "username";
$password = "password";
$repository = "http://google-web-toolkit.googlecode.com/svn/trunk/";
$destination = 'your/full/path';
$checkout = "svn export --force --username $username --password $password $repository $destination";
$result = _exec($checkout);
function _exec($cmd)
{
if (substr(php_uname(), 0, 7) == "Windows") {
pclose(popen("start /B ". $cmd, "r"));
} else {
exec($cmd . " > /dev/null &");
}
}
November 8th, 2008
No Comments »
I was and I am still very happy with assembla.com. All the tools you provide are the all you ever need while managing project. But for my needs, it was too much. I just need svn hosting, so sorry moving out to svn.xp-dev.com They promised stay for free for a long time. We’ll see.
November 6th, 2008
No Comments »
“If you have to ask, you can’t afford it.”
November 2nd, 2008
No Comments »
I really liked all the quotes on wiki Rasmus Lerdorf ever told. Best of all is :
There are people who actually like programming. I don’t understand why they like programming.
