×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Jun 2010
    Posts
    161

    Post f13 - Javascript Library For Asha WebApps

    Hi,

    I have combined all my Javascript Snippets I use to develop WebApps in a single library and I want to share it with you. In the last weeks I had zero chance to work on it, if I had time, I would have uploaded it to Github, added some documentation and an example. But I had no time.

    I had to release it to you today, because I named the library f13 - Friday the 13th. Why? Because on f13, JaSON comes.

    JSON
    I just added json2.js for convenience.
    Taken from, of course, https://github.com/douglascrockford/JSON-js

    AJAX - jQuery Style
    First of all, the library enables you to make AJAX calls with a jQuery-like syntax, using .get(), .post() and .ajax()

    Add Slashes
    Next is the .as - Function (Add Slashes). I've "stolen" this function from this thread:
    http://developer.nokia.com/Community...er-(-)-problem

    Social
    A function to create several social sharing links.

    Add
    Used to add data to a dom node. Comes in handy with the following:

    Temple - A simple template engine.
    I've taken John Resig - http://ejohn.org/blog/javascript-micro-templating/ - MIT licensed ultra simple templating engine and integrated it in f13.

    If you use this one, it will speed up your development, increase the readability of your code and make it much more reusable.

    So....

    Tell me what you think.
    As I said, it is far from done. I'm e.g. not happy how it is constructed as library, but it is working and it helps me a lot.

    f13.zip
    Last edited by lorion84; 2013-09-14 at 10:19.

  2. #2
    Nokia Developer Moderator
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,777

    Re: f13 - Javascript Library For Asha WebApps

    I just saw this now.. will give it a try soon. I think you should still go ahead and put this on Github, also I think you could have a Wiki article with some usage examples. This would make it easier to find for developers

    Cheers!
    Pankaj Nathani
    www.croozeus.com

  3. #3
    Regular Contributor
    Join Date
    Jun 2010
    Posts
    161

    Re: f13 - Javascript Library For Asha WebApps

    Those points are definately on my list...
    I'm just waiting for a reason to invest any additional energy into Nokia WebApps... the support from Nokia goes towards 0 and I'm not very happy about that.

Similar Threads

  1. Want info about WebApps.
    By DarkNinja in forum Nokia Asha Web Apps
    Replies: 2
    Last Post: 2013-07-11, 09:47
  2. rtsp links playing on asha device with webapps
    By pctAsha in forum Nokia Asha Web Apps
    Replies: 0
    Last Post: 2013-06-10, 13:14
  3. WebApps for 110/111/112?
    By lorion84 in forum Nokia Asha Web Apps
    Replies: 2
    Last Post: 2012-06-12, 12:53
  4. Using MWL outside of S40 WebApps
    By lorion84 in forum Nokia Asha Web Apps
    Replies: 2
    Last Post: 2011-05-09, 01:19

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •