All Questions
2 questions
0
votes
2
answers
200
views
Should we check if the primary key exists if rendering a collection fetched from database?
I have got an argument with my colleagues about this. IMO It's common practice that you don't need to check if an id exists or not before rendering it.
So here's an example.
This is what my ...
0
votes
2
answers
2k
views
Alternatives to the use of the Id/Name properties with non-inputs elements in HTML
I'm migrating a website that use Javacsript/HTML/PHP using reusable javascript code, in certain moment I saw the opportunity to simplify code in functions that use almost the same code.
Let's say: I ...