undrgrnd Cliquez ici NEWNEEEW nav-sa-clothing-shoes nav-sa-clothing-shoes Cloud Drive Photos cliquez_ici nav_EasyChoice Cliquez ici Acheter Fire Shop Kindle Paperwhite cliquez_ici Jeux Vidéo Bijoux Marsala Bijoux Montres bijoux Fantaisie
Commencez à lire Learning Devise for Rails sur votre Kindle dans moins d'une minute. Vous n'avez pas encore de Kindle ? Achetez-le ici Ou commencez à lire dès maintenant avec l'une de nos applications de lecture Kindle gratuites.

Envoyer sur votre Kindle ou un autre appareil


Essai gratuit

Découvrez gratuitement un extrait de ce titre

Envoyer sur votre Kindle ou un autre appareil

Désolé, cet article n'est pas disponible en
Image non disponible pour la
couleur :
Image non disponible

Learning Devise for Rails [Format Kindle]

Hafiz , Nia Mutiara , Giovanni Sakti

Prix conseillé : EUR 17,93 De quoi s'agit-il ?
Prix éditeur - format imprimé : EUR 29,53
Prix Kindle : EUR 12,56 TTC & envoi gratuit via réseau sans fil par Amazon Whispernet
Économisez : EUR 16,97 (57%)

App de lecture Kindle gratuite Tout le monde peut lire les livres Kindle, même sans un appareil Kindle, grâce à l'appli Kindle GRATUITE pour les smartphones, les tablettes et les ordinateurs.

Pour obtenir l'appli gratuite, saisissez votre adresse e-mail ou numéro de téléphone mobile.


Prix Amazon Neuf à partir de Occasion à partir de
Format Kindle EUR 12,56  
Broché EUR 29,53  

Les clients ayant acheté cet article ont également acheté

Cette fonction d'achat continuera à charger les articles. Pour naviguer hors de ce carrousel, veuillez utiliser votre touche de raccourci d'en-tête pour naviguer vers l'en-tête précédente ou suivante.

Descriptions du produit

Présentation de l'éditeur

In Detail

There are numerous ways of implementing user sign-ins on your Rails web applications. Of those different ways, using Devise is one of the most popular, quick and flexible way to get user sign-ins working. It is extensible and plays well with other gems such as CanCan (for user privileges) and OmniAuth (for Facebook and Twitter sign-ins).

A hands-on, all-in-one guide that gives you step-by-step instructions along with code examples to implement authentication systems in your application. This book will help you to implement various schemes of authentication systems including authorization and remote authentication, using Devise.

Helping you make your Rails applications more accessible and user-friendly; this book explains how to implement user sign-ins in Rails. It will also show you how to customize user authentication pages, such as sign-in, sign-up, forgot password, and account details, by making use of existing Devise views. In addition, you will learn about facilitating complex privilege rules using the CanCan gem. Finally, you will discover how to make sure your authentication codes work as expected by using integration tests.

You will learn all you need to know to create user email and social network sign-ins quickly, to customize user sign-in-related views, and implement complex privileges, as well as to ensure the stability of your authentication codes by testing them.


A hands-on, step-by-step guide to using Devise for authentication in Rails.

Who this book is for

If you are a web developer who is getting started with Rails and you are looking for authentication solutions, then this is the book for you. If you are a current Rails developer who is looking to extend your authentication implementation with capabilities such as authorization and remote authentication, this book will also be great for you.

Biographie de l'auteur

Hafiz Barie Lubis

Hafiz majored in Informatics Engineering at Bandung Institute of Technology, Bandung. He graduated in 2008. In his study period, he spent most of his time researching user interaction. It was a bit contradictive because he worked mainly in backend programming after he graduated. Most of his research was about ActionScript, PHP, and Javascript. About 2 years later, he came across Ruby on Rails, which sparked a lot more interest in web development. His interest was magnified after he took on the role of Chief Technology Officer in a startup (Wiradipa Nusantara) he built with his friends. Since then, most of his time was contributed to research on Ruby, Ruby on Rails, and web performance. He blogs extensively about Ruby and Ruby on Rails at http://hafizbadrie.wordpress.com. He has written a lot about best practices for using Ruby on Rails and also about web performance.

