Page 2 of 2
Posted: Fri Jun 05, 2009 9:42 am
by dell_jockey
Mistrel wrote:An interactive UML modeling tool which supports dynamic reverse engineering of sources for PureBasic.
+1 for the IDE too, but I don't see myself writing one. I'd rather spend the time figuring out how to implement support for PureBasic into Eclipse or NetBeans.
Mistrel,
perhaps you might want to write a PB plug-in for ArgoUML:
http://argouml.tigris.org/ ?
Posted: Fri Jun 05, 2009 11:08 am
by chris_bdnsee
A data awareness application framework for PB. This keeps me up during some sleep less nights.
Something like VB offered since years - databound gadgets and controls.
This feature was for sure (IMHO) one of the reasons for success of VB...
Just think about the new potential user group - all those folks who have knowledge about a business solution, but don't want to deal with memory handling and other low level details....
Just a vision - but sooner or later (most likely later...)......
best
Christian
Posted: Fri Jun 05, 2009 3:26 pm
by thanos
chris_bdnsee wrote:A data awareness application framework for PB. This keeps me up during some sleep less nights.
Something like VB offered since years - databound gadgets and controls.
This feature was for sure (IMHO) one of the reasons for success of VB...
Just think about the new potential user group - all those folks who have knowledge about a business solution, but don't want to deal with memory handling and other low level details....
Just a vision - but sooner or later (most likely later...)......
best
Christian
+1

Posted: Fri Jun 05, 2009 4:47 pm
by DoubleDutch
dell_jockey: Is FAP Turbo not a scam?
Posted: Fri Jun 05, 2009 9:02 pm
by the.weavster
chris_bdnsee wrote:A data awareness application framework for PB. This keeps me up during some sleep less nights.
Something like VB offered since years - databound gadgets and controls
QT widgets are cross platform, data-aware and they have a nice gui designer:
http://www.qtsoftware.com/products/appd ... tools-at-a
Maybe your combined project should be integrating them with PB
Posted: Mon Jun 08, 2009 12:05 pm
by thanos
It sounds very interesting!
Do you have any working example?
Regards.
Thanos
Posted: Mon Jun 08, 2009 11:15 pm
by the.weavster
thanos wrote:It sounds very interesting!
Do you have any working example?
Not in PB, I've just started learning to use them with Python (my new love).
Qt now belongs to Nokia and it seems they're planning to port it all over the place, not just Windows, Linux and Mac PCs but Symbian S60, S40, Maemo, Windows Mobile, etc...
They're also creating Python interpreters for their own mobile platforms as well as a packager to turn your Python scripts into an *.sis file that installs on a Nokia device just like any other app i.e. no need for the end user to download and install the interpreter separately.
There's also a signed Python interpreter for Samsung Symbian phones too, so although Nokia seem to be the driving force I don't think it's going to be limited to just Nokia hardware.
Google PyQT, PyS60 and PyMaemo if it sounds interesting.
As an aside there's also a Python interpreter that's an extension to Mozilla Firefox so you can make use of XUL and XPCOM with Python and have your app run inside Firefox.
Google pyxpcomext.
Posted: Tue Jun 09, 2009 3:58 am
by Poshu
QT look amazing. I soooo would like to have such a tool for PB.
Posted: Tue Jun 09, 2009 4:52 pm
by thanos
the.weavster wrote:Not in PB, I've just started learning to use them with Python (my new love).
...Google PyQT, PyS60 and PyMaemo if it sounds interesting.
...Google pyxpcomext.
Thank you very much for this useful information.
In order to write applications for mobile phones i tried the Basic4Ppc, but i will take a look at what you suggested.
Regards.
Thanos
Posted: Tue Jun 09, 2009 7:51 pm
by the.weavster
thanos wrote:In order to write applications for mobile phones i tried the Basic4Ppc, but i will take a look at what you suggested
Just a few simple examples:
To play an audio track:
Code: Select all
import audio
sound = audio.Sound.open("E:\\Sounds\\howcool.mp3")
sound.play()
or to fire the camera and save the result as an image:
Code: Select all
import camera
photo = camera.take_photo()
photo.save("E:\\Images\\howcool.jpg")
or to send a text:
Code: Select all
import messaging
nbr = "123456"
txt = u"Hello Thanos" # the u before the string just means unicode
messaging.sms_send(nbr, txt)
You can access your phones contacts database, inbox, calendar, camera, mp3 player, GPS, Bluetooth, info about what gsm cell you're in, etc, etc...
Back on topic though, I think PB QT would make a great project.
Posted: Fri Jun 12, 2009 3:30 pm
by thanos
the.weavster wrote:
Just a few simple examples:
To play an audio track:
Code: Select all
import audio
sound = audio.Sound.open("E:\\Sounds\\howcool.mp3")
sound.play()
or to fire the camera and save the result as an image:
Code: Select all
import camera
photo = camera.take_photo()
photo.save("E:\\Images\\howcool.jpg")
or to send a text:
Code: Select all
import messaging
nbr = "123456"
txt = u"Hello Thanos" # the u before the string just means unicode
messaging.sms_send(nbr, txt)
You can access your phones contacts database, inbox, calendar, camera, mp3 player, GPS, Bluetooth, info about what gsm cell you're in, etc, etc...
The above examples are very, very impressing!
Regards
Thanos
Posted: Sat Jun 13, 2009 3:54 pm
by dagcrack
milan1612 wrote:I'd try to code a Purebasic Compiler, that outputs C code. Way to complex
for me yet, but one day I'll try...
The compiler would just be an academical project. (no need to worry Fred

)
Why not just learn proper C or C++ instead?
Posted: Sat Jun 13, 2009 4:04 pm
by milan1612
dagcrack wrote:milan1612 wrote:I'd try to code a Purebasic Compiler, that outputs C code. Way to complex
for me yet, but one day I'll try...
The compiler would just be an academical project. (no need to worry Fred

)
Why not just learn proper C or C++ instead?
I write a lot of C++ code, it's my primary language by now. I've learned C++ over the
past 3 years, so it's not about the language. I'm just interested in compiler theory,
and I guess Purebasic is one of the easier languages to parse and translate to something else.
Additionally I think that C is a great platform, as it's completely portable and easier
to target than direct machine code (I'm not familiar enough with assembler).
Posted: Sat Jun 13, 2009 4:25 pm
by dagcrack
Yes, PB is along the lines of other Basic dialects though, which makes your idea a lot more interesting if you think about it.
However you'd need to port (actually, wrap) most if not all the libs provided by PB, if I understood correctly your intend.
Posted: Sat Jun 13, 2009 4:57 pm
by milan1612
dagcrack wrote:However you'd need to port (actually, wrap) most if not all the libs provided by PB, if I understood correctly your intend.
Well, if I decide to start this project one day, I think I'd provide the source of
the wrapper to the libraries and therefore require the user to compile it himself
in the presence of the original PB libraries. That way I
think it wouldn't violate the license.
We'll see...