5 ms·
actually, Meteor is not like Derby. For one, you don't need to deal with callbacks when data is changed. Meteor can automatically figure out what data sources a
by aioprisan 14y ago
actually, Meteor is not like Derby. For one, you don't need to deal with callbacks when data is changed. Meteor can automatically figure out what data sources are bound to certain containers in the template being rendered and when you make a change in the database, the data is pushed to all the clients. Here are some good details on the differences: http://news.ycombinator.com/item?id=3842525 http://news.ycombinator.com/item?id=3842525. Also, Meteor now has a REST package built-in https://github.com/crazytoad/meteor-collectionapi https://github.com/crazytoad/meteor-collectionapi and additional modules that you can install, like https://github.com/tmeasday/meteor-router https://github.com/tmeasday/meteor-router
- lefnire 14y ago!! Those REST packes enable server-side routes? I remember the last time I checked, when Meteor had it's new "server pages" it was Phantom generated snapshots of client renders, which blew my mind. I'll explore those packages, that was my biggest gripe and may motivate me to take down my post.
- debergalis 14y ago[meteor dev] The `spiderable` package is just our hack to let search engines index our own website. It works surprisingly well for that, but it's certainly not the long-term solution. There's a fuller explanation of our routing / REST plan here: https://trello.com/card/page-model-server-side-rendering-rest-endpoints/508721606e02bb9d570016ae/7 https://trello.com/card/page-model-server-side-rendering-res...
- sawyer 14y agoThe meteor-router package does enable server side routing, yes. Take a look at the bottom of the README on github.