Currently, he is a Lead Developer in The Jakarta Post Digital while maintaining his startup as a CTO in Wiradipa Nusantara. In recent days, he is paying more attention to the development of web performance from the server side with Ruby, the client side with JavaScript, and any other related strategy. He is a member of id-ruby (http://id-ruby.org), an Indonesian community that talks about Ruby and is also a member of Card to Post (http://www.cardtopost.com), an Indonesian community that mainly talks about postcards.

Nia Mutiara

Nia Mutiara is a software engineer working on a virtual stock gaming iOS application, as well as its server-side web application. For two years, she worked on complex Ruby on Rails and iOS applications. She is a master of JavaScript and CSS, and has used those skills to enhance most web applications that she has worked on. In her spare time, she hangs around Twitter, writes Ruby tutorials in Indonesian, and watches comedy.

Giovanni Sakti

Giovanni Sakti has been a developer for 10 years with an emphasis on developing web applications in Java and Ruby. His latest projects and areas of research are currently focused on API-based web applications with AngularJS as the client-side framework.

He is an active member of the Indonesian Ruby (id-ruby) community and sometimes gives talks about Ruby-related topics there. He writes regularly on his blog —http://mightygio.com— primarily about Ruby, Rails, AngularJS, and other programming topics.

Giovanni is the founder of PT. Starqle Indonesia, a Jakarta-based company providing products, IT consulting, and development services with a focus on the healthcare industry.

Détails sur le produit

  • Format : Format Kindle
  • Taille du fichier : 4768 KB
  • Nombre de pages de l'édition imprimée : 104 pages
  • Editeur : Packt Publishing (25 octobre 2013)
  • Vendu par : Amazon Media EU S.à r.l.
  • Langue : Anglais
  • ASIN: B00G8YAUV6
  • Synthèse vocale : Activée
  • X-Ray :
  • Word Wise: Non activé
  • Composition améliorée: Non activé
  • Classement des meilleures ventes d'Amazon: n°349.699 dans la Boutique Kindle (Voir le Top 100 dans la Boutique Kindle)
  •  Souhaitez-vous faire modifier les images ?

En savoir plus sur les auteurs

Découvrez des livres, informez-vous sur les écrivains, lisez des blogs d'auteurs et bien plus encore.

Commentaires en ligne

Il n'y a pas encore de commentaires clients sur Amazon.fr
5 étoiles
4 étoiles
3 étoiles
2 étoiles
1 étoiles
Commentaires client les plus utiles sur Amazon.com (beta)
Amazon.com: 3.0 étoiles sur 5  7 commentaires
5 internautes sur 5 ont trouvé ce commentaire utile 
1.0 étoiles sur 5 Worst resource to learn Devise. 30 août 2014
Par Dark Lord - Publié sur Amazon.com
Format:Format Kindle
Filled with errors. No errata provided. References some things which do not exist in their texts

For example: "Previously, in Chapter 1, Devise – Authentication Solution for Ruby on Rails, we have talked about mass assignment rules written in the app/controller/application_controller.rb file, and now, we are going to modify them a little."

They DID NOT talk about mass assignment rules in Chapter 1. While reading this book, you have to search too many things in Google for corrections and clarifications that it seems better to just read the docs and blog tutorials to learn Devise.

Final verdict: Unusable and unclear book. Not recommended.
2.0 étoiles sur 5 Poorly Edited Resource for Learning Devise and Rails 17 août 2015
Par Jeff Nyman - Publié sur Amazon.com
I have a hard time recommending the book because it is yet another book of dubious quality from Packt, unfortunately. It's very difficult for me to understand how anyone could have given this book a positive review.

As just one example, in the Preface the author says this: "Basic knowledge of relational databases such as Ruby, HTML, and CSS is also required." Yeah, okay ... except Ruby, HTML and CSS are not relational databases. Probably just a slip up but, still, if you can't get something basic like this right, it does at least make me worry about the rest of the content, which is presumably a bit more technical and difficult.

The Preface also mentions that "This book is for web developers who are getting started with Rails" but then almost immediately afterward it says "a fundamental understanding of Rails is required". So, really, not for someone who is "getting started" with Rails. In fact, what you need is a fair amount of exposure to Rails and at the very least know how to use the generators to create various types of resources as well as understanding where those resources are stored and how you are likely to populate them with code.

Right at the start of Chapter 2, the authors says: "Previously, in Chapter 1, Devise -- Authentication Solution for Ruby on Rails, we have talked about mass assignment rules written in the app/controller/application_controller.rb file".

This is absolutely false. The application_controller.rb file is not mentioned at all in chapter 1 and no "mass assignment rules" whatsoever are specified. So when the author says "add username to the sanitizer for sign-in and sign-up", if you don't know what the "sanitizer" is, you are out of luck. He does provide some code -- but in an odd way. Rather than just showing you the Ruby method which is called "configure_permitted_parameters", his code listing in the book has a comment that says "#these codes are written inside configure_permitted_parameters function". So ... why not just show the actual code then? It literally makes no sense at all. Later he does in fact show you the full code ... or at least most of the full code. But it doesn't actually work as described.

Further, the screenshot on page 19 -- related to all this half-baked code -- shows you the results of code that hasn't been described yet. In particular, the password confirmation.

By this point -- and keep in mind, I'm only at the start of chapter 2 -- it's very clear this book was not edited for content. What I'm describing are things that any person reading this would find immediately. Case in point: I'm reading this and found them immediately. That's why I can't understand how anyone could possibly give the book a positive review unless they were biased to do so or were incredibly tolerant of poorly presented information.

As you get to this point in the book, you also start to realize that nothing about Devise is really being explained to you in any sort of substance. You're basically just typing in code that the author (sort of) provides, but with very little context for why or how the code works. So I found myself hopping to the Devise page and reading up on the details there. And I realized: I can pretty much get all the information in the book online, with the difference being that the online material will likely be easier to consume and apply.

Needless to say, by this point I (a) gave up on the book and (b) counted myself lucky that I was given a free book and did not waste money on this.
5.0 étoiles sur 5 It's a complete guide for Devise if you program in Rails 4 7 janvier 2014
Par Jae Lee - Publié sur Amazon.com
I have been programming using Rails for a few years, and Devise has been my first choice for handling authentication in my applications.

If you are new to Devise, then I highly recommend this book for a complete guide.
You will be able to see how the authentication works with Devise in your rails application from the first chapter, and the book explains all the details of "authorization w/ CanCan" and "Remote authentication" in the rest chapters.

Once you complete the first two chapters in this book, I am sure you will be feeling comfortable with using Devise in your new Rails application.

This book is very well written & organized, and it is one of my reference books when programming in Ruby on Rails.
2.0 étoiles sur 5 Not a solution to learning Devise for Rails. 20 janvier 2015
Par Un client - Publié sur Amazon.com
This book helps teach you some of the very initial set up but it's already outdated at this point so you constantly have to work through issues on your own until you come to an arduous solution to move forward in the book. By Chapter 2 the author has obviously become too lazy to spell out the simple steps and starts making generalizations that no one LEARNING Devise can follow. There are enough errors to make this book completely useless, grammatically(clearly not native-english), ridiculous assumptions, and a ton of errors in the actual code, also their screenshots are already outdated. It feels like they couldn't find anyone to actually meet demand for a book on Devise authentication and just half-assed this thing.
1 internautes sur 2 ont trouvé ce commentaire utile 
4.0 étoiles sur 5 A shot of knowledge to fast-track the most common authentication requirements and a good foundation for learning more 29 janvier 2014
Par pratalife - Publié sur Amazon.com
I recently got my hands on a review copy and was quite interested to see if it was worth a recommendation.

A book like this has to be current. Happily this edition covers Rails 4 and Devise 3, and code examples worked fine for me with the latest point releases.

The book is structured as a primer and tutorial, perfect for those who are new to devise, and requires only basic familiarity with Rails. Tutorials are best when they go beyond the standard trivial examples, and the book does well on this score. It covers a range of topics that will quickly become relevant when actually trying to use devise in real life. Beyond the basic steps needed to add devise in a Rails project, it demonstrates:

* customizing devise views
* using external authentication providers with Omniauth
* using NoSQL storage (MongoDB) instead of ActiveRecord (SQLite)
* integrating access control with CanCan
* how to test with Test::Unit and RSpec

I particularly appreciate the fact that the chapter on testing is even there in the first place! These days, "how do I test it?" should really be one of the first questions we ask when learning something new.

The topics are clearly demarcated so after the first run-through the book can also be used quite well as a cookbook. It does however suffer from a few cryptic back-references in the narrative, so to dive in cookbook-style you may find yourself having to flip back to previous sections to connect the dots. A little extra effort on the editing front could have improved this (along with some of the phraseology, which is a bit stilted in parts).

Authentication has always been a critical part of Rails development, but since Rails 3 in particular it is fair to say that devise has emerged as the mature, conventional solution (for now!). So I can see this book being the ideal resource for developers just starting to get serious about building Rails applications.

Learning Devise for Rails would be a good choice if you are looking for that shot of knowledge to fast-track the most common authentication requirements, but also want to learn devise in a little more depth than a copy/paste from the README and wiki will get you.
Ces commentaires ont-ils été utiles ?   Dites-le-nous

Discussions entre clients

Le forum concernant ce produit
Discussion Réponses Message le plus récent
Pas de discussions pour l'instant

Posez des questions, partagez votre opinion, gagnez en compréhension
Démarrer une nouvelle discussion
Première publication:
Aller s'identifier

Rechercher parmi les discussions des clients
Rechercher dans toutes les discussions Amazon

Rechercher des articles similaires par rubrique