Is monkey able to do budgeting apps

Monkey Forums/Monkey Beginners/Is monkey able to do budgeting apps

MichaelUK(Posted 2014) [#1]
Hi

Is it possible to do normal desktop apps like shopping lists and budgeting programmes/apps reason I ask I am new to Monkey just downloaded the free version coming from blitzmax. A friend asked if it would be possible to combine a shopping app with a budgeting app on android so she has it on her phone and has a more detailed version on the pc with a much more thorough breakdown of income and expenditure, is this possible with Monkey or is it just a game building language?
MichaelUK


Jesse(Posted 2014) [#2]
of course it can! For that purpose, it is probably more limited to your skills.


Gerry Quinn(Posted 2014) [#3]
An app is just a game that isn't any fun ;-)


darky000(Posted 2014) [#4]
^ I wholeheartedly agree to that. :)


skid(Posted 2014) [#5]
I advise you use an integer type to store all values in units of cents.


MichaelUK(Posted 2014) [#6]
Okay thanks for the replies guys, going to look at building the app my friend is wanting i feel this will be a good way to get to grips with monkey :)


Why0Why(Posted 2014) [#7]
The primary issue for apps at the moment is database access(or lack thereof) and GUI.


MichaelUK(Posted 2014) [#8]
Hmmm maybe i need to think again about this i was hoping there would be something in place for GUI and database functions by this time since monkey as been around awhile now.


AdamRedwoods(Posted 2014) [#9]
non-native gui:
http://monkeycoder.co.nz/Community/posts.php?topic=5243&page=1

sqllite wrapper for desktop:
http://monkeycoder.co.nz/Community/posts.php?topic=4710


Why0Why(Posted 2014) [#10]
Is that GUI available for download somewhere? I have been following it for a long time but i didn't think it was released.


AdamRedwoods(Posted 2014) [#11]
you're right! try:
challenger:
http://monkeycoder.co.nz/Community/posts.php?topic=2767&page=first
or jungle:
http://monkeycoder.co.nz/Community/posts.php?topic=3185&page=first


rIKmAN(Posted 2014) [#12]
Adam, does that SQLite wrapper still work?

I couldn't get it to work the few times I tried, and nobody replied on the thread.


nikoniko(Posted 2014) [#13]
AdamRedwoods wrote:


Very slooooow.

Why do all do copy of desktop interface? Where is mobile like elements? They are easy to implementation and more actual on any platform.


AdamRedwoods(Posted 2014) [#14]
also forgot about this GUI:
http://monkeycoder.co.nz/Community/posts.php?topic=6132


rIKmAN(Posted 2014) [#15]
Any ideas on the SQLite module you linked to Adam?


AdamRedwoods(Posted 2014) [#16]
Any ideas on the SQLite module you linked to Adam?

http://monkeycoder.co.nz/Community/posts.php?topic=4710#79790


marksibly(Posted 2014) [#17]
It's certainly possibly, but Monkey is mainly designed for realtime games and may not be the best choice for this sort of thing.

That said, I have no idea what the alternatives are given your requirements, ie: running on pc+phone.


nikoniko(Posted 2014) [#18]
marksibly wrote:
running on pc+phone.


Phonegap. Desktop version of App is run as Chrome/FireFox application.


therevills(Posted 2014) [#19]
Phonegap

Ewwwwwwwwwww, Phonegap is bad!!!


Gerry Quinn(Posted 2014) [#20]
I was thinking about this last night. Maybe a budgeting app is not the ideal scenario for Monkey, but it would certainly be technically possible - and I see no reason at all why Monkey could not do apps in general. For example, it would be almost an ideal language for a calculator app in my opinion.
Two things that occurred to me:

1. A more elaborate version on PC is old style thinking. There's no reason why all versions shouldn't have identical capability given the power of modern mobile devices.

2. A non-standard GUI could be an issue with some kind of apps. But you could make a virtue of it: "[APP] is exactly the same on all your devices!". This is why I think it would be perfect for a calculator, say - the interface is non-standard anyway, and you would want it to be identical everywhere.

So, I'm not sure I would entirely dismiss skid's comment on another thread - some kinds of budgeting apps might not be the best fit for Monkey, at least with the current lack of maturity in GUIs etc. But apps in general: why not?

Of course many apps will leverage the capabilities of specific devices and in this case you would likely need some native code. But with several mobile platforms out there, the cross platform capabilities of Monkey are not to be lightly dismissed.

Anyway, those are my thoughts on the matter.


MichaelUK(Posted 2014) [#21]
Thanks for all the replies on this I am certainly going to give it a try and see how far I get if anything it will be a good learning experience for me I think.


nikoniko(Posted 2014) [#22]
Just an idea.
Attach webview control (UIWebView is IOS, WebView in Android) and set a control-data pipeline beetween HTML/JS code for interface and native-from-monkey code for logic.
It's like PhoneGap.


therevills(Posted 2014) [#23]
It's like PhoneGap.

And it'll be super slow and unusable...


AdamRedwoods(Posted 2014) [#24]
Just an idea.
Attach webview control (UIWebView is IOS, WebView in Android)

a very good idea. someone did try this a while back (doubtful the code will work now):
https://github.com/tluyben/Monkey-WebView


therevills(Posted 2014) [#25]
But the WebViews JS engines are a lot slower than the native browsers JS engines... so if a MonkeyX "game" runs slowly on the native browser it will run even worse within a webview...


nikoniko(Posted 2014) [#26]
therevills wrote:
But the WebViews JS engines are a lot slower than the native browsers JS engines


Why?

therevills wrote:
it will run even worse within a webview...


No reason to run a Monkey game in the webview in a Monkey game. WebView is used for common UI interaction only.

AdamRedwoods wrote:
a very good idea. someone did try this a while back (doubtful the code will work now):
https://github.com/tluyben/Monkey-WebView


Thanks. Download it to test.


therevills(Posted 2014) [#27]
Why?

Ask Apple and Google :)

No reason to run a Monkey game in the webview in a Monkey game. WebView is used for common UI interaction only.

Ah, maybe I was getting confused about what you wanted to do...