Hace unas semanas les hablé de que estaba reforzando mis conocimientos en cuanto al area de desarrollo web, lo que me gusta a mi es más el area de un front-end, así que intento destacar más en dicho aspecto... El tema de la logica detrás de las vistas es aún algo complejo para mi, sin embargo he obtenido buenos avances aunque me he limitado a hacer todo usando php que a día de hoy es algo obsoleto, aún así funciona pues la intención es desarrollar logica como lo dije anteriormente.
A few weeks ago I told you that I was reinforcing my knowledge in the area of web development, what I like is more the front-end area, so I try to excel more in that aspect... The topic of the logic behind the views is still something complex for me, however I have made good progress although I have limited myself to do everything using php which today is somewhat obsolete, but it still works because the intention is to develop logic as I said before. |
---|
Antes habia realizado sistemas completos mediante mysql y php, pasa que usaba codigos de plantillas para facilitar el trabajo, y claro, también frameworks como bootstrap, en esta oportunidad estoy haciendo todo con codigo nativo, es decir, cada linea de codigo a pulso y usando solo: Html, css, javascript, php, mysql y algunas librerias cuyo fin es solo mejorar la estetica de las vistas como: Emojis, botones, entre otros... Me siento feliz porque finalmente entiendo cada codigo, cada parte de mi algoritmo.
Before I had made complete systems using mysql and php, it happens that I used template code to facilitate the work, and of course, also frameworks like bootstrap, this time I'm doing everything with native code, ie, each line of code to pulse and using only: Html, css, javascript, php, mysql and some libraries whose purpose is only to improve the aesthetics of the views as: Emojis, buttons, among others.... I feel happy because I finally understand every code, every part of my algorithm. |
---|
Trabajo sobre el mismo sistema, hasta ahora solo registra usando el metodo post de php, para correr mi pagina sobre un servidor uso xampp, de esta manera puedo hacerlo de forma local, suena como algo complejo pero la realidad es que solo es cuestión de sentarse y estar dispuesto a aprender y entender que haces en cada paso. Cree una base de datos donde almacena los usuarios registrados de mi petshop y por supusto les da llave para entrar a las vistas de usuario, por ahora no tiene roles, es decir que apena pueden ingresar clientes que vendria a ser el usuario con menor jerarquía en el sistema.
I work on the same system, so far I only register using the php post method, to run my site on a server I use xampp, this way I can do it locally, it sounds like something complex but the reality is that it is just a matter of sitting down and being willing to learn and understand what you do in each step. I created a database where I store the registered users of my petshop and of course it gives them a key to enter the user views, for now it has no roles, that is to say that they can only enter clients that would be the user with the lowest hierarchy in the system. |
---|
El plan es hacer un carrito de compras donde se pueda hacer pedidos o si llego a conseguir una api sencilla añadir a un carrito de compra, bueno, es algo que aún no empiezo a trabajar, por ahora solo quiero hablarles de lo que he logrado. Todo se trabaja con sesiones, es decir que una vez que logeas no podras volver a las vistas de usuario que no este registrado en la pagina a menos claro que des click en el botón "Salir" que basicamente te lleva a otra ventana cuyo algoritmo se encarga de destruir la sesion.
The plan is to make a shopping cart where you can place orders or if I get a simple api add to a shopping cart, well, it is something that I have not yet started to work, for now I just want to talk about what I have achieved. Everything works with sessions, that is to say that once you log in you will not be able to return to the views of the user that is not registered in the page unless you click on the button "Exit" that basically takes you to another window whose algorithm is in charge of destroying the session. |
---|
Añadí algunos detalles esteticos muy chulos a mi parecer, como el imprimir el nombre del usuario logeado, tomando dicha información de la tabla en la base de datos, es completamente seguro... O bueno, al menos en cuanto al ingreso de las visas de usuarios registrados, me falta encriptar contraseñas y tomar algunas otras medidas como validaciones y demás, pero esto es solo una practica y creo que puedo dejar estos detalles para el final, por ahora estoy feliz con los resultados, por cierto, todo es responsive como les enseñé aquí.
I added some aesthetic details very cool in my opinion, like printing the name of the logged in user, taking this information from the table in the database, it's completely safe... Or well, at least as for the login of the registered user visas, I still need to encrypt passwords and take some other measures such as validations and so on, but this is just a practice and I think I can leave these details for the end, for now I'm happy with the results, by the way, everything is responsive as I showed you here. |
---|
También estoy trabajando en un pequeño chatbot que va a estar ubicado en las vistas de los clientes, allí mediante if o bucles pondré las preguntas frecuentes para que el usuario pueda usar con mayor facilidad el futuro carrito de compra, para ello use las mismas tecnologias (html, css y js), tome la idea de las paginas de banco en mi país, realmente me parece que se ve bien esteticamente y además me divertí haciendolo, para esto si que use una libreria externa... Aún no lo he añadido al proyecto pues quiero arreglar algunos errores y sobre todo hacerlo funcional para obtener respuestas del bot.
I am also working on a small chatbot that will be located in the customer views, there through if or loops I will put the frequently asked questions so that the user can more easily use the future shopping cart, for this use the same technologies (html, css and js), take the idea of the bank pages in my country, I really think it looks good aesthetically and also I had fun doing it, for this I use an external library ... I haven't added it to the project yet because I want to fix some bugs and above all make it functional to get responses from the bot. |
---|
Su post ha sido valorado por @goya
Felicitaciones por tu progreso, para que sigas avanzando te recomiendo aprender hacer una API sencilla, usando Node Js con Express... salu2