I apologize for not writing any posts in the past few weeks, but I promise I was working hard on something big. Besides the normal work at work and my friend’s wedding, I have also been hard at work on the next version of jPaq. I still have more coding to do, but most of the JS coding for the next version is done. Unfortunately, I still need to revamp jPaq.org significantly to do some of the things that I want it to be able to do. In addition, I want to do some major testing of the new additions to this customizable library. One thing that I can tell you is jPaq will no longer going to be just a utilities library. Version 2.0 will mark jPaq’s debut as a major JavaScript library (in power and functionality). Here are a few of the things that I have added and tested so far:

  • Cookie Handling
    • jPaq.getCookie()
    • jPaq.setCookie()
    • jPaq.removeCookie()
  • Event Handling
    • jPaq.Event()
    • jPaq.addEvent()
    • jPaq.removeEvent()
    • jPaq.getEventsFor()
    • jPaq.triggerEvent()
    • jPaq.triggerHandler()
  • DOM Selector
    • jPaq.queryDOM()
    • Event Handling
      • $().bind()
      • $().unbind()
      • $().trigger()
      • $().triggerHandler()
      • $().click()
      • $().mouseover()
      • $().mouseout()
      • $().mouseenter()
      • $().mouseleave()
      • $().hover()
      • $().load()
      • $().change()
    • $().get()
    • $().each()
    • $().size()
    • $().refresh()
    • $().filter()
    • $().addClass()
    • $().removeClass()
    • $().hasClass()
    • $().text()
    • $().html()
    • $().css()
  • AJAX
    • jPaq.request()
    • jPaq.xhr()
  • Type Checking
    • jPaq.typeOf()
    • jPaq.isArray()
    • jPaq.isBoolean()
    • jPaq.isDate()
    • jPaq.isFloat()
    • jPaq.isError()
    • jPaq.isFunction()
    • jPaq.isInt()
    • jPaq.isNull()
    • jPaq.isNumber()
    • jPaq.isObject()
    • jPaq.isRegExp()
    • jPaq.isString()
    • jPaq.isUndefined()
  • $(function() { … })
  • jPaq.round()
  • Function.prototype.invoke()
  • Function.prototype.getCacheable()
  • Function.prototype.overload()
  • Function.prototype.compose()
  • Function.prototype.curryAny()

The best thing about all of the above is the fact that you will be able to include in your jPaq if you want it, but it won’t be there if you don’t want it. This is what makes jPaq different than the other JavaScript libraries.

Categories: BlogJavaScriptJScript

Leave a Reply

Your email address will not be published. Required fields are marked *