Download for Windows Premium
Publiciteit
modelo User

Vertaling van "modelo User" in Engels

We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
User model
Nuestro código en el modelo User ahora se ve mucho mejor que antes.
Our User model code now looks much better than it did before.
Necesitamos pasar una instancia del modelo User como autor.
We need to pass an instance of User model as an author.
Aún tenemos que definir el método role? en el modelo User.
We still need to define the role? method in the User model.
Antes de comenzar a refactorear nuestro modelo User, observemos un poco de testing.
Before we start refactoring our User model, let's look at testing.
El modelo User utilizado a continuación es solo un schema básico hecho con mongoose.
The User model below is just a basic schema made with mongoose.
Esta línea añade varios métodos al modelo User que sirven para gestionar la autenticación.
This adds a number of methods to the User model to handle authentication.
El lugar ideal para colocarlo sería en el modelo User.
The ideal place to put this repeated code would therefore be in the user model.
Pero, como estamos haciendo llamadas a métodos en el modelo User, podemos eliminarla.
But, as we're calling methods in the User model so we can simply remove it.
El código del modelo User y sus vistas, han mejorado mucho desde que empezamos.
The code in the User model and its views is now much improved from where we started.
Lo siguiente será modificar el modelo User para que cifre la clave antes de guardarla.
Next we'll modify the User model so that it encrypts the password before it's saved.
Donde nos vamos a centrar es en que las validaciones de nuestro modelo User sean más eficientes.
What we're going to focus on here is making the validations in our User model more efficient.
Ahora que hemos configurado el modelo User debemos generar algunos controladores que lo acompañen.
Now that we have the User model set up we'll generate some controllers to go with it.
Lo primero que debemos hacer es generar un modelo User con campos para la dirección de correo y la clave.
The first thing to do is to generate a User model with fields for an email address and a password.
Er zijn geen resultaten gevonden voor deze term.

Synoniemen voor modelo User in het Spaans

Publiciteit

Suggesties

Resultaten: 50. Exact: 50. Verstreken tijd: 43 ms.