Goodbye frameworks, Hello packages

13 views
Skip to first unread message

Analyzer

unread,
Sep 2, 2013, 4:18:57 PM9/2/13
to programaci...@googlegroups.com
“Goodbye frameworks, Hello packages”

Why even bother about frameworks now a days? If all PHP-developer would adhere to the standards that evolves around composer and packagist.org you wouldn’t need to choose which framework to use and the big discussion around which framework that does the job best would soon be over. My latest project I simply chose one package that managed routing, another package for the database layer + some other packages that suited my project good. Instead of having an application built on top of a bloated framework with multitudes of dependencies and rules to adjust too I got an application consisting of small standalone components, each one with a small set of well defined dependencies. I say it again, “Goodbye frameworks, Hello packages”

You can take a look at http://getcomposer.org/doc/00-intro.md . Interesting to see that Laravel is bundled with a lot of packages (libraries) using this technique as well https://packagist.org/packages/laravel/framework


¿Qué les parece esta tendencia?..

Saludos!


Levhita

unread,
Sep 2, 2013, 4:45:24 PM9/2/13
to programaci...@googlegroups.com
Pues se usa mucho en ruby y nodejs. es muy funcional.


--
Has recibido este mensaje porque estás suscrito al grupo "Programación en PHP y MySQL" de Grupos de Google.
Para anular la suscripción a este grupo y dejar de recibir sus correos electrónicos, envía un correo electrónico a programacionphpy...@googlegroups.com.
Para publicar una entrada en este grupo, envía un correo electrónico a programaci...@googlegroups.com.
Visita este grupo en http://groups.google.com/group/programacionphpymysql.
Para obtener más opciones, visita https://groups.google.com/groups/opt_out.



--
Freedom comes in small packages, usually TCP/IP
http://levhita.net
http://twitter.com/levhita

Analyzer

unread,
Sep 2, 2013, 5:02:12 PM9/2/13
to programaci...@googlegroups.com
Pues me dice un amigo que sympfony2 trae los llamados bundles que ahorran bastante codigo, pero desconozco si esta característica es una ya implementada o estandarizada mas bien para todos los FW de PHP. 


Levhita

unread,
Sep 2, 2013, 7:44:39 PM9/2/13
to programaci...@googlegroups.com
A mi me gusta el concepto composer (en node es package manager), donde al instalar el framework de tu preferencia se bajan las dependencias (¿linux anyone?), es elegante, simple y te permite por ejemplo analizar la decisiones del creador de x framework y si por ejemplo te gustó sólo por la librería de plantillas, poder instalarla aparte sin todo el framework.

Es bonito y al menos en NodeJs yo lo sentí como la gloria.

Saludos!
Reply all
Reply to author
Forward
0 new messages