3 ms·
I'd like to think that the future will not always be Facebook, YouTube, and Twitter.
by lazugod 17y ago
I'd like to think that the future will not always be Facebook, YouTube, and Twitter.
- blasdel 17y agoOf course not, but the future will continue to be visited primarily using a web browser.
- krainboltgreene 17y agoGod I hope not. I hope some day I wont have to use HTML, CSS, Javascript, and a serverside language just to write an app. I'd like to just use one language and hit all platforms.
- blasdel 17y agoYou don't necessarily have to touch the markup directly, your app can essentially be pure JS (or compiled to pure JS) that paints it all into the DOM dynamically (see http://cappuccino.org/ http://cappuccino.org/) You don't need a server-side language if the app doesn't really need to communicate with your server. You can do everything client-side with LocalStorage (SQLite) and cached assets. If the page has the right metadata on it, "Add to Home Screen" saves the whole app locally. And there's no reason why the server, if it needs to exist, shouldn't be executing the same language (see http://nodejs.org/ http://nodejs.org/) The modern web is the platform. There are nice local platforms, but your "write once run anywhere" 'native' app isn't going to fit in on any platform that actually gets used.
- krainboltgreene 17y agoI don't want to use Javascript. I want to use to be able to use any language to write web applications. Any one language. :/ I think we're really choking ourselves as hackers if we let Browsers either end up as completely JS or the hacked together combination of (poorly enforced) HTML, (ugly syntax) CSS, and Javascript
- mooism2 17y agoWell, that's easy: just write a compiler for your favourite language that outputs javascript (plus glue to integrate with jQuery/MooTools/whatever).
- ekiru 17y agoIf you use Cappuccino, you're down to, at most, two languages: Objective-J and your server-side language. Considering that Objective-J is essentially a superset of Javascript, if you're okay with Javascript as your server-side language(or if there's some Objective-J-based server-side framework I'm not aware of), you can create web applications using just one(or, if you don't count Objective-J and JS as just one language, 1.5, at most) language this very moment.
- martinp 17y agoGWT (Google Web Toolkit) lets you write webapps using only Java, the GWT compiler compiles/translates the code to optimized and cross-browser compatible JavaScript. If you also use Java on the serverside, you're down to one language. There's also a plugin that integrates nicely with Eclipse.