TH-HTML5 [Community Project]

Discussion in 'General Webmaster Support' started by Miz, Apr 2, 2011.

  1. GetTriggerUnit-

    GetTriggerUnit- DogEntrepreneur

    Ratings:
    +128 / 0 / -0
    I honestly think we should make our own "jQuery".

    All the libraries out there such as jQuery, Mootools, Dojo, etc are just, in my opinion, a waste of space.
    We won't need all the fancy stuff they offer, we'll probably just need DOM selection/manipulation, event binding and some Array/String prototypes.

    Therefore I think we should make our own which would be much smaller with the functionalities we need.

    Also, I saw an article about jQuery, they basicly prooved that jQuery was very slow compared to normal dom selection, because of it's enormous API.
     
  2. Lyerae

    Lyerae I keep popping up on this site from time to time.

    Ratings:
    +105 / 0 / -0
    Code:
    var element = $('#myId'); // jQuery object, parsing through string to determine selector...
    
    versus

    Code:
    var element = document.getElementById('myId'); // Native code, built into the browser.
    
    Even with a custom library, there is still unneeded overhead involved. Instead of creating 'the next new jQuery', create a modular library with utilities for common functionality (AJAX, form validation, etc), and have one 'core' object that will load these module dynamically. Slightly higher startup time (though you could implement a preloader, for modules you know you'll need in advance), but lower overall overhead, and a smaller download size (modules don't need to be downloaded if they are never used).
     
  3. Miz

    Miz Administrator

    Ratings:
    +430 / 0 / -0
    Well I have been out at the Doctors all day. So sorry for the late reply, I haven't ever used Github, but I did manage to make an Organization and a repository for us.

    You can see it here -> https://github.com/TheHelper/TH-HTML5
    I am sure you guys know way more about this stuff than me but I am still trying to figure it all out.

    Just post your Github Username below and I will add you to the Organization, the proper team and that should give you access...
    If I am doing this wrong in any fashion, please alert me. :)
     
  4. Lyerae

    Lyerae I keep popping up on this site from time to time.

    Ratings:
    +105 / 0 / -0
    Mine is thelifelessone16, and I'm still rather new to git too. :D
     
  5. Miz

    Miz Administrator

    Ratings:
    +430 / 0 / -0
    You should be good and all set to go.
     
  6. GetTriggerUnit-

    GetTriggerUnit- DogEntrepreneur

    Ratings:
    +128 / 0 / -0
    YAY!

    Mine is SBSTP .
     
  7. Miz

    Miz Administrator

    Ratings:
    +430 / 0 / -0
    Yep you should be good too.

    I am publicizing everyone's memberships. Hopefully that is okay with everyone?
    I can conceal you from the Membership list if you desire.
     
  8. GetTriggerUnit-

    GetTriggerUnit- DogEntrepreneur

    Ratings:
    +128 / 0 / -0
    I'm wondering, how is this project called?

    I'm thinking we could create a json object which would be the core of the project. Just append your module to it using objectName.moduleName = (...). Is it a good idea? What would be 'objectName'?
     
  9. Lyerae

    Lyerae I keep popping up on this site from time to time.

    Ratings:
    +105 / 0 / -0
    It's fine with me.
     
  10. GetTriggerUnit-

    GetTriggerUnit- DogEntrepreneur

    Ratings:
    +128 / 0 / -0
    Or we could get a FTP pointing directly on the websites directories, with restricted access. I find Github really complex!!
     
  11. Lyerae

    Lyerae I keep popping up on this site from time to time.

    Ratings:
    +105 / 0 / -0
    That would make it more difficult to manage larger projects, and keep the source up to date between everyone.
     
  12. GetTriggerUnit-

    GetTriggerUnit- DogEntrepreneur

    Ratings:
    +128 / 0 / -0
    Then you have to teach us how to use it. :)
    Or give us some good resources, what I found on github's website wasn't too good.
     
  13. Lyerae

    Lyerae I keep popping up on this site from time to time.

    Ratings:
    +105 / 0 / -0
    I'm actually still learning most of it myself. Google around though, and I'm sure you could find something.
     
  14. azareus

    azareus And you know it.

    Ratings:
    +63 / 0 / -0
    Mine is fkj

    P.s. That is the lamest readme ever :D
     
  15. UndeadDragon

    UndeadDragon Super Moderator Staff Member

    Ratings:
    +450 / 0 / -0
    My GitHub name is UndeadDragon. Im fine with it being publicised too.
     
  16. GetTriggerUnit-

    GetTriggerUnit- DogEntrepreneur

    Ratings:
    +128 / 0 / -0
  17. azareus

    azareus And you know it.

    Ratings:
    +63 / 0 / -0
    Just for everyones information:

    To add something to the repo, you need to open the git bash and enter:
    to make git understand that you want to send that file.
    If you have not got a remote for the project yet, you need to use:
    to do so.
    Lastly, use:
     
  18. GetTriggerUnit-

    GetTriggerUnit- DogEntrepreneur

    Ratings:
    +128 / 0 / -0
    Even if everyone has right, we should all create a "Fork" and work on our fork!
     
  19. Miz

    Miz Administrator

    Ratings:
    +430 / 0 / -0
    You guys should be all good and ready to go.

    I am going to try to make a better readme probably a markdown file so it will look prettier once I figure out how to use Git xD
     
  20. azareus

    azareus And you know it.

    Ratings:
    +63 / 0 / -0
    @GetTriggerUnit

    Yeah that is definitely the way to go. This way we can locate bad code easier, and comment on each others work before we submit it.

    EDIT: I think I'm going to make a really basic index.html. Just so noone wastes work :p
     

Share This Page