Redesign: From PHP/MySQL to Node/MongoDB Stack(josebrowne.com)
josebrowne.com
Redesign: From PHP/MySQL to Node/MongoDB Stack
http://josebrowne.com/open/php-mysql-to-node-mongo-single-page-app
14 comments
The article's title is "Redesign: From PHP/MySQL to Node/MongoDB Stack". And isn't about going from PHP/MySQL to Node/MongoDB at all. Instead it's mostly about putting together a one page app sort of thing, rather than putting everything together server side.
Yeah, it's simply linkbait. It could just as easily be called "A blog where I try out new technologies!"
Finally, it's official: Node is the new PHP.
We'll probably be complaining about the horrible legacy Node.js applications created by scores of mediocre JS developers in a few years, like we do with PHP now.
The classic discourse is: "PHP is not a bad language, it was just designed with one specific purpose in mind and then grew organically. Of course there is some ballast now... Oh well, OK it is a bad language. But the real problem is that it's too easy - everybody thinks they are an elite developer because they can code a bit PHP."
VB -> PHP -> JS ?
The classic discourse is: "PHP is not a bad language, it was just designed with one specific purpose in mind and then grew organically. Of course there is some ballast now... Oh well, OK it is a bad language. But the real problem is that it's too easy - everybody thinks they are an elite developer because they can code a bit PHP."
VB -> PHP -> JS ?
PHP is robust enough to create webpages and scripts, that's what it was designed for.
I think nobody is claiming "they are an elite developer because they can code a bit PHP" , that's what you said.
It would be far more interesting to talk about what you use and how , rather than bashing PHP.
I think nobody is claiming "they are an elite developer because they can code a bit PHP" , that's what you said.
It would be far more interesting to talk about what you use and how , rather than bashing PHP.
> We'll probably be complaining about the horrible legacy Node.js applications created by scores of mediocre JS developers in a few years, like we do with PHP now.
Why wait?!
Why wait?!
Not likely.
NodeJS is not RAD enough for web apps like blogs or ecommerce sites.
NodeJS is not RAD enough for web apps like blogs or ecommerce sites.
[deleted]
Looks very nice, and the fact that it changes the URL when you click on a link is awesome. I didn't even know that was possible now. I wonder if the server delivers a different page for different URLs (for search engines / older browsers).
Also it feels very snappy, but I wonder how it works under less favorable conditions (slow computer or connection).
Also it feels very snappy, but I wonder how it works under less favorable conditions (slow computer or connection).
You can change the URL live by using pushState[1].
[1] https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/M...
[1] https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/M...
Cool, a 404.
Got a 404.