Best practices on the clientside and the serveside with DOM scripting and PHP
What it the best practices with for example Dom scripting on the client and serverside with php. What should you do with dom and what with php, ca开发者_开发知识库n I skip installing php and do everything with dom as with php?
Short answer: no, you cannot skip PHP. With DOM you won't get any data from database etc.
- Javascript is to enhance user experience. Nothing less, nothing more.
- Server-side processing is for actual data operations (fetching, storing and computing).
精彩评论