http

Recursos de programación de http
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
Javier Olmo @failurez nos habla sobre estrategia digital y comunicación en el Weekend Emprende. Javier aplica sus conocimientos en http://entiak.com Suscríbete a las novedades en twitter: http://bit.ly/1fc96DF Y también por facebook: http://on.fb.me/1kVU8Uq Y no olvides suscribirte a nuestro canal aquí en Youtube: http://bit.ly/1dLbCyV
Web
31-03-2014
After sleeping on it I've found better names for the examples I've recently posted about (see preious post).The obstacle was seeing it as an action on a form. Thinking instead on information that needs to be introduced and sent made the names flow much better.This is the resulting class: and these are its tests:Finally, this is how it's used now: I'm much happier with the naming now.The tests are still fragile, but by using helpers in the tests the amount of places where the mocks are used gets...
Web
31-03-2014
I've reworked the class and the tests I showed in my previous post.This is the refactored class:The responsibility to compose an email from the form fields was delegated to the FormEmailComposer collaborator whereas the responsibility of sending the email was delegated to the EmailSender collaborator.The Redirection collaborator is still in charge of the redirecting responsibility.Now the Form and the Email class are just value objects.These are the new tests:And this is how I'm using the Sendin...
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...
Web
29-03-2014
I've just watched this interesting talk by Chandler Carruth about the amazing LLVM clang tools for C++: The Care and Feeding of C++'s Dragons - por Garajeando
Ya está aquí la segunda entrega de las 11 cosas que necesitas saber sobre DevOps, por Gene Kim. En esta ocasión, se comenta sobre la relación con las metodologías ágiles, y sus efectos en los ciclos de desarrollo de aplicaciones. En este apartado, explica cómo la aplicación de las metodologías ágiles ayudan a la aparición de gran parte del movimiento DevOps, explicando cómo se relacionan y qué aportan al negocio. Como ya se indicó la semana pasada, creemos que es una buena excusa para iniciar un debate en Twitter con el hashtag #11cosasdevops.