As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am completely new to dart, i never done any programs in dart, but i am curious and have few questions, I understand dart can run in server side as well, so is that mean it is not only the client side programming (like javascript), as well we can write some server side code as well ? (Like java),
in that case when i go for enterprise level big applications, does dart depends on any server side languages like Java?, and what is the level of database support with Dart?
May be the question would be what it can or can't do in web.
Thanks in advance.
Dart runs serverside in a VM. You will be able to run a dart application on a webServer and also access files on that Server. There is a library dart:io which allows you to do that. IO works only serverside.
Dart does not need Java or any other language to work. You have the Dart VM (serverside) and clientside your dartcode will be compiled with dart2js to javascript.
There are few projects that deal with databases. But from my understanding there is nothing yet out there that is really awesome.
Just search for Database Drivers here: http://blog.dartwatch.com/p/community-dart-packages-and-examples.html
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
Dart supports interfacing with the native libraries (Ref: http://www.dartlang.org/articles/native-extensions-for-standalone-dart-vm/). There are some decent libraries available for socket communication, interfacing with databases and dealing with filesystems. Barring desktop GUI applications, I don't see any reason why it cannot be used as a general purpose language. What are advantages/disadvantages of Dart being used as a general purpose language (including performance)?
Yes. Dart can be used as a general purpose programming language.
Advantages:
It's fast, already faster than V8, and catching up to the JVM (Though
it starts up much quicker).
It's great for scripting on macos/linux. You can prefix a source file with #!/usr/bin/env dart
Backed by a large team/company who are developing it in the open, along with an active community.
Good documentation and articles.
Disadvantages:
It's new. There are far more libraries available for Java, Python and node.js than for Dart.
There are likely to be changes to the core IO libraries before it hits 1.0.
No built-in support on cloud-hosting platforms, though there is a heroku buildpack.
Note you can build GUI applications using dart2js and chrome packaged apps.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I just wanted to get a view on why one should use DART over JS, specially if you are working on the front-end; the Dart VM isn't even built into Chrome.
Don't worry about Chrome, it will be shipped within Chrome at some point when the stable 1.0 is out.
A couple of reasons why you might want to choose Dart over plain JavaScript for front-end development:
Better DOM API
Being more productive
Simpler and clearer semantics
Lexical closures
Libraries and a package manager
Optional static typing
Literally tons of little details that as a whole makes it a far nicer experience (named parameters, arrow functions, etc.)
You might want to read this chapter as it explains various things that Dart can do: http://www.dartlang.org/docs/dart-up-and-running/ch02.html
You can also read this answer to the question "Does Dart have any useful features for web developers?"
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I am building a web application that have several requirements for the client:
1. It should be one page (web app).
2. Contains complex UI elements (that I need to draw/create).
3. Support client side coding (data comes from 3rd parties and needs to be rendered in the browser.
I was leaning toward Vaadin but I'm not sure it is flexible enough for #3.
I don't care too much about the server side, I have a Tomcat server with servlets that provides all the data needed to be rendered (besides the data taken from other server).
I do care about the client side, but have zero knowledge in JavaScript.
My last web client was a complex Flash application, and Vaadin simply seems the "closest" way.
To conclude Given this info should I go with a Vaadin (or Wicket) solution?
Or invest time to really learn HTML5/JavaScript/CSS and build my UI in a conventional way?
(with possible help from Backbone/Ember/jQuery and/or any other)
Thanks
I think you should get started in HTML, CSS and JavaScript. The skills are very transferable and it is easy to get started (although there is lots of depth in these areas, so you'll never stop finding new things).
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
Web frameworks are everywhere, and I can't think of a programming language that hasn't a web framework implementation (at least those that I know of). Vala seems the programming language Linux developers were waiting for since ages, it borrows a lot from C# which is very good IMHO.
Yes, Vala was implemented to develop good Gnome applications, but still; we've seen crazy implementations like node.js. How likely are we to see a Vala based web framework? Is it feasible? Is it a good idea?
There is a web framework called Valum in development. It's just been started, so it still very basic.
As an aside, I've not seen a web framework in plain C, otherwise, that could be bound to Vala.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I think the best part of flash is the possibility to create not squared user interfaces, so I like the idea to create desktop apps using flash. I know AIR is for that but it doesn't allow real access to OperatingSystem apis and dlls and the commercial options are kind of difficult to customize.
You can try ScreenweaverHX:
http://haxe.org/com/libs/swhx
It's the Haxe-based successor of the old Screenweaver. However, it's not as simple as the old version used to be. Most likely you need to take a look to the basics of Haxe and Neko, the 2 technologies it's based on.
There's another project on top of SWHX that it's called HippoHX. It aims to "complete" SWHX providing that extra functionality you might miss (simple ActionScript APIs and a GUI). However, it's in its early stages:
http://hippohx.com
DISCLAIMER: I'm the owner of HippoHX, so my point is obviously biased.
As far as I know SWHX is the only Open Source alternative at this point.
Try flajector. it's powerfull converter from flash to exe. You can to develop your application using AIR. And then you can convert it into desktop application .exe