Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Echo or heredoc sucks, that's not maintainable at all
I personally totally agree with this -> https://stackoverflow.com/questions... -
Milind9517yWhile I do understand putting HTML inside Php may generate a code that is difficult to maintain. What's wrong putting php inside HTML using PI ?
-
How else do you have dynamic pages like with the users name on it for tiny projects?
-
kira21947yI had done my mini project like this, actually that time I didn't know that it should be separated in two files.
Literally, lots of duplicate data was in that project. -
oxmox2917yPhp+templates+JS...there is absolutely no need to place PHP Inside HTML and as stated its not the best design and hard to maintain
-
What kind of advice is that? Most PHP frameworks e.g Laravel basically relies on php and html intergration to render a view
Related Rants
-
CowboyBebop16"Don't give your 100%. Never. Once you gave, managers will start expecting more than that." - My mentor.
-
linuswillner15(Q: How much are you allowed to Google as a developer?) βYouβre allowed to Google as much as you want. Th...
-
ripbit18Never delete code immediately. Always comment it out first.
Don't put HTML and PHP code together in one source file π
rant
wk103