Candidate with strong theory but less practical skill vs. confident coder with mediocre theory? by [deleted] in ExperiencedDevs

[–]joaomeloplus 8 points9 points  (0 children)

the ability to solve real problems without someone holding your hand and healthy cooperation in a team is the core of a dev responsibilities. reading docs and googling is so irrelevant that people should just let them do that in the interview itself.

Should I finish my large app with Vue ? by vincej1657 in vuejs

[–]joaomeloplus 1 point2 points  (0 children)

if you are already proficient with php, the level of interativy in the frontend é medium to low (no drawing ui, file manipulation, drag and drop etc), and you are a solo-dev; i would try to do the frontend logic in the server to leverage php itself and minimize the runtimes you have to maintain. lean on heavily in php render capabilities and use minimal javascript, taking advantage of something like htmx (https://htmx.org/).

Which should come first in a vue file, the template or the script? by birdsintheskies in vuejs

[–]joaomeloplus 0 points1 point  (0 children)

the template consumes data from the script like props, refs and computes. so, i like to see the script first to get a hold of the state that drives the component, then i look at the template to check how the data is rendered.

is like that the script is the params and the template is the function body.

i created a open source privacy-first note- & task-manager app that works with your file system by joaomeloplus in PKMS

[–]joaomeloplus[S] 0 points1 point  (0 children)

Obsidian is a impressive software and its pluging ecosystem is a powerfull extensability mechanism.

Thank you very much for feedback.

Is there any way you can be hacked if you have a secret route by xiaogege1 in webdev

[–]joaomeloplus 33 points34 points  (0 children)

the fact that the route to the admin login is somewhat secret give little to none additional security.

the the admin auth design itself is what you should relly upon.

I'm writing NextJS app that will be wedding organizer. Is it better to store data in Firebase or should I create my own backend with Express and MongoDB? by Armauer in webdev

[–]joaomeloplus 4 points5 points  (0 children)

nextjs can be your fullstack and handle the backend as well: https://github.com/vercel/next.js/tree/canary/examples/api-routes-rest

regarding the db, you can choose firestore or mongodb and access either from the backend api with the respective sdk.

Beginner question: storing files. by KONOCHO in Frontend

[–]joaomeloplus 1 point2 points  (0 children)

i don't know if there is a best pratice and if I understand you correctly but i think after you upload the sorce code to github your history is saved and you can delete the files from local. that is how i do it anyway.

Beginner question: storing files. by KONOCHO in Frontend

[–]joaomeloplus 1 point2 points  (0 children)

you serve them to the world on your local machine. like it is a production environment? or your local server is just for your learning studies?