blog do @gpupo
Por Gilmar Pupo
Para ouvir um podcast de áudio, passe o mouse sobre o título e clique em Reproduzir. Abra o iTunes para baixar e assinar podcasts.
Descrição do podcast
Comércio eletrônico, engenharia de software, análise de sistemas e Servidores Linux.Desenvolvimento Symfony/Yahoo YUI. Webhosting e mais coisas mas daí é falar demais. :)
| Nome | Descrição | Lançado | Preço | ||
|---|---|---|---|---|---|
|
1 |
Podcast: Symfony 2 e os Namespaces PHP 5.3 | Symfony 2 e os Namespaces PHP 5.3.m4a Listen on Posterous Mais um papo com meu amigo @rgou sobre a PSR-0 , bundles e outras novidades Symfony 2 nesta série de podcasts em modelo Bazar. Seu você usa o iTunes, assine o podcast na iTunes Store! PSR-0 Final Proposal The following describes the mandatory requirements that must be adhered to for autoloader interoperability. Mandatory: A fully-qualified namespace and class must have the following structure \\(\)* Each namespace must have a top-level namespace ("Vendor Name"). Each namespace can have as many sub-namespaces as it wishes. Each namespace separator is converted to a DIRECTORY_SEPARATOR when loading from the file system. Each "_" character in the CLASS NAME is converted to a DIRECTORY_SEPARATOR. The "_" character has no special meaning in the namespace. The fully-qualified namespace and class is suffixed with ".php" when loading from the file system. Alphabetic characters in vendor names, namespaces, and class names may be of any combination of lower case and upper case. Examples: \Doctrine\Common\IsolatedClassLoader => /path/to/project/lib/vendor/Doctrine/Common/IsolatedClassLoader.php \Symfony\Core\Request => /path/to/project/lib/vendor/Symfony/Core/Request.php \Zend\Acl => /path/to/project/lib/vendor/Zend/Acl.php \Zend\Mail\Message => /path/to/project/lib/vendor/Zend/Mail/Message.php Underscores in namespaces and class names: \namespace\package\Class_Name => /path/to/project/lib/vendor/namespace/package/Class/Name.php \namespace\package_name\Class_Name => /path/to/project/lib/vendor/namespace/package_name/Class/Name.php The standards we set here should be the lowest common denominator for painless autoloader interoperability. You can test that you are following these standards by utilizing this sample SplClassLoader implementation which is able to load PHP 5.3 classes. Example Implementation Below is an example function to simply demonstrate how the above proposed standards are autoloaded. register(); * * @author Jonathan H. Wage <jonwage@gmail. | 5/8/11 | Grátis | Ver no iTunes |
| Total: 1 episódio |

