php

Recursos de programación de php
Greach 2014, The Groovy Spanish Conf 28/March, Madrid, Spain http://greach.es Follow us on twitter http://twitter.com/greach_es Slides in http://greach.es/speakers/burt-beckwith-grails-worst-practices/ Using Grails can be hard. Shortcuts, lazy coding practices, and coding without understanding what you're doing is often a lot faster than taking extra initiative and following best practices. In this talk we'll look at approaches for getting a sloppy, unmaintainable and slow Grails application to production. We'll borrow techniques from other languages and frameworks such as PHP, for example database access from the view layer, putting business logic wherever we feel like, cryptic naming conventions and heavy use of optional typing, and more! Burt Beckwith Principal Consultant with Cantina Burt Beckwith has been a software developer for over 15 years, most of that as a JVM developer but more recently working with a wide variety of platforms and frameworks. He is a Grails core committer and plugin developer and has created over 50 Grails plugins. Burt is a frequent speaker at conferences and user groups where he shares his passion for Grails and other Groovy-based technologies, in particular those that are related to persistence, security, and performance. He is the author of "Programming Grails" and blogs at http://burtbeckwith.com/blog/
Web
01-04-2014
http , php , .net
I've just watched this interesting talk by Chris Hartjes: Testing Online Crazy Glue: Strategies for building testable PHP applications - por Garajeando
Web
29-03-2014
http , php
Two weeks ago I started learning PHP for my new job at Runroom.It's my first job as a web developer so I'm still a bit "lost".Today I tried to write unit test for this class in order to learn how to use Phake test doubles framework:These were the resulting tests: Although I like the readability of the tests, I'm not very happy with them because I think they will be too fragile. At the same time I'm not sure how else I could test the behavior of SendingFormByEmailAndRedirecting class...To give yo...
Encuentra todos mis tutoriales y mucho más en http://www.programalotu.net Tienda oficial: http://es.qstoms.com/programalotu Segundo canal: http://www.youtube.com/programalotutv Blog de ProgramaloTu: http://programalotu.blogspot.com/ Twitter de ProgramaloTu: https://twitter.com/ #!/ProgramaloTu Grupo de Facebook: https://www.facebook.com/groups/288394547868119/
Encuentra todos mis tutoriales y mucho más en http://www.programalotu.net Tienda oficial: http://es.qstoms.com/programalotu Segundo canal: http://www.youtube.com/programalotutv Blog de ProgramaloTu: http://programalotu.blogspot.com/ Twitter de ProgramaloTu: https://twitter.com/ #!/ProgramaloTu Grupo de Facebook: https://www.facebook.com/groups/288394547868119/
El código que escribimos suele ser el factor de mayor impacto en el rendimiento de nuestra aplicación, aunque no siempre le demos la debida importancia. En ese sentido, es interesante conocer prácticas que pueden mejorar sustancialmente la velocidad de ejecución de nuestro código, desde los "truquitos simples" hasta otras estrategias un poco más complicadas basadas en cachés, optimizaciones de E/S, etc.