A javascript framework I wrote

Discussion in 'Programming & Software Development' started by yoink, Oct 20, 2008.

  1. yoink

    yoink Member

    Joined:
    Feb 19, 2002
    Messages:
    3,516
    Hi Guys,

    I recently launched a javascript framework that I wrote, you can see it here. It's kinda like EXTJS, except it is much smaller (less than 40kb gzipped and minified), and uses a distinctly different pattern. It is full of widgets:

    [​IMG][​IMG][​IMG]

    (check the front page for more)

    And it also has plugins:

    [​IMG][​IMG]

    And so on...

    The main demographic is enterprise web application developers, and the focus is on speed and small code size. I have started a forum, and there is a couple of articles to help get you started.

    So, what do you guys think? :)

    -- yoink
     
  2. Rezin

    Rezin Member

    Joined:
    Oct 27, 2002
    Messages:
    9,490
    Looks good! Subscribed so I can check it out more tonight.

    Just a quick observation with the date picker. Using Firefox 3, the calendar icon is cropped at the bottom.

    [​IMG]

    And when you use Ctrl + MouseWheel it ends up outside of the field.

    [​IMG]
     
  3. OP
    OP
    yoink

    yoink Member

    Joined:
    Feb 19, 2002
    Messages:
    3,516
    Ah yes, it's absolutely positioned, which is not always ideal... You should however pay attention to how cool it is, with the ability to calculate dates, eg: +2weeks, etc ;)
    I am looking at re-implementing that in a better way; I was hoping some clever CSS / JS people would sign up to the forums, and help me :thumbup:
     
  4. teegman

    teegman Member

    Joined:
    Feb 13, 2006
    Messages:
    94
    Location:
    Adelaide
    Props on the work there yoink, looks very promising!
     
  5. Luke212

    Luke212 Member

    Joined:
    Feb 26, 2003
    Messages:
    10,224
    Location:
    Sydney
    error when clicking on data grid item.

    date sort not working
     
  6. Elyzion

    Elyzion Member

    Joined:
    Oct 27, 2004
    Messages:
    7,458
    Location:
    Singapore
    Awesome. I'll definitly look at this.

    I fucking hate jquery, it's the worst framework ever, it's almost like learning a new language since it's so bloated getting simple things working is impossible.

    The hardest thing ive tried to do is get a date picker to work. I copy pasted all the code from the demo. Couldn't get it to work. No JS errors, nothing. Decided to rip out the rest of the jquery stuff i had done and flag using it all together.
     
  7. wellonchompy

    wellonchompy Member

    Joined:
    May 29, 2002
    Messages:
    747
    Location:
    Sydney
    This looks really neat, but what license are you releasing it under?
     
  8. OP
    OP
    yoink

    yoink Member

    Joined:
    Feb 19, 2002
    Messages:
    3,516
    Ah yes, I haven't implemented that on the serverside script in PHP, as it's just a demo :)

    LGPL. There will also be a commercial licence in the future (next year), but there will LWAYS be an LGPL version, I'm not making the same mistake a Slocum and co ;)
     
  9. Frazzman

    Frazzman Member

    Joined:
    Sep 19, 2006
    Messages:
    238
    Location:
    Melbourne, 3109
    nice framework :).

    What did you use to generate the articles pages?
     
  10. Tr3nt

    Tr3nt Member

    Joined:
    May 11, 2004
    Messages:
    122
    Location:
    Darwin
    looks pretty good...;)

    only thing is with the grid view - don't like the alert box, and should be able to highlight text/row/rows to copy?
     
  11. Rezin

    Rezin Member

    Joined:
    Oct 27, 2002
    Messages:
    9,490
    That's just to demonstrate what info can be passed around.
     
  12. Numberjob

    Numberjob New Member

    Joined:
    Oct 12, 2007
    Messages:
    64
    Looks good. Nice work yoink.
     
  13. hyperstyle

    hyperstyle Member

    Joined:
    May 24, 2003
    Messages:
    1,731
    Location:
    Brisbane
    yoink indeed. Very smooth. It's even well documented.
     
  14. OP
    OP
    yoink

    yoink Member

    Joined:
    Feb 19, 2002
    Messages:
    3,516
    It's my own php script, plus geshi for syntax highlighting :)

    Yeah, it simply shows that you can access anything in the row, once you click on it; one day I may update the example, and make it go to an edit page or something...
     
  15. Primüs

    Primüs Member

    Joined:
    Apr 1, 2003
    Messages:
    3,462
    Location:
    CFS
    Thats some awesome work mate, i will definitely be playing around with it :) one question i do have is, the Forums said they require activation, now i skipped through that thinking it was email activation, however i havent received an email (left it overnight so far?) Or was it moderator activation?

    Anyways let me know :) Im keen to start using and hopefully provide useful information back to the community!
     
  16. OP
    OP
    yoink

    yoink Member

    Joined:
    Feb 19, 2002
    Messages:
    3,516
    Looks like my mailserver 554'ed yours, I'll PM you with your login details in a sec :)
     
  17. OP
    OP
    yoink

    yoink Member

    Joined:
    Feb 19, 2002
    Messages:
    3,516
    Hi Guys,

    A new build is out, the old one was broken (incorrect directory structure), please download it from here, then read the getting started article here :thumbup:

    -- yoink
     
  18. OP
    OP
    yoink

    yoink Member

    Joined:
    Feb 19, 2002
    Messages:
    3,516
    Hi Elyzion, as mentioned, I've just updated the build, as it was faulty, please re-download, then read the getting started article, paying special attention to the 2nd page, and you should be up and running, any questions, post here, or indeed on the pax forums ;)
     
  19. dukestar

    dukestar Member

    Joined:
    May 4, 2002
    Messages:
    827
    Location:
    Sydney
    looks very nice! the getting started guide is great because it doesn't throw you in the deep end.

    I'll give this a go. Should save me a lot of time with field validation.
     
  20. dukestar

    dukestar Member

    Joined:
    May 4, 2002
    Messages:
    827
    Location:
    Sydney
    I tried setting up the date widget on an asp.net server control textbox. Does the control I am assigning to need to have the same id and name? Unfortunately the asp.net controls have a different client side id and name.

    edit: the framework only works from root folder /pax . I develop internal applications that are subdirectories from the root ie:

    http://server01/app01
    http://server01/app02
    http://server01/app03

    It would be great when linking to the script on my page I could set what the working directory is. for example

    <script type="text/javascript" src="/app01/pax/pax_dev.js"></script>
    <script type="text/javascript">pax.setPath('/app01/pax/');</script>
     
    Last edited: Oct 22, 2008

Share This Page

Advertisement: