lunes, 11 de noviembre de 2013
PHP Certification material
http://www.adayinthelifeof.nl/2010/12/03/top-5-certifications-for-every-php-programmer/
The book for php certificacion by Zend
http://www.4shared.com/get/ufVfSY1Q/PHP_Architect_Zend_PHP_5_Certi.html
.., and now in my google lib 'have read' tag is on
http://books.google.com.mx/books?id=RdCgV-UGOPQC&printsec=frontcover&source=gbs_ge_summary_r&cad=0#v=onepage&q&f=false
Excelent resources for php certification and :) free .
http://www.smartango.com/it/blog/zce-php-53-zend-certificated-engineer-exam-more-extensive-report
More and more resources online
http://www.blueshoes.org/en/developer/syntax_exam/
http://clock.co.uk/tech-blogs/passing-the-zend-53-php-certification-
http://zend-php.appspot.com/questions_list
http://www.wiziq.com/tests/php-test
http://www.php-rocks.com/advanced.php
GUZZLE senshillito (Consume WS REST)
1.- Forever and ever import libs.
use Guzzle\Http\Client;
2.-Create an instance client
$client = new Client(VeoConfiguration::getInstance()->get('crm-services', 'crm_rest_base_url'));
3.-Building Params
$request_params = array('contract' => $contract, 'status' => VeoConstants::ACCOUNT_STATUS_CANCELLED);
3.-Request call
$request = $client->post('update/subscriber', null, json_encode($request_params, JSON_UNESCAPED_UNICODE));
4.-Getting response.
return $request->send()->json();
5.-Catching :)
} catch (Guzzle\Http\Exception\ClientErrorResponseException $e) {
$response['errorCode'] = $e->getResponse()->getStatusCode();
$response['errorMessage'] = $e->getResponse()->getReasonPhrase();
}
Suscribirse a:
Entradas (Atom)