Google Says Angular 2 Will Support Python, Java (thenewstack.io) 92
An anonymous reader writes: Google will release a faster beta version of Angular 2 in about two weeks, with a smaller version targeted for April. "We're improving our ability to handle different languages," says Google's Brad Green, noting that 213 contributors are currently working on Angular. "Our plan is to have versions that will work with many server-side technologies, from Java to Python." Microsoft has already demonstrated how it's building Angular into ASP.NET and Google is also working with the Drupal team. But Green says they'll also continue supporting Angular 1 for at least another year, until a majority of users have transitioned to the new syntax. Google says there are currently 21.3 million developers using Angular 1, compared to just 300,000 using Angular 2. "We've got a ways go to," Green admitted.
js crapware fad of the month (Score:5, Insightful)
Re:js crapware fad of the month (Score:5, Funny)
To their credit, they did the right thing in incrementing the major version number.
>> Google's Brad Green, noting that 213 contributors are currently working on Angular...Google says there are currently 21.3 million developers using Angular 1
1 developer for each 100,000 users. Coincidence...or aliens?
Re: (Score:2)
1 developer for each 100,000 users. Coincidence...or aliens?
Either one of those, or a sudden resurgence of feudalism. You might want to join as a contributor just to be sure.
Re: (Score:3)
That sounds *exactly* like the thinking of a machine to me.
Where's Keanu Reeves when you need him?
Re: (Score:1)
I still think that .net will go away soon
You think that because you're ignorant and don't know WTF you're talking about. If you think that .net exists only for web development then you don't know .net and if you think that web or phone is the only type of computing we'll need in the future then you're really out of it. The part of the software world that most consumers see on a daily basis is actually a very small part of what's out there and arguably it's not even the most important part.
Re: (Score:3)
no one values a stable web platform any more?
There has never been a stable web platform for frontend.
Re: (Score:1)
Re: (Score:2)
Re: (Score:2)
If you look at a web page from the 90s, here's an example so you can remember [arstechnica.net], it's not going to be acceptable to modern users. It looks ugly. Furthermore, the tools used to build it (like tables) are outdated, and your coworkers will yell at you if you use them now.
Moving forward, in the early 2000s, everything looked really square, so now, if you don't add a radius to the corners of your divs, then people will say,
Re:JAVA? (Score:5, Funny)
Who uses Java anymore? I thought that stuff was virus-prone. I haven't installed Java in years.
It's depressing that I can't know for sure if you're trolling or genuinely that stupid.
Re: JAVA? (Score:2, Funny)
You are on slashdot. Odds are he's technically illiterate but thinks he's really in the know because he "hacks on linux".
Re: JAVA? (Score:2)
What is Angular? (Score:5, Funny)
I'm assuming this is some sort of fishing-related framework.
Re: (Score:2)
Who knows? You can be sure the /. won't tell you.
Re:What is Angular? (Score:4, Interesting)
Re: (Score:2)
Not all nerds are web developers, but all web developers are nerds?
Re: (Score:2)
No, web app people treat development as a day job, to tide them over until that acting gig kicks in.
Re: (Score:2)
What?! You mean this 6-figure job I've been doing at a fortune 50 company for the last 14 years is just a temporary gig? Why didn't anyone tell me?!
Front end? (Score:5, Interesting)
Re: (Score:3)
Re: (Score:2)
Re:Front end? (Score:5, Interesting)
The main case for backend support is isomorphism.
You run into a few problems when you put angular1 or 2 apps into production on the SEO side of things and also on the first hit performance side of things.
For the SEO side of things, even though the google bots do execute javascript they do not wait for async actions to complete. Angular Apps usually load some templates via XHR and/or json data from a service, so these won't complete and google will index a broken site where nothing works.
( Don't mention prerendering via a headless browser, this does not work and will never work )
On the other side of things even if you inline and minify templates etc... you will always either have a big bundle of templates to download on the first hit ( more than you acutally need ) or load them individually... So you end up with a lot slower first hit experience than you might want.
Enter isomorphism: The idea is to have your client side routes also exist on the server, so that when a user or google comes in the server can render out the necessary templates and even service data directly to the returned page, so zero async calls are required and rendering can start immediatly .all while downloading the EXACT content needed for that. and no more.
Afterwards the normal rendering process takes over and its business as usual.
This requires server support ( we had to write it ourselves for ASP.NET Core 1.0 in my last project ) and ideally should be DRY....
We currently configure our angular ui-router routes just on the server specifiy template and data dependencies and the server renders it out exactly like that ( prepopulating the template cache and the data cache of angular 1 )
We have gotten our first hit time to a fully rendered page ( neglecting any networking latency ) down to 50ms that way, and we have no extra work anymore to keep the SEO people happy.
Re: (Score:3)
Wait, what? You're saying that if I went to http://example.com/x/y/z [example.com] Directly I'd get the exact same HTML rendered out as if I'd gone to http://example.com/ [example.com] and clicked a link to /x/y/z ?
So basically, after forcing all this ajax on everyone for years you're finally getting back to Web 1.0 with proper links that actually link to stuff instead of linking to a pile of javascript
Re: (Score:2)
This is a 5 comment. Not sure why it isn't up there.
Re: (Score:2)
Should work with any type of server side technolog (Score:5, Informative)
Angular.js is a framework that runs on the client, typically a web browser. At the minimal you need a web server written in any old language and it communicates to the server via existing protocols, AJAX, HTML forms, etc. Any backend language will work. I use Angular2 beta right now with my Perl based web application.
Maybe they intend to release tools and plugins for popular frameworks to make it easier? I have no idea...
They should call it !Angular (Score:3, Interesting)
I was a major fan of Angular until all this crap with Angular 2.
Was it *really* necessary to make fundamental changes to the syntax, thereby making it completely incompatible with Angular 1? It's dishonest to even call it Angular 2, when it has almost nothing in common with the previous.
And everyone thought Java's constantly revolving APIs were bad...
Re: (Score:3)
The core language was stable, but because they didn't differentiate between the language and the support libraries, it basically amounted to them continually 'changing' java. Java now has a bajillion different ways of doing the same things. There are multiple windowing toolkits (AWT, Swing, etc), and don't get me started about server side stuff. JSP. Faces. It's ridiculous, and makes it unnecessarily difficult for people to get into java development cause there are too many equally valid sub-technologi
So when will this majority switch exactly? (Score:4, Insightful)
I don't see how it is possible to have the majority switch to anything from their existing code base. I predict a gigantic fail for this plan of switching people from AngularJS 1 to AngularJS 2 in a year. It's nonsense.
Let me explain something to Google here: vast majority of projects will not be rewritten with AngularJS 2, if they have AngularJS 1 as the code base, they will stay AngularJS 1 and will continue being developed as AngularJS 1. It takes MONEY to switch from one framework to another, money that most projects already spent on design, development, testing and releasing into production in the first place.
Re: (Score:1)
It's going to be python2/python3 all over again.
React (Score:3)
I've never used Angular or React, but I keep up with the JavaScript news and from everything I've read over the last year many developers have moved from Angular to React. My gut feeling is that Angular 2 will be too little too late. Or maybe that is too much too late since many developers seem to be moving away from monolithic frameworks like Angular to using best in class libraries (which many consider React to be). Only time will tell I suppose.
What will the Cool Kids use? (Score:3)
I have also been trying to choose between React and Angular for my next web effort. Without any clear release schedule for Angular 2, it seemed a tossup. Now that I've found out how far along it is the only rational choice is Angular 2.
So Google has 231 confirmed contributes for Angular 2, and React has how many? Does anyone actually know? And since Google will be shifting resources from Angular 1 to Angular 2, it's clear th
Re: (Score:2)
Brand X? React is developed by Facebook. And unlike Google, Facebook actually uses React extensively.
Re: (Score:1)
The difference between Angular and React is that Angular is code in an HTML document and React is HTML in a JS file. So Angular favors designers who do little or no JS coding. React requires everyone to code JS.
It's a team skillset question, rather than which is superior.
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
React = Facebook and friends.
Both platforms are going to be around for while, like J2EE.
Long term support (Score:2)
Angular 1 for at least another year, until a majority of users have transitioned to the new syntax
Who wants to code on an API that has precedent of being broken so quickly? This is the promise of either redo the same thing every coupe of years, or forget about security updates.
So when will we ever see useful results? (Score:2)
When will websites be more functional? When will they be faster and less riddled with glitches? I see an increasing number and variety of fancy "loading" dialogues someone somewhere must have spent a lot of time on but never a logical explanation of why I should have to wait in the first place for seemingly superficial reasons (loading cesspools of JavaScript frameworks) or why navigation is so painful (moar round trips!!) with browsers stuttering to keep up and basic navigational elements (back, forward)
Re: (Score:1)
I too wonder what happened to the idea of the actual content being in the HTML delivered and addressable by an URL, the optics being in CSS (and resources linked from that, see http://www.csszengarden.com) and scripts to make interaction with the content smoother (but purely being optional) ?
I don't get it (Score:2)
I am just wrapping up a project with django+python on the back end, and angular on the front end. Works fine right now.
1.3m Angular 1 devs (Score:1)
python (Score:2)
i hope they do better then python, the switch to python 3 is still going on, with so many people staying on python 2 because module x & y don't work yet on 3.
If they can pull it off, perhaps the python community can learn from it and clean up the current mess they have on their hands.
Good job (Score:1)