Live data from Hacker News

FOAM: New JavaScript Framework by Google Engineers

github.com

91–100 of 115 posts

Re: FOAM: New JavaScript Framework by Google Engineers

#91

Oh boy, yet another JavaScript framework. Colored me unimpressed; angular, backbone, ember, angular 2.0, react, etc. I feel like they're just reinventing the same wheel with a different spin. I wish people would actually spend their time creating a really revolutionary "framework" instead, better yet a programming environment, which would redefine how we write web programs. I'm envisioning a way to create software, w…

I've been thinking about this as well. A visual and intuitive way of building software would make software and code as disposable as paper. Do you want to help build a system that is universally distributed and allows creation by everybody? I want to build something that will allow every person to create software on their touch screens without having to fiddle with complex interfaces or text-based commands. Do you wa…

A Mozilla effort: https://webmaker.org/

Re: FOAM: New JavaScript Framework by Google Engineers

#93
post #56
post #2

Doesn't seem to actually be by Google. Perhaps the title could be changed to "by a Google Engineer"?

I was at EmpireJS where this was announced and they said they had a team of Googlers working on it, and showed a few production Google apps built using it.

Interesting. Can you offer any details on which production Google apps were presented?

Re: FOAM: New JavaScript Framework by Google Engineers

#94

I use Google's Javascript framework. GWT? No, the other one. Polymer? No, the other one! AngularJS? No, the other one!!

GWT is a set of tools which allows you to write JS front-end applications in Java.

Polymer is a library for creating Web Components.

Re: FOAM: New JavaScript Framework by Google Engineers

#95

> FOAM is a full-stack Reactive MVC Meta-Programming framework. Inevitably reminds me of this: http://html9responsiveboilerstrapjs.com/ I understand MVC, but what is reactive meta-programming exactly?

Simplifying -

Reactive:

The display automatically changes when some data changes

eg http://foam-framework.github.io/foam/foam/index.html?model=f...

the one clock moves when you move the other

Meta-programming:

The writing of computer programs with the ability to treat programs as their data. Examples of meta-programming include Lisp-macros and C++ Templates. FOAM does this through code-generation, but for Javascript, it does this mainly by dynamically creating prototypes as maps of functions.

The above is a bit cut and pasted - I have not fully figured what FOAM does

The reactive bit is quite cool in Meteor.js because if you change something in the database then any page displaying it updates on all clients simplifying things like chat apps. I have not figured if FOAM does that of if the "full-stack" bit includes the server side and database code like it does on Meteor. Anyone know?

Re: FOAM: New JavaScript Framework by Google Engineers

#97

Earlier quoted context omitted.

And hackernews wasn't full of snarky one liners. Did you even read further than that before you just had to get your comedy 'out there'?

I did. After reading the whole page I was not able to determine what it does ... Edit: Also 5 years ago HN was even fuller with snarky one liners and eyebrow dismissals.

My apologies. I had a knee jerk reaction to what I though was wanton pessimism.

Having read the docs now I'm more inclined to subscribe to your initial onion theory.

Re: FOAM: New JavaScript Framework by Google Engineers

#98
post #50

Earlier quoted context omitted.

Bold, and beautiful!! Quick everyone, scrap all your existing frameworks and jump on the flavor of the week! Seriously though, I think it's borderline negligent to contribute any kind of hype to new javascript frameworks considering they are spraying out into the ecosystem like a broken fire hydrant. New javascript frameworks should be met with extreme skepticism, if not indifference, if we want this industry to be a…

It looks like this framework goes back ~3 years. So, why would you consider it the 'flavor of the week'? Because someone posted it to HN? That doesn't seem to be much of a threshold. Also, it looks like this framework could be of use in other languages aside from javascript.

It was just publicly announced this week.

Re: FOAM: New JavaScript Framework by Google Engineers

#99
post #50
post #36

This is a bold take on a problem that a lot of people have written away as reinventing the wheel. But color me impressed! Unlike almost every other Javascript framework we've so far seen, FOAM makes the data model the primary entity in the system, which is a good idea. In the typical UI-driven development of web applications, the data model often gets modified without much thought and causes cascading complexity acro…

Bold, and beautiful!! Quick everyone, scrap all your existing frameworks and jump on the flavor of the week! Seriously though, I think it's borderline negligent to contribute any kind of hype to new javascript frameworks considering they are spraying out into the ecosystem like a broken fire hydrant. New javascript frameworks should be met with extreme skepticism, if not indifference, if we want this industry to be a…

Isn't that progress though? How else would we figure out a better way to do things if not to see how others are doing it. Many times a framework is, 'Here is how we've been doing things on our team, check it out! It might be useful to you as well."

Then others pick up on those ideas and so on and so forth. They don't simply sit there and say.."oh well...we should make our own framework because we don't like the ones that exist and want to make this industry incredibly difficult." No, most frameworks that have been released, especially ones that have been worked on by many people, have a purpose...a way of doing things different, that those team members like. If you don't like the way they have come up with...you don't have to use it. That's the beauty of it. There are many ways to accomplish front end development. Even in my case, if I don't want to use it ever, it is still benificial to see how others are doing things because you can take bits and pieces of their ideas and use them. Id' like to see more well thought out frameworks.

This "we have too many frameworks" crowd always post the same comments every time a framework is announced. It's becoming tiring hearing from you guys. Nobody is forcing you to use a framework... It's literally the same as saying.."we like how we did things 5 years ago, and we never want to change."

Welcome to the wild, wild, west of web innovation. If you don't like constant change, this may not be for you.

Pro Tip: If you learn JavaScript first and not a framework, adopting new frameworks can be done very fast. I find most of the people who post and cry about there being a new framework are the ones who don't really know JavaScript.

Re: FOAM: New JavaScript Framework by Google Engineers

#100
post #74

Earlier quoted context omitted.

Can you give a short gist of why they're bad and why should one move out of classes/new? What is the alternative?

From the video: function constructor(spec) { let {member} = spec, {other} = other_constructor(spec), method = function () { // accesses member, other, method, spec }; return Object.freeze({ method, other, }); }

Doesn't support inheritance.
Post reply on HN