Any chance for http and sql modules?

Monkey Forums/Monkey Programming/Any chance for http and sql modules?

dooz(Posted 2012) [#1]
I know a new file system feature came in the most recent version.

Will be seeing out-of-the-box http access for services calls (web service and rest) and sql database access, e.g. sqllite at least?

I love Monkey, it's a great, powerful, simple language and it works very well. Still needs to key features (actually three), http, database and a good UI (third party ones are good, but built in like MaxGUI).

Hey Brucey, where are all your modules for Monkey!

Thx all, you're doing a brilliant job!


Rushino(Posted 2012) [#2]
HTTP Get is already implemented. You could use a JSON based database like CouchDB or MongoDB.


dooz(Posted 2012) [#3]
I need Get, Post, Put and Delete for Rest services with json. Can those two DBs do local storage on a device?


Rushino(Posted 2012) [#4]
Nope unfortunally they are just REST over web stuff i believe.

- HTTP is rather implemented using TCPStream i believe. There an example which show GET but you could adapt it to do other kind of requeests.

- Database. This one is lacking for sure actually.

- UI. We are starting to see good UI around, have a look at JungleIDE UI made by Ziggy. He already got tons of controls working with the library.

The main problem we have now compared to BlitzMax probably is that the target is multiple. So making an extension for one target might be hard but making it for all its way harder and take way more time.


Why0Why(Posted 2012) [#5]
I would love the db functionality. Adam pointed out wxDB, but getting that ported is over my head.


TheRedFox(Posted 2012) [#6]
sqlite should be an easy one on iOS as the system is native there.

https://developer.apple.com/technologies/ios/data-management.html

Other targets, well...