Leanpub Header

Skip to main content

Desarrollo fácil con Symfony (2 y 3)

Aprende a desarrollar con Symfony y otras herramientas que te apoyarán y facilitarán en gran medida tu trabajo como desarrollador web

En este libro explico como adentrarte en el mundo de Symfony de manera rápida y utilizando otras herramientas que rodean al mundo del desarrollo web y que potenciarán tus capacidades como desarrollador en un amplio porcentaje. Durante casi 5 años he estado desarrollando bajo este framework. Te enseñaré los trucos más importantes para tus proyectos.

Free With Membership

This book is a translation into Spanish of Easy development with Symfony (2 and 3) which was originally written in English

With Membership

Free!

$17.99

You pay

$17.99

Author earns

$7.19

Cause gets

$7.20
$

...Or Buy With Credits!

You can get credits with a paid monthly or annual Reader Membership, or you can buy them here.
PDF
EPUB
WEB
952
Readers
161
Pages
About

About

About the Book

Este es un libro gratuito con el objetivo de que te sirva para mejorar como desarrollador o desarrolladora. Si lo consideras intersante o si después de leerlo crees que es un buen libro y debes pagar por él, que sepas que el 50% de tu agradecimiento monetario estará destinado a una buena causa.

Share this book

Categories

Installments completed

18 / 18

This book is a translation into Spanish of Easy development with Symfony (2 and 3) which was originally written in English

Author

About the Author

Jon Torrado

DevOps at @LIN3S · I love learning and teaching, sometimes I write · @GamersWalk_ CTO · @phpeus member

Translations

Translations

Languages

Contents

Table of Contents

Introducción

  1. Por qué escribo este libro
  2. Qué vas a aprender
  3. A quién está dirigido
  4. Cómo se divide el libro
  5. Nota del autor

Capítulo 1: instalación y configuración

  1. El instalador de Symfony
  2. Composer
  3. Base de datos MySQL
  4. Los permisos de escritura
  5. El servidor web
  6. Entorno de desarrollo
  7. Truco 1
  8. Resumen

Capítulo 2: los bundles de terceros

  1. Buscando nuestro bundle
  2. Instalando un nuevo bundle
  3. Truco 2
  4. Resumen

Capítulo 3: Admin Bundle

  1. Instalando el Admin Bundle
  2. Creando nuestra Admin Class
  3. Truco 3
  4. Otras posibilidades
  5. Resumen

Capítulo 4: User Bundle

  1. Instalando User Bundle
  2. Creando la estructura de usuarios
  3. Creando nuestro usuario admin
  4. Truco 4
  5. Resumen

Capítulo 5: MopaBootstrap

  1. Instalando MopaBootstrapBundle
  2. Preparando la plantilla base
  3. Truco 5
  4. Resumen

Capítulo 6: Gulp (1)

  1. Instalación
  2. Creando nuestro primer SCSS
  3. Minificando nuestro CSS
  4. Autoprefixer
  5. Gulp watch
  6. Tarea por defecto
  7. Truco 6
  8. Resumen

Capítulo 7: Assetic con JavaScript

  1. Instalación
  2. Configuración
  3. Minificando nuestro JavaScript
  4. Recomendaciones
  5. Truco 7
  6. Resumen

Capítulo 8: ejemplo completo

  1. El flujo de la aplicación
  2. Creando la ruta
  3. Creando el método action
  4. Nuestra propia home
  5. El carrusel de imágenes
  6. Los claims
  7. Formulario de contacto
  8. Enviando un email
  9. Truco 8
  10. Resumen

Capítulo 9: Doctrine Extensions

  1. Instalación
  2. Filtro timestampable
  3. Filtro slugabble
  4. Filtro softdeleteable
  5. Otros filtros
  6. Truco 9
  7. Resumen

Capítulo 10: LiipImagineBundle

  1. Instalación
  2. Configuración
  3. Uso con Twig
  4. Uso con PHP
  5. Truco 10
  6. Resumen

Capítulo 11: otros bundles

  1. EWZRecaptchaBundle
  2. AcceleratorCacheBundle
  3. FOSRestBundle
  4. NelmioApiDocBundle
  5. DoctrineFixturesBundle
  6. DoctrineMigrationsBundle
  7. FOSJSRoutingBundle
  8. HWIOAuthBundle
  9. KnpSnappyBundle
  10. JMSTranslationBundle
  11. Truco 11
  12. Conclusión

Capítulo 12: Gulp (2)

  1. Sass Lint
  2. JSCS
  3. PHP CS
  4. PHP CBF
  5. Ejecutar comandos PHP
  6. Truco 12
  7. Conclusión

Capítulo 13: configuración adicional de Symfony

  1. ParamConverter
  2. Plantilla sin controller
  3. Redireccionamientos sin controller
  4. Dump autoload
  5. Hide logs
  6. Enviar errores 500 por email
  7. Configuración para PhpStorm
  8. Sacando las sesiones a otra carpeta
  9. Truco 13
  10. Conclusión

Capítulo 14: modificando SonataUserBundle

  1. Modificando FOSUserBundle
  2. Sobrescribiendo las plantillas
  3. Sobrescribiendo los controladores
  4. Modificando el login y el registro
  5. Modificando el registro (2) y los emails
  6. Otras modificaciones
  7. Truco 14
  8. Conclusión

Capítulo 15: despliegue

  1. Magallanes
  2. Ansible
  3. Capifony
  4. Capistrano
  5. Desplegando con capistrano-symfony
  6. Capistrano-symfony: resultado final
  7. Truco 15
  8. Conclusión

Capítulo 16: testing

  1. ¿Qué es eso del testing? ¿Me sirve eso a mí?
  2. TDD vs BDD
  3. Herramientas de testing en PHP
  4. Integración continua
  5. Truco 16
  6. Conclusión

Epílogo

  1. Bower
  2. Gassetic
  3. Gulp con JavaScript
  4. PostCSS
  5. Desarrollos hechos con Symfony
  6. DDD
  7. Si te ha gustado
  8. Agradecimientos al lector

Contributor

About the Contributors

Beñat Espiña

Web developer @lin3s • PHP, Sass & JS • Obsessed with BDD & clean code • Exploring DDD & BEM

Causes

Causes Supported

Watsi
Watsi is a global crowdfunding platform for healthcare that enables anyone to donate as little as $5 to directly fund life-changing medical care for people in need. 100% of every donation funds medical care and we are dedicated to complete transparency.
Watsi (watsi.org) is the first global crowdfunding platform for healthcare, enabling anyone to directly fund low-cost, high-impact medical care for people in need. 100% of every donation on Watsi’s platform directly funds medical care for patients, the organization does not take a cut for its operations. Since launching in August of 2012, Watsi has funded medical care for more than 700 people in 16 countries.

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub