What do we the community do with Blaze?

Perhaps what we should be asking is, with a $20m investment, why MDG continues to lean on itā€™s community and third-parties to help out with ITā€™S product?

Iā€™ve the domain blazejs.com would love to get it setup if people are interested, Iā€™m still big fan of blaze, i would love to contruibite to the project.

5 Likes

Could you please elaborate a bit on that, e.g. by providing a link? Iā€™ve not heard about such issues before (maybe because I stick to Blaze :slight_smile: ).

I would love to help. I had stopped working on the blaze website since I thought blaze would be abandoned and then I forgot about it.

1 Like

Hi,

I also want to say that React and GraphQL seem perfect for Apps like Facebook, when there are many Components on the screen. For smaller apps Blaze could still be the Framework of choice.
Also the centralized state handling is only better for larger applications I think.
What bothers me about Blaze is that first the two brackets ("{{ā€¦}}") can be replaced by one (or is there any other use for one Bracket in HTML?) and second that one should be able to write most of JS within that brackets (maybe a miniJS or so or it could be just preprocessed into a helper file). Also the use of # for if but / for if-end just doesnā€™t seem intuitive to me, donā€™t know how others think of that. The way it is right now seems a little brittle, meaning I never know what is allowed at all (in terms of if, with etc. clauses) and then I end up writing helpers for almost every statement.
Also Session.set("ā€¦") .get("ā€¦") etc. get unhandy with time, same goes for ReactiveDict etc., maybe the syntax could be just like in normal variables: x = ā€¦; or x.a = ā€¦; instead of ReactiveDict x.set(ā€˜aā€™, ā€¦); and then be preprocessed.
I mean it is just that with time it gets inconvenient.

Other than that I always liked the feeling of working on one distributed app instead of fronted, backend, server, client separate etc.

And also reactivity makes it easier for most apps, of course, for an app like Facebook it is impossible to update all changes.

1 Like

@mitar had some great comments about the future of Blaze here:

Regarding

the answer is here! :slight_smile: Take a look at the open issues and jump into the discussion. Things are pretty quiet right now, but if people are interested in keeping Blaze going things could really pick up.

3 Likes

@msavin: Incremental loading isnā€™t all that important to me, but your theory is correct.
Blaze Templates can be passed in as helpers (thatā€™s how my Blaze Modules package functions), so loading them via methods is pretty straightforward.
How incremental do you want to beā€¦ are just the templates lazy loaded, or are the JS files that reference those templates also going to be lazy loaded? If so, there needs to be a convention for storing them so the loader knows the 2 should be tied together.
Hereā€™s a sample app that loads on demand a template from the ā€œprivateā€ folder: https://github.com/nathantreid/blaze-lazy-example. It wouldnā€™t take too much to have that also import a .js file by the same name (or perhaps .blaze.js), and it would also be pretty straightforward to convert that into a build plugin that compiles all the server side templates and caches .blaze.js files, then sends them to the client on demand via a Method call.

5 Likes

Current blocker for further development is this ticket: https://github.com/meteor/blaze/issues/13

We have not been able to find a good working approach. Any innovative solution?

1 Like

On the React patent issue, itā€™s a non-issue: https://www.reddit.com/r/javascript/comments/3zgo35/reactjs_licensingpatent_issue/cym77l0

2 Likes

I think two things that could be nice would be:

  • Blaze hotloading. There isnā€™t terribly too much work to do here, I had something similar going in the fview-lab if people recall that (sorry, no link, it was hosted at meteor.com and I havenā€™t deployed anywhere else yet). Itā€™s planned for my react-hotloading code to become more generalized so that someone working on this could use it (until then, best to develop as an isolated module in webpack I guess :)).

  • Blaze virtual dom. I started this at https://github.com/gadicc/meteor-blaze-virtual-dom, Iā€™ll clarify/commit with an MIT license if someone wants to carry it on. I stopped working on it when it became clear that MDG had stopped investing in Blaze.

I would have loved to have gotten involved in all this stuff but unfortunately Iā€™m too invested in React now. But Iā€™ll try give input where I can.

3 Likes

@msavin di you give a try to vuejs ?
I liked Blaze because itā€™s simple, and it allows to build something quickly. I disllike React for many, many reasons, but i like the concepts it brings with. For our latest professionnal project (huge international media website - cannot tell the name actually) we choose VueJS.
I can say that :

  • itā€™s really simple, maybe simplier than Blaze
  • itā€™s powerful : its directives are cool and it allows me to code faster and faster
  • i donā€™t need anymore Blaze

But, i still donā€™t have tryed VueJS + Meteor.
MDG will donā€™t put a lot of money on Blaze for long time, so we have to try the best alternative for quick devlopement, and i think that VueJS is the best solution. It only lacks a cool support for Meteor.

3 Likes

Does anybody have an experience or a review of Mithril? http://mithril.js.org/

Mhh this is a Blaze topic, so we should discuss about Blaze improvements and not other JS frameworks. If you want to extend Blaze to have components or a better state handling, you can use ViewModel or Blaze Components, both work out of the box with Meteor.

4 Likes

Thought this will never be asked. Iā€™d be very happy to contribute.

1 Like

This is awesome man!

Edit: and wow, that took like two dozen lines of code :joy: too good

1 Like

Iā€™ve yet to try it - it does look interesting though. From my look into it, I feel Blaze is a bit nicer because it has a custom build tool for it, but I should probably look closer in.

Well, it doesnā€™t quite sound like this guy is a lawyerā€¦ Iā€™m still waiting for mine to get back to me

1 Like

I think what youā€™re trying to say is: there are people in the community that help advance MDGā€™s mission and interests, so what, if anything, does MDG give back?

I think what Iā€™m trying to say is: MDG received $20m last year to further the Meteor platform and develop a legitimate business around it. They seem to be struggling to get sufficient development resources to maintain features that many have invested time and effort integrating into their commercial projects. I feel like I am being continually let down by this chopping and changing of agenda. Meteor seems to be heading towards becoming a wrapper for third-party-ware. In doing so, they are exposing themselves to the licences and agendas of those third-parties, over which they have no control.
I beleive that it was their intention to be non-opinionated. But in doing so, they end up chasing their own tail trying to keep up with all the new sparkly things that crop-up rather than concentrate of forming rationalised opinions about best-in-class methodology and making it their own.

2 Likes

Says who? Iā€™d imagine what MDG plan to do with their funding is pretty commercially sensitive info they wouldnā€™t be planning to share with their competitors.