[Plornt]   -  Jun 30, 2013

34 Lines of code to do this: http://i.imgur.com/Ka7OC2u.png

http://pastebin.com/MgbJRY8a

Im starting to really hate my choice of language xD

MoshMage  -  Jun 30, 2013

What on earth is this? Node.js?

[Plornt]  -  Jun 30, 2013

Dartlang, as it currently stands the server side stuff is very node.js like. They are going to update sometime in the near future to make it more like PHP and other web based server side languages.

Sorasyn  -  Jun 30, 2013

It almost looks like a mixture between C#/Java and C/C++ given the method, and class declarations.

MoshMage  -  Jun 30, 2013

That's a plus!
Still, that looks like a mix of node.js and pure java. (only place where i had to use List and Map and whatnot).

Hey, They say their shinig new; Maybe with time they'll be awesomer -- Otherwise you can always go (back?) to php :D

[Plornt]  -  Jun 30, 2013

Heh, I present to you the following code: http://pastebin.com/JVL4Ds6C

Want to take a guess what it does? Selects from the database and makes a table of the results xD

[Plornt]  -  Jul 01, 2013

Welp, its about to get even more confusing, at the moment the server only does one request at a time. Which simply put, sucks. The issue is I need to turn each request into an isolate which recieves updates from the main thread regarding changes in other isolate threads. The next issue is that Dart doesnt report on how many isolates an application can have so on program load I have to get it to run another dart program which outputs the amount of isolates it created before crashing.

I've not even thought about how I am going to get to sync data between isolates.

FUN.

Sign in to comment

Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.