11 ms·
Announcing Meteor 1.2 – ES2015, Angular, React, and More
- arturadib 11y agoI've been using Meteor for months. It's such a pleasure to work with. It's what Rails should've been if it was written today. They just keep on delivering on out-of-the-box functionality, compatibility with 3rd party libs, and more importantly - on a very solid architecture for real-time transport by guys who really know what they're doing. Kudos everyone.
- emerongi 11y agoExact same experience. Development is easy and frustration-free. The team listens to the community AND delivers. The platform is not just for playing around anymore, it has matured really well. See the case studies[1] - I, for example, love Hansoft X[2]. I think I would feel frustrated to have to go back to any other framework. Meteor is what web-development should be like. I'm not sure if Meteor is going to be THE platform everyone is going to use, but it definitely is completely changing the game and I suspect web-developers will be adopting the Meteor ethos. [1] https://www.meteor.com/case-studies/build-apps-with-meteor https://www.meteor.com/case-studies/build-apps-with-meteor [2] https://hansoftx.com/ https://hansoftx.com/
- JaakkoP 11y agoSame experience here as well. I don't think either that Meteor is going to become de facto platform for all web development, but it's definitely going to be one of the main ones along with Angular, React and Rails.
- djmashko2 11y agoI'm curious - do you think there is room for someone to come along with the right combination of stuff to become the "de facto platform for all web development"? It's interesting also that people always talk about Rails but don't mention JSP and .NET, which I think are actually a lot more popular last time I looked around. I guess it depends on who you ask. I feel like JavaScript is in a sweet spot right now because it has the inherent advantage of being the _only_ language you can run inside a browser, so you can do things with it that would be very hard or complicated in other languages.
- sotojuan 11y agoI honestly think that with some good marketing, Meteor can be on top when they get SQL support.
- JaakkoP 11y agoThat's a good point. While I love Mongo, a lot of developers won't even consider Meteor since it has only NoSQL support.
- uptownJimmy 11y agoI've wondered to myself a few times: perhaps Meteor would be even more popular than it presently is, if it had not been chained to MongoDB from the start. Even a different NoSQL db would probably have been a more popular/respected choice, at this point. And, though I know this has been said before, it bears repeating: most developers who deal with data on a regular basis are best advised to go ahead and get comfortable with SQL. So far, it is BY FAR the best solution to the great majority of data-storage-and-retrieval use cases. I'm no expert, tis true, but I don't see JSON objects replacing SQL any time soon. So, yes: as soon as Meteor includes official support for one of the SQL platforms, I'm all over it. It seems very promising, for those of us not locked in a death-rattle of foaming, red-faced JavaScript hatred.
- JaakkoP 11y agoGood question. I think Meteor is certainly the closest of such platform at the moment, but you don't have to go far to find a developer who really hates JavaScript and will never switch over. Such hate may or may not be justified, but you won't easily change their minds. At the same time, there are people - including me - who only develop with JS with no real need to switch over to something else. I wish I had a more educated answer (guess?), since this is all just anecdata.
- lostPixels 11y agoHas anyone built an Ecommerce platform in Meteor? Meteor is just this months hotness for building a specific type of web product, namely web apps. It's not going to become the defacto standard of anything else.
- JPKab 11y agoI'm a data guy whose realized that all of the fancy data stuff in the world tends to be useless without a UI. I don't have time to put all of my effort into web apps, because then I'd have to take my focus off the data/business functions piece. Meteor has been perfect for me. It works, I can easily integrate with it via the Mongo back-end, and the prototyping is super-fast. For the kinds of apps that I build (very industry specific apps for retail) I don't really have to worry about scaling to thousands of users, which means that Meteor isn't just a toy in my world. And even if I did have to scale, everything about the Meteor framework indicates that scaling Meteor is no different than scaling any other Node app. When Postgres support comes, (its in the works) I'll be using this thing for everything.
- debaserab2 11y agoStill waiting for the killer testimonial for meteor, until then I'd be too scared to try it with anything larger than a prototype or brochure site. I don't want to be the first person attacking a completely new class of scaling problems using a proprietary tech stack that I may or may not have the ability to control.
- kentonv 11y agoWhat do you mean by "proprietary"?
- debaserab2 11y agoProprietary is the wrong word, as it is open source. The right word would be "immature", as meteor is an entire tech stack that hasn't been battle hardened by years or decades of other software that currently exists in other tech stacks. The other piece is the meteor stack is designed to be hosted by meteor. Sure, you can, in theory, run everything yourself - but I haven't seen good case studies of that. What do you do when your app blows up and suddenly the hosting costs of meteor is too much of an overhead?
- joshowens 11y agoYou can easily use things like Heroku and Modulus to host your site. I think perhaps you are misinformed about your options and should read up a bit more. I use Digital Ocean with MUP and it works great with minimal efforts.
- debaserab2 11y agoWhat options did I miss? What kind of load does that app you host on digital ocean have? Edit: I'm not at all suggesting that isn't possible to self host a meteor app, I am saying that I don't know what the "beaten path" is for other companies/apps/products that have self hosted a meteor app to a significant scale.
- kentonv 11y ago
- daveroberts 11y agoHow often do you use npm packages which are not part of atmosphere? I remember this not working great. Have things changed?
- hn_user2 11y agoWorks great. Just isn't part of core. Meteor core is stubbornly trying to force use of atmosphere for everything. But everyine I know immediately installs https://github.com/meteorhacks/npm https://github.com/meteorhacks/npm which allows for using regular npm packages. I think inevitably the meteor team will bring this into core, or something similar, and we will be able to have our mix of atmosphere and non libraries.
- daveroberts 11y agoThanks. Should any other packages be in core that are not?
- hn_user2 11y agoA router. But I don't think the community has quite solidified around a single router yet. Iron-Router was the lead for a while. I don't think these should necessarily be in core, but here is my list of pretty much always-installed modules: stevezhu:lodash iron:router meteorhacks:npm meteorhacks:async aldeed:collection2 aldeed:autoform aldeed:tabular xolvio:cucumber yogiben:admin
- deleted 11y ago[deleted]
- ocean3 11y agoI had totally different experience. I don't have much experience on meteor just working on some tasks for a meteor project. Hence issues might be related to it as well. But I felt it was very amateurish, there was no proper ordering/routing like in rails. I had to guess debug a lot to identify the source of files. Mongo was a pain to work it. My biggest issue was speed. It took a long time to reload after changes. From this experience I am not interested to work on meteor.
- hayksaakian 11y agoI don't keep up with meteor, but I have a question for those who do keep up to date on changes. Can meteor apps be isomorphic -- in the sense that they render plain HTML on the server during first load, and then do the javascript loading thereafter? I work on several client websites, and passable SEO is a requirement. I know there's some hackery you can do to get single page apps to be indexed, but I prefer when it "just works" out of the box. I have some react apps that use this model, and they index perfectly.
- sergiotapia 11y agoThere are some options that give you server side rendering, for example https://github.com/kadirahq/meteor-react-layout/ https://github.com/kadirahq/meteor-react-layout/ You need to use React though, but that's a win in my book since React makes developing Meteor apps so much easier.
- deleted 11y ago[deleted]
- djmashko2 11y agoThere is no first-party solution for this yet, since React support came out in this release. Hopefully we can make it automatic in the near future. I think this is a key advantage of the Meteor model - since the parts of the stack are expecting to be used together, they can collaborate to achieve functionality like this isomorphic, re-hydrating, SSR. There are already some community projects working on this functionality: https://atmospherejs.com/reactrouter/react-router-ssr https://atmospherejs.com/reactrouter/react-router-ssr
- applecore 11y agoIt's not just useful for SEO; isomorphic React apps render much quicker on first load and for deep linking into your app.
- gildas 11y ago> isomorphic React apps render much quicker on first load source?
- resca79 11y agoNice to see this update, it's growing. I remember the first intro video.
- deleted 11y ago[deleted]
- daddykotex 11y agoIs ES2015 the exact same thing as ES6?
- daddykotex 11y agoSorry, I just found out this : http://exploringjs.com/es6/ch_faq.html#leanpub-auto-isnt-ecmascript-6-now-called-ecmascript-2015 http://exploringjs.com/es6/ch_faq.html#leanpub-auto-isnt-ecm...
- djmashko2 11y agoYeah, for a while we had to say ES2015/ES6 in all of our blog posts etc. but hopefully soon things can settle down. Especially when it gets to ES2016/ES7 and above, having the year in the name will be super convenient (like Ubuntu version numbers)
- aikah 11y agoYes , ES2015 is ES6. AFAIK ES2015 is now the official name of the spec.
- liviu 11y agoThey are using some, but not all, features supported by Babel to compile ES6/ES2015 syntax to ES5.
- sergiotapia 11y agoI'm blown away by Meteor. Using Meteor and React is just buttery smooth. More and more companies are using React now in the startup space, and it's one of the most popular services on StackShare: http://stackshare.io/meteor http://stackshare.io/meteor React integration is a first-class citizen: http://sergiotapia.me/2015/09/18/react-and-meteor-match-made-in-heaven/ http://sergiotapia.me/2015/09/18/react-and-meteor-match-made... No weird hacks, lib includes and other nonsense you shouldn't really care about. And you can manage subscriptions to publications directly in your react components. It's magnificent. If you were on the fence, now is a good time to jump in. It's easy to get started and you'll see that what took months in ASP.Net, and weeks in Rails, takes days or hours in Meteor. (No hyberbole)
- TylerE 11y agoI'll jump on when they have first-class support for a DB that isn't Mongo.
- sergiotapia 11y agoIt's coming! MDG is focusing 100% on their Heroku-like platform called Galaxy and once that's done they may push on to relational database support.
- lolive 11y agoGraph DBs support is ok too :)
- sircharlesw727 11y agoThere is already graph db (Neo4j) support available using the "ccorcos:anydb" package. https://github.com/ccorcos/meteor-any-db https://github.com/ccorcos/meteor-any-db
- no1youknowz 11y agoGive me postgres support and I'll definitely consider switching what I have in the short term. I'm happy to wait until then!
- jxm262 11y agoI've recently been using Meteor on a couple small projects and so far like it quite a bit. My main frustration though is unit testing. While there's the official Velocity test runner, documentation and code examples for integrating and effectively using the frameworks is very confusing (I personally use Mocha). I know there's some books and blogs to help alleviate this, but there doesn't seem to be one (or even just a few) de-facto framework/setups to illustrate how to properly unit test Meteor apps.
- samhatoum 11y agoTry this https://github.com/xolvio/Letterpress/tree/master/app/tests/jasmine https://github.com/xolvio/Letterpress/tree/master/app/tests/... ES6 modules will change this approach somewhat, FYI
- jxm262 11y agoyeah, I'm aware of the Meteor testing manual. It has alot of good stuff, and for what I'm doing the link you mentioned mostly resembles my setup (although using mocha instead of jasmine). Just wish the testing was more "officially" documented with good examples and sample repos as opposed to buying a book. If you go on the meteor forums there is _alot_ of discussions on the different frameworks and how to piece things together.
- chaostheory 11y agoWill there ever be 1st party relational database support?
- djmashko2 11y agoThere's an experiment in progress here, written by Slava and myself (core devs at Meteor) over the course of a week: http://meteor-postgres.readthedocs.org/en/latest/ http://meteor-postgres.readthedocs.org/en/latest/ It suggests that there isn't really that much work to do to make a basic SQL integration story that people can use. At this point when this makes it into core is a matter of prioritization and not stretching ourselves too thin.
- hippich 11y agofor people experienced with meteor - is there solid support for postgres backend? i really like it, but details on sql backends support is spotty
- WaxProlix 11y agoThere is not.
- dustincoates 11y agoIt's being worked on. There are some packages that provide postgres support (https://atmospherejs.com/?q=postgres https://atmospherejs.com/?q=postgres) but not in core just yet.
- hippich 11y agowow... 5 different modules for postgres support. this will be hard to sell to sql folk just yet :)
- stanleydrew 11y agoFor those with experience integrating Meteor with Angular, can you describe the benefits and tradeoffs? Been looking to supplement or replace Angular's $resource with something a little higher-level on CRUD-heavy applications. Is Meteor a reasonable choice, or am I misunderstanding it's core value proposition?
- Bahamut 11y agoIf you're looking to replace $resource (a poor abstraction layer), you should create your own client-side model layer, or look into a library like js-data (http://www.js-data.io/docs/js-data-angular/ http://www.js-data.io/docs/js-data-angular/)
- erokar 11y agoI haven't tried using Angular with Meteor, but I know both pretty well. I would recommend trying Meteor with just Blaze (its rendering engine) before adding Angular. Maybe it's enough and you don't need Angular's added complexity.
- stanleydrew 11y agoWill definitely try that with a new project. Sounds like you wouldn't recommend trying to hack Meteor into an existing Angular project?
- erokar 11y agoThe latest version of Meteor actually comes with support for Angular and React — so if you want it, it shouldn't be too hard to add. Personally, I guess I've grown a bit disenchanted with Angular lately. It makes some things easy, but I think it adds unnecessary complexity. I'm inclined to look for simpler, more functional/stateless solutions these days.
- asumanth 11y agoI've been on/off using Meteor for the past year. I think meteor has the potential to be the stack for developing applications in the future. There are a few things that keep me off using Meteor. Non MongoDB DB support First class routing, recently the community seems to be moving away from iron router to flow router, but most of the community packages are using iron router. From my readings, they dont seem to be easily interoperable. Interop with blaze (default view). With support for React, how do the existing community packages built with blaze be used with React
- drew-y 11y agoDoes this release include support for ES2015 modules? Edit: >Meteor 1.2 will be the first step in making that seamless development experience: we're adding support for all its features except for modules Oops. Didn't see that. This is a bit of a bummer. It'd be great to use ES2015 modules in Meteor packages. I hope there is plans to support them in the near future
- deleted 11y ago[deleted]
- drew-y 11y agoLooks like they are! >Eventually, Meteor wants to transition to ES2015 modules for everything https://github.com/meteor/meteor/blob/303052be68128ce9026bc28a460896b0e271eb6d/tools/isobuild/README.md https://github.com/meteor/meteor/blob/303052be68128ce9026bc2...
- sgzhaohang 11y agoI'm excited to see they've made big stride over the past several years. I'm really curious about how people compare this with native dev especially right now most startups chose native approach.
- mizzao 11y agoReact native + Cordova, seems like it would be pretty great for everything except 3D games...
- morgante 11y agoCan you run Node packages on Meteor yet? The decision to be incompatible with the vast number of Node/npm modules is what originally turned me off from Meteor, and I hope it's resolved.
- kentonv 11y agoYes, that was resolved two years ago.
- rory 11y agoI believe you still have to use a third-party package (https://github.com/meteorhacks/npm https://github.com/meteorhacks/npm), but it's quite easy to use and I've never had any problems with it.
- chrisquinnr 11y ago+1 If there's not a Meteor-specific package you're comfortable with then this is the option. Case in point, I prefer using stripe and twilio via meteorhacks:npm.
- morgante 11y agoI've tried using it before, but the requirement to wrap all async methods in synchronous helpers is pretty annoying. I just don't understand why Meteor decided to be incompatible with the vast majority of server-side JavaScript in the wild.
- kentonv 11y agoYou don't have to wrap your async methods if you don't want to. Meteor prefers to use fibers since a lot of people find them easier to work with, but if you write async code it will generally work fine. The one thing is that when you want to call back into Meteor code, you need to do it in a fiber, so you'll probably want to write a little helper for that. Here's my version: https://github.com/sandstorm-io/sandstorm/blob/master/shell/server/proxy.js#L59 https://github.com/sandstorm-io/sandstorm/blob/master/shell/...
- 11y ago
- diverightin63 11y agoSo, one thing holding me back from using MongoDB (and thus Meteor) is a lack of understanding how schema can be managed. Say in MongoDB you are storing documents in a collection such as { property: "" }, and decide you want to change that to { property2: "" }. Does that mean you have to script a change to every document to convert these objects?
- coldtea 11y agoThat's not data management. That's schema management (migration). And yes, you have to script a change to every document.
- diverightin63 11y agoRight. And I see. Are these managed by something like migrations?
- djmashko2 11y agoAs far as I know, this is an issue for every database, no? What are you currently using?
- diverightin63 11y agoWell, in relational SQL you would just do an ALTER on the column name.
- 11y ago
- keithy 11y agoMy go to stack for personal projects is React Node Postgres, while Meteor looks great I just can't live without the sweet built in postgres features like trigger functions. I'm on the lookout for a rails like framework because right now I tend to code everything by hand. Will give it an honest try once they support MySQL or pgSQL.
- anonyfox 11y agoHave a look at the phoenix framework, written in elixir. While there aren't that many drag'n'drop solutions available than in meteor, everything is rock solid, fast and fault tolerant. Oh, and it is very familiar for rails developers, while also having powerful channel abstractions (incl websockets, meteor's secret sauce), postgres as default, and native implementations of channels for ios/android clients.
- mitchellpash 11y agoCan't wait to start learning this language. Are there any great resources like how the Laravel community has Laracasts, but for Meteor?
- heimann 11y agoCheck out http://www.eventedmind.com http://www.eventedmind.com! http://www.discovermeteor.com http://www.discovermeteor.com is another great starting point.
- joshowens 11y agoI am biased, but http://joshowens.me http://joshowens.me and http://meteorpodcast.com http://meteorpodcast.com. There is also https://crater.io https://crater.io
- gmaster1440 11y agoOne of the things still holding me back from using Meteor with React is the lack of support for a module loading system. It seems like if I want to define a component in a separate file, I'll have to assign it to a global variable if I'm going to compose it in another file.
- mquandalle 11y agoUsing global variables isn’t even the worst part. The big problem with this sharing model is that files are loaded in the alphabetical order, thus the only way to control that file a requires file b as a dependency is to give to b a file name that is before a in the alphabet (this is not true for Meteor packages where we can control the file order). Thankfully MDG plan to address this issue soon.
- gmaster1440 11y agoYeah, good to know.
- rralian 11y agoI agree, but this is why I was very excited when I found this skeleton project. https://github.com/jedwards1211/meteor-webpack-react https://github.com/jedwards1211/meteor-webpack-react It should give you the modules and full es2015 you're looking for.
- bvm 11y agoTagging on to this, I assume we can't use all of ES2015 classes with react and meteor, as the mongo bit requires mixins. Is there a fix in the works for this?
- roneesh 11y agoI've posted about the benefits of Meteor on HN before (the tiny apps I built were easy to do), and many times I've been told that the Meteor packages you'll use are out of date and require effort to make work. On this thread however people are saying using Meteor is buttery smooth. Any people care to chime on this issue? Without diving in myself and building a large app, I'm having a hard to determining if the Meteor package ecosystem is thriving or stagnating.
- chrisquinnr 11y agoI've yet to come across a situation where something I wanted to do didn't a) have an existing Meteor package, or b) have an npm package that you can include using meteorhacks:npm by arunoda. I'm using Meteor for two enterprise-grade b2b projects (so: reasonable scale) and as far as I'm concerned the package ecosystem is freakin awesome.
- ptttr 11y agoThere's one issue with Meteor that rarely gets mentioned. While you get hybrid mobile apps out of the box, you'll have hard time integrating native apps with Meteor backend. DDP clients are not official, and there's no minimongo on native clients so you lose critical part of Meteor's appeal. In the late game switching to native apps is more cumbersome compared to when you have a regular REST API backend. But still, Meteor is a amazing piece of technology and I'm happy to see this update.
- primigenus 11y agoHave you taken a look at Meteor iOS? https://github.com/martijnwalraven/meteor-ios https://github.com/martijnwalraven/meteor-ios -- made by the person who currently leads mobile work at MDG.
- graffitici 11y agoIs it fair to say that Meteor is an alternative to Relay and Falcor for managing state with the server? It also seems like it's competing with Redux and all the Flux libraries, right? The plus side of all this is that React seems like it's becoming the ubiquitous "V in MVC". This is great news, since this means designers should soon feel at east working with JSX, regardless of which platform the company uses. It also should mean that using Meteor for developing mobile apps using React Native should be straightforward.. Not sure if I'll get into using Meteor, but I'm definitely very glad I have a head start on React..! Truly a technology worth mastering.
- zyxley 11y agoFor my part, I can't stand JSX. The 'magic' behavior of using things without quotes/escaping just makes me go "ewww".
- facepalm 11y agoAre they still dependent on MongoDB? I've been waiting for alternatives to become available.
- neovive 11y agoYes. MongoDB is the only officially supported application for Collections.
- goodoldboys 11y agoMeteor is awesome! Really happy to see these latest changes - I'm excited to get started with ES6 and also get away from Blaze and start using React. As soon as they release SQL support, Meteor is really going to take off. For those of you on the fence about using meteor, I highly highly recommend it. It's silky smooth and really easy to get a basic webapp up and running (check out https://github.com/themeteorchef/base https://github.com/themeteorchef/base for a great starter repo that I use all the time)
- neovive 11y agoI've worked with Meteor on and off for the past few months and it's very fun and fast for development. It's very exciting to see how quickly Meteor is moving ahead. I'm eagerly awaiting the official release of Galaxy as production deployment is a bit involved with different options to piece together for Mongo and Node hosting. My biggest concerns are the lack of official support for server-side rendering, routing and relational db. Although, many of the common concerns you'll see in the HN comments are on the development roadmap[1]. [1] https://trello.com/b/hjBDflxp/meteor-roadmap https://trello.com/b/hjBDflxp/meteor-roadmap
- mizzao 11y agoFor those who really don't want to install Meteor, you can even run it right in your browser: http://meteorpad.com/ http://meteorpad.com/ (JSFiddle-type thing for Meteor)
- 289375223 11y agoI am debating between meteor and relay at the moment. I am thinking relay. Maybe because of graphql, maybe because I don't like the fact that Meteor was pushing Blaze up until recently. I don't know yet. Anyone want to do a comparison of the two? :)
- rgoomar 11y agoI have looked at both and Meteor has had the architecture that Relay provides for a longer time. On top of that, it is easier to use / setup and allows you to get developing at a faster pace and still use React. TLDR; Meteor and Relay are very similar, but Meteor is much easier to use.
- waffl 11y agoHopefully not too off-topic but is there a reason some people refer to the new spec as Ecmascript 2015 or ES2015 vs Ecmascript 6 or ES6? I was a bit confused and had to look it up, and had never heard of previous specs being referred to as ES2011 or ES2009.
- rgoomar 11y agoIt used to be called Ecmascript 6 (aka ES6), but the name was changed to help enforce a more frequent update. So, it changed from ES6 to Ecmascript 2015 (aka ES2015).
- lisowski 11y agoI love meteor and can wait for galaxy! atmosphere is awesome, so I can only expect something amazing. The react integrate is pretty cool too I just did a trello clone to learn more about react https://github.com/hipstersmoothie/react-meteor-trello https://github.com/hipstersmoothie/react-meteor-trello Now I just need a new project to use react with!