Titanium Appcelerator based iOS app using qx-oo.js 1.6 online in app store

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Titanium Appcelerator based iOS app using qx-oo.js 1.6 online in app store

Dietrich Streifert
Hello All!

Just wanted to let you know that I've successfully published a free app
in app store which uses qx-oo 1.6 for the business logic (sorry the app
is german only):

http://itunes.apple.com/de/app//id492039448?l=de&ls=1&mt=8

It is an information aggregator app showing news, contacts, job offers/
and some other informations of Professional Association of German
Anaesthesiologists (Berufsverband Deutscher Anästhesisten (BDA)
http://www.bda.de ).

News messages currently cover areas like patient safety, critical
incident reporting, health policy, occupational policy, advices for
members belonging to service contracts, calculation of charges according
to scale of medical fees, law applicable to medical practice, liability
insurance, hospital financing and more (to come).

Qooxdoos OO-part qx-oo was used to create the complete app logic like
classes for managing information update and synchronization, DB access,
navigation logic using the qooxdoo event layer and properties. A few
"widget" like classes were used to bring data and ui objects together.
Mixins were used to split iOS and android specifics into different
locations.

The android version will follow in about one week.

I want to thank the qooxdoo team and the community for bringing qooxdoo
at this level and for the great support during the last four years which
I've used qooxdoo.

Best regards.
Dietrich.




------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Titanium Appcelerator based iOS app using qx-oo.js 1.6 online in app store

fritz
Cool, congratulations.

Fritz

On Mon, 9 Jan 2012, Dietrich Streifert wrote:

> Just wanted to let you know that I've successfully published a free app
> in app store which uses qx-oo 1.6 for the business logic (sorry the app
> is german only):
>
> http://itunes.apple.com/de/app//id492039448?l=de&ls=1&mt=8
>
> It is an information aggregator app showing news, contacts, job offers/
> and some other informations of Professional Association of German
> Anaesthesiologists (Berufsverband Deutscher Anästhesisten (BDA)
> http://www.bda.de ).
>
> News messages currently cover areas like patient safety, critical
> incident reporting, health policy, occupational policy, advices for
> members belonging to service contracts, calculation of charges according
> to scale of medical fees, law applicable to medical practice, liability
> insurance, hospital financing and more (to come).
>
> Qooxdoos OO-part qx-oo was used to create the complete app logic like
> classes for managing information update and synchronization, DB access,
> navigation logic using the qooxdoo event layer and properties. A few
> "widget" like classes were used to bring data and ui objects together.
> Mixins were used to split iOS and android specifics into different
> locations.
>
> The android version will follow in about one week.
>
> I want to thank the qooxdoo team and the community for bringing qooxdoo
> at this level and for the great support during the last four years which
> I've used qooxdoo.
>
> Best regards.
> Dietrich.
--
Oetiker+Partner AG tel: +41 62 775 9903 (direct)
Fritz Zaucker                        +41 62 775 9900 (switch board)
Aarweg 15                            +41 79 675 0630 (mobile)
CH-4600 Olten                   fax: +41 62 775 9905
Schweiz                         web: www.oetiker.ch
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Titanium Appcelerator based iOS app using qx-oo.js 1.6 online in app store

MartinWittemann
Administrator
In reply to this post by Dietrich Streifert
Hey,
congratulations! This is pretty cool! I installed it right away and it feels very smooth. Thats something we should take a deeper look at. :)
Regards,
Martin

Am 09.01.2012 um 11:49 schrieb Dietrich Streifert:

> Hello All!
>
> Just wanted to let you know that I've successfully published a free app
> in app store which uses qx-oo 1.6 for the business logic (sorry the app
> is german only):
>
> http://itunes.apple.com/de/app//id492039448?l=de&ls=1&mt=8
>
> It is an information aggregator app showing news, contacts, job offers/
> and some other informations of Professional Association of German
> Anaesthesiologists (Berufsverband Deutscher Anästhesisten (BDA)
> http://www.bda.de ).
>
> News messages currently cover areas like patient safety, critical
> incident reporting, health policy, occupational policy, advices for
> members belonging to service contracts, calculation of charges according
> to scale of medical fees, law applicable to medical practice, liability
> insurance, hospital financing and more (to come).
>
> Qooxdoos OO-part qx-oo was used to create the complete app logic like
> classes for managing information update and synchronization, DB access,
> navigation logic using the qooxdoo event layer and properties. A few
> "widget" like classes were used to bring data and ui objects together.
> Mixins were used to split iOS and android specifics into different
> locations.
>
> The android version will follow in about one week.
>
> I want to thank the qooxdoo team and the community for bringing qooxdoo
> at this level and for the great support during the last four years which
> I've used qooxdoo.
>
> Best regards.
> Dietrich.
>
>
>
>
> ------------------------------------------------------------------------------
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> _______________________________________________
> qooxdoo-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Titanium Appcelerator based iOS app using qx-oo.js 1.6 online in app store

Tino Butz-2
In reply to this post by Dietrich Streifert
Thanks for sharing this Dietrich! I have tested the app on an iPad. Works great!

I have some questions regarding your implementation.

Qooxdoos OO-part qx-oo was used to create the complete app logic like
classes for managing information update and synchronization, DB access,
navigation logic using the qooxdoo event layer and properties.

Did you only use qooxdoo OO or did you also use XHR classes from qooxdoo? Is it possible to send XHR requests from JavaScript/qooxdoo within Titanium?

A few
"widget" like classes were used to bring data and ui objects together.

How was your impression using qooxdoo and Titanium together? Was it difficult to set up the project?

Mixins were used to split iOS and android specifics into different
locations.

The android version will follow in about one week.

Looking forward to test it!

Tino

Tino Butz
Mobile Architect

1&1 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-4488

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Titanium Appcelerator based iOS app using qx-oo.js 1.6 online in app store

Dietrich Streifert
Hi Tino!

Am 09.01.2012 15:28, schrieb Tino Butz:

> Thanks for sharing this Dietrich! I have tested the app on an iPad.
> Works great!
>
> I have some questions regarding your implementation.
>
>> Qooxdoos OO-part qx-oo was used to create the complete app logic like
>> classes for managing information update and synchronization, DB access,
>> navigation logic using the qooxdoo event layer and properties.
>
> Did you only use qooxdoo OO or did you also use XHR classes from
> qooxdoo? Is it possible to send XHR requests from JavaScript/qooxdoo
> within Titanium?
>
I've used the Titanium XHR classes.
http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.Network.HTTPClient-object

  I've created a qooxdoo news parser class which creates  a transitive
Titanium XHR class instance, catches the events of the Ti class
instances and fires qooxdoo events. Two "worker" methods of the base
class need to be overridden to take care of the specific JSON data
format for news, jobs, contacts and pages.

I think it would be possible to write a full functional qooxdoo wrapper
class around Titanium.Network.HTTPClient, but my development budget was
sparse so I only did "qooxdoo-ization" as needed.

>> A few
>> "widget" like classes were used to bring data and ui objects together.
>
> How was your impression using qooxdoo and Titanium together? Was it
> difficult to set up the project?

For iOS there was no problem. It worked right away with the
download-able qx-oo.js file.

I didn't use any qooxdoo tooling. I've done class file loading manually
in the right order. There are mechanisms in the Titanium SDK which
allows hooking into the APP compiliation process, so it should be
possible to use qooxdoo tooling to create a build version of the
application. But as said before: time and budget was to low.

So the qooxdoo part of the project was simply including first qx-oo.js
and, as needed by the class hierarchy, including my files.

For android there were three hurdles to take:

1. Without being aware of the fact I started developing the android
version when the titanium project changed the javascript runtime from
Rhino (Java implementation) to V8 (native c library). A few Tests with
Rhino brought the titanium sdk to its end because of the qx-oo file
length and complexity. There were some configuration options to raise
the stack size so qx-oo would load, but it felt like walking on a ridge
with closed eyes. With SDK version 1.8.0.1 and V8 all this changed (and
a lot more) and on my Galaxy S Plus there are no performance and
stability problems so far.

2. During Beta of SDK 1.8.0.1 there was a problem because the Titanium
native call proxy (kroll) extended the native JS object with a "extend"
method, which broke qooxdoo. But that has been solved within a few days
by the Titanium staff:
[1] http://jira.appcelerator.org/browse/TIMOB-6684
[2] http://bugzilla.qooxdoo.org/show_bug.cgi?id=5951

3. Emulator debugging: SLOOOOOOWWWWWW as a snail carrying a brick. No
way to do real debugging here. Use print debugging on the real device
via ddms.

So looking back the main problems were more:

1. Lack of documentation regarding API and Titanium Studio. A lot of
trial and error.

2. Different behaviour of Titanium classes and attributes between iOS
and android.

3. starting of development in the mid of the release of SDK Version
1.8.0.1 which changed a lot.

4. A few bugs which made me go gray and took a lot of time.

5. For iOS you need OSX and the Xcode and the iOS SDK.

6. It takes its time until you get ready to have a first look at you app
in iOS on a real device (profiles and profiles and profiles).
testflight.com helped a lot in distributing beta versions to testers.


>
>> Mixins were used to split iOS and android specifics into different
>> locations.
>>
>> The android version will follow in about one week.
>
> Looking forward to test it!
>
>
I hope to have it in the android market next week.




------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Titanium Appcelerator based iOS app using qx-oo.js 1.6 online in app store

Javier Martinez
In reply to this post by Dietrich Streifert
Hi Dietrich,

Great work!

I wonder... how did you implementated the UI? Using Titanium or anything else?


--
Javier Martínez Villacampa
Software Engineer
http://www.pocketwidget.com


2012/1/9 Dietrich Streifert <[hidden email]>
Hello All!

Just wanted to let you know that I've successfully published a free app
in app store which uses qx-oo 1.6 for the business logic (sorry the app
is german only):

http://itunes.apple.com/de/app//id492039448?l=de&ls=1&mt=8

It is an information aggregator app showing news, contacts, job offers/
and some other informations of Professional Association of German
Anaesthesiologists (Berufsverband Deutscher Anästhesisten (BDA)
http://www.bda.de ).

News messages currently cover areas like patient safety, critical
incident reporting, health policy, occupational policy, advices for
members belonging to service contracts, calculation of charges according
to scale of medical fees, law applicable to medical practice, liability
insurance, hospital financing and more (to come).

Qooxdoos OO-part qx-oo was used to create the complete app logic like
classes for managing information update and synchronization, DB access,
navigation logic using the qooxdoo event layer and properties. A few
"widget" like classes were used to bring data and ui objects together.
Mixins were used to split iOS and android specifics into different
locations.

The android version will follow in about one week.

I want to thank the qooxdoo team and the community for bringing qooxdoo
at this level and for the great support during the last four years which
I've used qooxdoo.

Best regards.
Dietrich.




------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel




------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Titanium Appcelerator based iOS app using qx-oo.js 1.6 online in app store

Dietrich Streifert
Am 10.01.2012 10:43, schrieb Javier Martinez:
> Hi Dietrich,
>
> Great work!
>
> I wonder... how did you implementated the UI? Using Titanium or
> anything else?
>

Within my qooxdoo classes I'm using the Titanium API:

     http://developer.appcelerator.com/apidoc/mobile/latest

Development tool was Titanium Studio.


------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Titanium Appcelerator based iOS app using qx-oo.js 1.6 online in app store

Dietrich Streifert
In reply to this post by Dietrich Streifert
Hello All,

and today the android version followed:

     https://market.android.com/details?id=de.visionet.bda&hl=de

Best regards.
Dietrich.

Am 09.01.2012 11:49, schrieb Dietrich Streifert:

> Hello All!
>
> Just wanted to let you know that I've successfully published a free
> app in app store which uses qx-oo 1.6 for the business logic (sorry
> the app is german only):
>
> http://itunes.apple.com/de/app//id492039448?l=de&ls=1&mt=8
>
> It is an information aggregator app showing news, contacts, job
> offers/ and some other informations of Professional Association of
> German Anaesthesiologists (Berufsverband Deutscher Anästhesisten (BDA)
> http://www.bda.de ).
>
> News messages currently cover areas like patient safety, critical
> incident reporting, health policy, occupational policy, advices for
> members belonging to service contracts, calculation of charges
> according to scale of medical fees, law applicable to medical
> practice, liability insurance, hospital financing and more (to come).
>
> Qooxdoos OO-part qx-oo was used to create the complete app logic like
> classes for managing information update and synchronization, DB
> access, navigation logic using the qooxdoo event layer and properties.
> A few "widget" like classes were used to bring data and ui objects
> together. Mixins were used to split iOS and android specifics into
> different locations.
>
> The android version will follow in about one week.
>
> I want to thank the qooxdoo team and the community for bringing
> qooxdoo at this level and for the great support during the last four
> years which I've used qooxdoo.
>
> Best regards.
> Dietrich.
>
>
>


------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel