Forum > iPhone/iPad

iPhone/PhoneGap like NSBasic

<< < (2/2)

justapps:
It wasn't my intention to start an argument :)  For the average developer Objective C looks too difficult to learn.  I hate that Apple abandoned Pascal and went that route.  And Objective Pascal doesn't look much friendlier. 

I have done quite a bit of searching and found Appcelerator.  Appcelerator takes your Javascript and compiles it into native iOS and Android apps.  Now if Embarcadero could purchase them and redesign to use Pascal that would be nice.

Phil:

--- Quote from: justapps on July 28, 2011, 08:03:31 pm ---It wasn't my intention to start an argument :)  For the average developer Objective C looks too difficult to learn.  I hate that Apple abandoned Pascal and went that route.  And Objective Pascal doesn't look much friendlier. 

I have done quite a bit of searching and found Appcelerator.  Appcelerator takes your Javascript and compiles it into native iOS and Android apps.  Now if Embarcadero could purchase them and redesign to use Pascal that would be nice.

--- End quote ---

But we're not average here.

Actually, your descriptions of Appcelerator is not correct. It does not "compile" your JS. Instead, it appears to be very similar to PhoneGap, wrapping your JS, HTML and CSS source files in a native shell program that loads these files into a Webview (embedded browser). You can add compiled code to both, but only as "plugins" that you then call from your JS.

There are lots of interesting (and fairly new) mobile development tools - that's an indication of how important mobile has become and also how much fun it looks - once you target mobile, you immediately pick up GPS, accelerometer, camera, cellular connection, etc. as standard features that you can use.

Currently most mobile apps tend to be fairly "small" in scope. These cross-platform JS tools should do fine for that. Inevitably, mobile apps will tend to become much bigger in scope and they'll need to pull in large amounts of existing code, databases, etc. - that is, development will become more like conventional desktop software development. It's not clear that JS tools will be the right choice for these "larger" mobile apps where the UI begins to pale in comparison to the non-UI code.

The gold standard for an iOS app is top-level code that works directly with Cocoa Touch objects. The only way to do that currently is with Objective C or Objective Pascal. If you have existing Pascal code that you want to use, Objective Pascal is really the only choice.

Thanks.

-Phil

jwdietrich:

--- Quote from: justapps on July 19, 2011, 09:33:36 pm ---It would be cool to have  a way for Lazarus to generate Javascript/HTML5 apps and then package them into a real iOS app using PhoneGap like NSBasic is doing.  Except using Pascal instead of BASIC would be nice along with the code completion features that Lazarus offers.

--- End quote ---

Did you try Morfik AppsBuilder? The FreePascal based Morfik supports the development of AJAX applications in ObjectPascal.

avra:
Take a look at OP4JS (Object Pascal for Java script):
http://www.delphifeeds.com/go/f/83049?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+delphifeeds+%28DelphiFeeds.com%29
It's a new promising project that is close to what you want...

Navigation

[0] Message Index

[*] Previous page

Go to full version