Skip to main content

Boss says "We need an IPhone app”, What frameworks are similar to Firefox, JQuery, templates, and data linking on an iPhone?


We have a great software foundation based on Microsoft MVC 2, Entity Framework 4, Repositories, POCOs, Service and Control layers, C# Views, JQuery and html. Firefox pulls 100 records in 250 ms, drops it in to a template, links the data to the markup, and we sit back and drink margaritas.



Boss walks in and says he wants an iPhone app. I bet we need an Android app too.



What frameworks could we use to easily jump from our Microsoft comfort zone in to the wide, wide world of the Apple iPhone / iPad, along with a follow-up Android baby.



I imagine we could use our JSON controller methods to communicate. Is there some type of a client side JavaScript consuming app framework we could get a reasonable Website like interface re-working? They didn't like the idea of simply running the whole thing in Safari, which works pretty well.



Needs:



  • Send and receive JSON objects

  • Some type of template engine so we can pair up objects to markup, or at least some way to separate design from programming

  • Something similar to JQuery would be nice

  • A good editor with auto-complete and highlighting, something that compares to VS2010



It took us two years to incorporate design patterns, Agile methods, and Domain Driven concepts using MVC and Javascript. We may have two or three months to re-produce the same functions.


Source: Tips4allCCNA FINAL EXAM

Comments

  1. try to visit this site this could help you out without leaving the comfort of developing in VS

    Mobile Web Sites with ASP.NET MVC and the Mobile Browser Definition File

    This is what I've used for my mobile Web Apps.

    EDIT:
    They stop supporting the Mobile Device Browser File because of the huge file size.

    EDIT:

    For android you can use this Andriod SDK. You can use it on Eclipse IDE. Which I find it easy. Just as much as the same with VS.

    For iPhone, in my opinion its better to develop it on OSX environment for native apps.

    ReplyDelete
  2. Titanium makes cross-platform native application development easy
    Today you need to be in three places at once: Online, On-phone, and On-desktop. Titanium empowers you to create immersive, full-featured applications that go beyond browser boundaries and stick with your audience whenever and wherever they are.
    Titanium applications are divided into 4 main parts:



    The html/css/javascript code that makes up the core application logic and UI
    The APIs that access native device/desktop functionality, analytics or other modular functionality
    The language-OS bridge that compiles web code into native application code
    The run-time shell that packages the application for cross-platform distribution.


    from http://www.appcelerator.com/products/titanium-cross-platform-application-development/

    ReplyDelete
  3. My vote is to avoid the cross platform mobile app kits, and either just go with straight obj-c or use something like jquery mobile to skin a web interface into an 'iphone app'. Building a client to connect a web service via json is fairly straight forward using either the iphone or android sdks.

    If you absolutely must use one of the multiplatform frameworks, Appcelerator (Titanium) is probably the best of them (I don't think thats saying much)

    ReplyDelete

Post a Comment

Popular posts from this blog

Why is this Javascript much *slower* than its jQuery equivalent?

I have a HTML list of about 500 items and a "filter" box above it. I started by using jQuery to filter the list when I typed a letter (timing code added later): $('#filter').keyup( function() { var jqStart = (new Date).getTime(); var search = $(this).val().toLowerCase(); var $list = $('ul.ablist > li'); $list.each( function() { if ( $(this).text().toLowerCase().indexOf(search) === -1 ) $(this).hide(); else $(this).show(); } ); console.log('Time: ' + ((new Date).getTime() - jqStart)); } ); However, there was a couple of seconds delay after typing each letter (particularly the first letter). So I thought it may be slightly quicker if I used plain Javascript (I read recently that jQuery's each function is particularly slow). Here's my JS equivalent: document.getElementById('filter').addEventListener( 'keyup', function () { var jsStart = (new Date).getTime()...

Is it possible to have IF statement in an Echo statement in PHP

Thanks in advance. I did look at the other questions/answers that were similar and didn't find exactly what I was looking for. I'm trying to do this, am I on the right path? echo " <div id='tabs-".$match."'> <textarea id='".$match."' name='".$match."'>". if ($COLUMN_NAME === $match) { echo $FIELD_WITH_COLUMN_NAME; } else { } ."</textarea> <script type='text/javascript'> CKEDITOR.replace( '".$match."' ); </script> </div>"; I am getting the following error message in the browser: Parse error: syntax error, unexpected T_IF Please let me know if this is the right way to go about nesting an IF statement inside an echo. Thank you.