Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7856741
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T20:48:21+00:00 2026-06-02T20:48:21+00:00

How do I run dart in a server? say in localhost or any web

  • 0

How do I run dart in a server? say in localhost or any web server? Currently google provides a dart editor which executes the code in dartium browser. Also even if I get to run it on a server would it be visible to others viewing the page in a browser other than dartium?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T20:48:23+00:00Added an answer on June 2, 2026 at 8:48 pm

    When you create a new “Web Application” using the Dart Editor, it creates a .html file and a .dart file. The html file uses a tag to link to the .dart file, eg:

    MyApp.html //contains <script type="application/dart" src="MyApp.dart"></script>
    MyApp.dart //contains dart app code.
    

    The editor can also generate a javascript file from the .dart file, eg:

    MyApp.dart.js //contains dart app code converted to JS
    

    As far as a web server is concerned, these are simply static files that get served to the browser.

    The html file contains a link to a special JavaScript script which can identify if the browser being used has native support for Dart (ie, Dartium).

    • If it does, then then the MyApp.html and MyApp.dart pair of files is used.

    • If the browser does not support Dart natively, then the special script dynamically changes the script element to point to the MyApp.dart.js file instead, so that the browser receives the javascript version of your app.

    This means that you can copy the three files (.html, .dart, .js) onto any web server (localhost or otherwise), and simply browse to the .html file.

    For completeness, the “special script” can be viewed here:
    http://dart.googlecode.com/svn/branches/bleeding_edge/dart/client/dart.js

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was following http://code.google.com/p/dart/wiki/BuildingDartium#Build and attempted to build dartium in Release mode and encountered
We run an AI programming competition in which contestants will code an AI that
I run this code: graphic.addAnimation("standart",new int[] {0,1},1.0,true); which calls the graphic.addAnimation(String,int[],float,boolean) Method: public void
I run MSIL inside Visual Studio or via Mdbg. Is there any way of
I run into follow problem. Did I miss anything? Association.all().count() 1 Association.all().fetch(1) [Association(**{'server_url': u'server-url',
I run a Java code with the following command: $ java -Xms4G -Xmx4G myjavacode
I run the following Gert's extract command to the data dump file which format
Run the following Java code: boolean b = false; Double d1 = 0d; Double
I run my sites all on InnoDB tables which is working really well so
I run 2 servers, 1 web (nginx/php), 1 database (mysql). Nginx has about 1500

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.