Suheimi Antonius
Suheimi Antonius

Reputation: 31

newbie: lamp stack to dart vm

This is a newbie question, I have not read any dart doc, I just saw the video from Google I/O 2013. My company has webapp using Linux apache mysql php. Say,my aim is to change it using dart vm, but slowly. Maybe I'll write dart, convert it to javascript. My questions: 1. can I replace the php part with dart (convert to js) while still using LAMP ? 2. if the dart vm already installed in a VPS, can client access it using other browsers beside chrome?

Hope this is the right place to ask the question. Thank you

Upvotes: 0

Views: 79

Answers (1)

Danny Tuppeny
Danny Tuppeny

Reputation: 42383

  1. Yes, you can replace PHP with Dart and run it via Apache. See this article. There are some libraries to also enable connecting to MySQL (like this one).
  2. The Dart VM is unrelated to client access; the Dart VM on the server would only be used for server-side Dart. Client-side Dart is generally converted into JavaScript using dart2js (via pub build) and this will work with all modern browsers.

Upvotes: 1

Related Questions