I have been programming with dart for a while now and after I tried LocalStorage, I wanted to start with a server-side mongo-dart app. So my question is:
What do I need as far as programs and downloads beside the Darteditor and Chromium?
I would be very happy about an answer.
Thanks in advance!
Karl
There is no official MongoDB driver for Dart language mentiond on MongoDB site http://docs.mongodb.org/ecosystem/drivers/.
However you can find a driver on GitHub by vadimtsushko:
https://github.com/vadimtsushko/mongo_dart
He also wrote tutorial http://blog.dartwatch.com/2012/03/building-client-server-dart-app-part-2.html
Hope it gives you something to start with.
Here is a blog post I wrote awhile back that does a full stack example using mongodb and dart
http://financecoding.github.com/blog/2013/01/16/darting-a-full-stack/
The server side is still light, I'd suggest experimenting stream from rikulo http://rikulo.org/projects/stream Might be a cleaner solution then rolling your own web server.
Have fun!
Related
I am a beginner in flutter and would like your help.
I want to get the Google Services Frameword Identifier (gsfid) in a flutter app, but i can't find any plugin for that. I found a fairly old post on how to do it using java, but I couldn't get it to work, as flutter, if I understood correctly, uses kotlin and unfortunately I'm neither a java nor kotlin expert.
I read all the stuff about deviceID and Android_id, which is confusing enough on its own without starting to mention other "unique" ids (e.g. ad id etc).
I have concluded that what suits me for use in the particular application I have designed is the gsf id.
So if anyone knows the subject and is kind enough to help me, I will be grateful and thank you in advance.
Pataridis
I tried to convert the java code I found se kotlin and connect it (methodChannel) to my flutter application, but without any luck
I need to develop a simple CRUD console app to update a list of Trello cards from a CSV file. I'll run the app in TaskScheduler every night. I've installed #gregsdennis Manatee.Trello packages (impressive code!) but cannot find a single (complete example) of anything like this anywhere. All I've managed to do is auth in with app key and tokedn.
Is there a resource out there that shows simple (full) examples of how to get started? #gregsdennis—the C# libraries are extensive and obviously well thought out—I just need a jump start to get me going. Thanks to all in advance!
Here's the documentation site: https://gregsdennis.github.io/Manatee.Trello/usage/getting-started.html
I just wrote my first nodejs program using the node-mongodb-native driver. I used the documentation code from the github page, i.e.:
var mongodb = require("mongodb"),
mongoserver = new mongodb.Server('localhost', 6574),
dbConnector = new mongodb.Db('test', mongoserver);
dbConnector.open(function(err, db){
if(err)
console.log('oh shit! connector.open error!');
else{
...
However, upon looking at some example code on the github page, I discovered that the set up code looks very different from what I used. Does anybody know if there's any real difference between the different methods? I'm completely new to all this stuff and can't really tell if there's any reason to use one over the other. The code I wrote seems to run fine, but if the creator of the driver is using different code, I figured it would be worth checking if there are any reasons for that.
Thanks in advance for any replies!
Sami
Hi I'm the creator and no there is no particular reason you can't use your style. As when it comes to docs I usually tell people to start with the integration tests as there are many examples on how to do stuff. Unfortunately due to having a fulltime job the docs are not kept up to date at the pace I would like to.
I'm hoping to do something with that come late september but right now I'm trying to just get the driver up to the expected features of mongodb including making it work with 1.9.X and higher.
I'll accept any docs pull requests happily as the more the community help me the more it helps itself :)
I'm completely new with Progress. I'm trying to access my Progress Procedure (which works when I export it as an XML-page) in my Android app. I'm using kSoap to do the trick, because I've had some decent results of it.
But I can't seem to access my Progress Procedure in my Android project, can anyone help me to do this?
Thank you very much.
Hannelore, from your comment it looks like you're trying to access your .P via WebSpeed, which is not the same thing as WebServices (it's more of a normal web server).
The URL should look something like http://localhost:8080/wsa/wsa1 (depending on your config). You'll need to install the WSA (WebServicesAdapter from progress.com/esd if you don't have it already), and also something like Tomcat.
Lots more details in the OpenEdge doc (here); specifically look at the OpenEdge Development:Web Services book
-- peter
Do you know where i can find some code examples for the new GWT 2.1 RequestFactory? Google's tutorial is not good enough to begin with.
please check this
http://javaasylum.blogspot.com/2010/11/gwt-21-request-factory.html
and from googler :
https://wave.google.com/wave/?pli=1#restored:wave:googlewave.com!w%252BWU4iAICkI.1
And written in 2011 there are these tutorials which use ServiceLocators and show how to split the server side code using DAOs.
http://cleancodematters.wordpress.com/2011/06/04/tutorial-gwt-request-factory-part-i/
http://turbomanage.wordpress.com/2011/03/25/using-gwt-requestfactory-with-objectify/
Have a look at the DynaTableRf sample from a GWT 2.1 distribution.
Here is the Simple example for Gwt Request Factory...
code is here
AND WORKING URL IS
here