Leanpub Header

Skip to main content

Laravel: Code Happy (ES)

Desarrollo de aplicaciones con el Framework de PHP Laravel para principiantes.

This book is a translation into Spanish of Laravel: Code Happy which was originally written in English

The authors are letting you choose the price you pay for this book!

Pick Your Price...
PDF
EPUB
WEB
304
Readers
About

About

About the Book

El libro es una guía sobre Laravel pensada para principiantes con el framework que ya tengan algo de experiencia con PHP. Está estructurada en forma de guías sobre características del núcleo y tutoriales independientes. Fue escrito por uno de los principales desarrolladores del framework de Laravel y tiene el apoyo del autor del framework.

Esta versión es sobre Laravel 3.

Code Bright, sobre Laravel 4, ¡ya está disponible en castellano!

Share this book

Categories

This book is a translation into Spanish of Laravel: Code Happy which was originally written in English

Price

Pick Your Price...

Minimum price

$9.99

$19.99

You pay

$19.99

Authors earn

$15.99
$

All prices are in US $. You can pay in US $ or in your local currency when you check out.

EU customers: prices exclude VAT, which is added during checkout.

...Or Buy With Credits!

Number of credits (Minimum 1)

1
The author will earn $12.00 from your purchase!
You can get credits monthly with a Reader Membership

Author

About the Authors

Dayle Rees

Dayle is a thirty-one-year-old software developer from Wales, UK. He was one of the first users of the Laravel framework. Deciding to share the joy of Laravel with the rest of the world, he wrote a series of technical books about the Laravel framework that are read by tens of thousands of developers worldwide.

Dayle has contributed to the Laravel framework, spoken at a number of conferences and meetups, and acted as an ambassador for Laravel since its inception.

Dayle writes books in a friendly, approachable language that is easily understood by newcomers to technology, foreign language speakers, and anyone who enjoys a little humour!

Antonio Laguna

Antonio es un programador web especializado en el FrontEnd. Le encanta descubrir e investigar y, por supuesto, enseñar y poner el conocimiento al alcance de más gente. Es por ello que ha traducido varios libros al castellano: para que el idioma no sea una barrera.

Contents

Table of Contents

  • Reconocimiento
    • Reconocimientos del traductor
  • Erratas
  • Feedback
  • Introducción
  • 1. Comenzando
    • 1.1 Método 1 Crea un nuevo host virtual
    • 1.2 Método 2 Enlace simbólico a la carpeta pública
    • 1.3 Centrándonos de nuevo
  • 2. Estructura de proyectos
    • 2.1 Estructura del directorio raьz
    • 2.2 Estructura del directorio Application
  • 3. Usando controladores
    • 3.1 Enrutando controladores
    • 3.2 Pasando parámetros
    • 3.3 Usando vistas
    • 3.4 Controladores RESTful
    • 3.5 El controlador base, Base_Controller
    • 3.6 Enrutamiento avanzado
  • 4. Rutas con closures
    • 4.1 Closures
    • 4.2 Redirecciones y rutas con nombre
    • 4.3 Filtros
    • 4.4 Grupos de rutas
  • 5. Enlaces y URLs
    • 5.1 Obteniendo URLs
    • 5.2 Generando enlaces
  • 6. Formularios
    • 6.1 Creando formularios
    • 6.2 Aыadiendo etiquetas
    • 6.3 Generando campos
    • 6.4 Generando botones
    • 6.5 Campos secretos
    • 6.6 Token CSRF
    • 6.7 Macros de formulario
  • 7. Gestionando la entrada de datos
    • 7.1 Datos de peticiones
    • 7.2 Archivos
    • 7.3 Datos flash
  • 8. Validación
    • 8.1 Estableciendo una validación
    • 8.2 Errores
    • 8.3 Reglas de validación
    • 8.4 Mensajes de error personalizados
    • 8.5 Reglas de validación personalizadas
    • 8.6 Clases de validación
  • 9. Migraciones
    • 9.1 Configuración de la base de datos
    • 9.2 Migraciones
  • 10. Fluent Query Builder
    • 10.1 Obteniendo resultados
    • 10.2 Clausulas WHERE
    • 10.3 Joins de tablas
    • 10.4 Ordenación
    • 10.5 Limitando… no, cogiendo
    • 10.6 Saltándonos resultados
    • 10.7 Agregados
    • 10.8 Expresiones
    • 10.9 ++ (o decremento)
    • 10.10 Insertar
    • 10.11 Actualizar
    • 10.12 Borrar
  • 11. ORM Eloquent
    • 11.1 Creando y usando modelos de Eloquent
    • 11.2 Relaciones
    • 11.3 Insertando modelos relacionados
    • 11.4 Tablas pivote
    • 11.5 Carga anticipada
    • 11.6 Setters y Getters
  • 12. Eventos
    • 12.1 Activa un evento
    • 12.2 Escucha un Evento
    • 12.3 Eventos con parámetros
    • 12.4 Eventos de Laravel
    • 12.5 Ejemplo de uso
  • 13. Plantillas Blade
    • 13.1 Lo básico
    • 13.2 Lógica
    • 13.3 Distribuciones de Blade
  • 14. Autentificación
    • 14.1 Configuración
    • 14.2 Configurando el formulario
    • 14.3 Gestionando el inicio de sesión
    • 14.4 Protegiendo rutas
    • 14.5 Personalización
  • 15. El tutorial del Blog
    • 15.1 El diseño
    • 15.2 Configuración básica
    • 15.3 Modelos Eloquent
    • 15.4 Rutas
    • 15.5 Vistas
    • 15.6 A programar
    • 15.7 El futuro
  • 16. Pruebas unitarias
    • 16.1 Instalación
    • 16.2 Creando una prueba
    • 16.3 Ejecutando pruebas
    • 16.4 Probando el núcleo
  • 17. Caché
    • 17.1 Configuración
    • 17.2 Estableciendo valores
    • 17.3 Obteniendo valores
    • 17.4 Una forma mejor
  • 18. Autocarga de clases
    • 18.1 Asociación
    • 18.2 Carga de directorios
    • 18.3 Asociación por espacio de nombre
    • 18.4 Asociando guiones bajos
  • 19. Configuración
    • 19.1 Creando nuevos archivos de configuración
    • 19.2 Leyendo configuración
    • 19.3 Estableciendo la configuración
  • 20. El contenedor IoC
    • 20.1 Registrando objetos
    • 20.2 Resolviendo objetos
    • 20.3 Singletons
  • 21. Encriptación
    • 21.1 Encriptación en un sentido
    • 21.2 Encriptación en ambos sentidos
  • 22. Contenido AJAX
    • 22.1 Plantilla de la página
    • 22.2 El JavaScript
    • 22.3 Envío de datos
    • 22.4 Respuestas JSON
    • 22.5 Detectando una petición AJAX
  • 23. Depurando Aplicaciones
    • 23.1 Gestor de errores
    • 23.2 Configuración de errores
    • 23.3 Registro

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