TableGear 1.6 Released

Sunday August 1, 2010

This update is pretty major, and I’ve added some features I had been hoping to get in for awhile, plus addressed some issues that people have been having in previous releases.

The most major change is the addition of a jQuery plugin on the client side. TableGear has grown quite a bit since its inception, and at this point more work has probably gone into the server side to allow customization over data and formatting before the table is shown as well as after it has been updated. As a result I am taking the emphasis off TableGear as a MooTools plugin, and now envision it as a piece of server software with multiple points of entry on the client. jQuery is the most used framework currently, so it seemed like a logical place to start.

Although not as exciting, the best change for TableGear in this release is probably the initial template included in releases. I’ve made the options hash much easier to use and understand. The most basic required information about the database is left in uncommented, but nearly every other option available is now inside the template itself, commented out. In addition there are comments about how to use the options and what they are for, so that you don’t have to constantly refer to the documentation when getting started.

Another big change is composite primary key support. You can now have multiple primary keys rather than just one. This took a while to get right, but I’ve tested it out in a few different situations, and it seems solid. Custom queries were previously only useful for display and had trouble saving data back to the database. I’ve now fixed this and they should work properly. From the feedback I received this is apparently a widely used feature.

There are also a few changes in the way the auto-incremented primary key field is handled. Previous versions of TableGear simply assumed this field to be hidden in the table. Now the field is visible by default, but a “primary_key” class name exists on the column to make it easy to hide. Additionally, the auto-incremented value now reports back to the table on row insert so that the value is updated inline.

Transformed data can also now be returned from the server on update. Previously it would only appear in the initial table load. This means, for example, if you have a field in the database for image URLs and you apply a data transform to display them as images (as opposed to displaying the URL as text), you can now update the URL in the table and the new image will load inline. Previously, once updated the URL would only appear as text.

Finally, when using the “increment” parameter for select elements, “range” now refers to the total number of option elements. Previously it referred to the numerical range that the options would traverse. So, for example, let’s say you wanted 10 option elements in a select that incremented in steps of 100 (400, 500, 600, etc.). Previously the “range” value would be 1000 (100 increment * 10 steps). Now it is simply 10. This should be simpler, but if you’re upgrading from a previous version watch out for this value. In the last example you would wind up with 1000 option elements. If you’re seeing memory overflow errors it probably means you need to change this value.

Other small changes include:

  • database[“columns”] option now changed to database[“fields”].
  • database[“database”] option now changed to database[“name”].
  • database[“host”] option now allowed in addition to database[“server”].
  • All fields are now sortable by default.
  • All fields except auto-incrementent are now editable by default.

In addition to changes in the codebase, I have also put the entire project up on Github and made it public. Now that there are 2 clients for two different versions of TableGear, the project includes scripts to build the releases as well.

Also, I have started both a UserVoice page and a Google Groups group for support. I’m envisioning the UserVoice page to handle bugs and feature requests which can be voted on, and the Google Groups page will let users give each other support. Also I removed the Mooforum link as the software is no longer MooTools specific.

That should be all the changes for now. Enjoy this new release, and please use the UserVoice page if there are any new concerns, etc.

, ,

Comments

  1. 484 days ago :: Robert Burkhall ::

    Hi,

    I have an issue with Aristo & TableGear’s libs. When I add the following;

    <script type=“text/javascript” src=“website/js/TableGear1.6-jQuery.js”></script>

    to;

    <script type=“text/javascript” src=“website/js/jquery-1.4.2.min.js”></script> <script type=“text/javascript” src=“website/js/jquery-ui-1.8.5.custom.min.js”></script> <link rel=“stylesheet” type=“text/css” href=“website/css/Aristo/jquery-ui-1.8rc3.custom.css”/>

    Aristo stops because of the following error in the JQuery UI

    Line:376, Cannot call method ‘blur’ of undefined

    The function halt and no further processing occurs. If anyone know why I really could use a fix.

    Thanks,
    Robert

  2. 484 days ago :: Robert Burkhall ::

    Hi Andrew,

    Now, this is strange. My fix to your fix is to get rid of your fix, lol. That was my issue and now both TableGear 1.6.1 and jquery 1.8.5 are working. I increased the version number and subtracted the following code.

    Server spec:
    VirtualBox 3.2.8
    Ubuntu Server 10.10
    PHP5
    Apache 2

    // Fix for jQuery 1.4.2 strangely not firing browser native focus event.
    /*
    jQuery.fn.focus = function(){ this.each(function(){ if(this.focus) this.focus(); });
    }; */

  3. 476 days ago :: Robert Burkhall ::

    Hi Andrew,

    TableGear 1.6.1’s css used in wordpress does not function correctly. I’ve tried a few different methods to deal with the issues. Do you have any suggestion?

    Robert

  4. 422 days ago :: Jani ::

    Hi,

    Thanks for a great project! Everything is working smoothly on Mysql5, but on mysql4 I get an error on “SHOW COLUMNS FROM $table WHERE `Key`=‘PRI’”. Any ideas why? Thanks!

  5. 422 days ago :: Jani ::

    Ok, just fixed it with manually entering $options[“database”][“key”] = “id”;

  6. 190 days ago :: the north face outlet ::

    I went over this internet site and I think you have a lot of wonderful info , saved to bookmarks

  7. 180 days ago :: canada goose jakker ::

    relatively stimulating. However, I appologize, because I do not subscribe to your entire strategy, all be it radical none the less. It appears to me that your comments are actually not entirely justified and in fact you are yourself not completely certain of the assertion. In any event I did take pleasure in reading through it.
    <a href=“http://www.bestcanadagoose.org/”> canada goose jakker </a>
    <a href=“http://www.bestcanadagoose.org/”> canada goose parka </a>
    <a href=“http://www.bestcanadagoose.org/”> canada goose jakker </a>
    <a href=“http://www.bestcanadagoose.org/”> parka canada goose </a>

  8. 168 days ago :: Moncler jacket ::

    Absolutely with you it agree. In it something is also idea good, agree with you.

  9. 161 days ago :: true religion jeans outlet ::

    Wonderful site, where did you come up with the information in this article? I’m happy I found it though,ill be Oakley Sunglasses Outlet checking back soon to see what other articles you have.

  10. 157 days ago :: moncler jackets ::

    Good article! Thank you so much for sharing this post.Your views truly open my mind
    <a href=“http://www.bestmoncler.org/”>moncler jackets</a>
    <a href=“http://www.bestmoncler.org/”>moncler jakcet</a>
    <a href=“http://www.bestmoncler.org/”>mancler parka</a>
    <a href=“http://www.bestmoncler.org/”>Moncler Classic Branson Down Jacket</a>
    <a href=“http://www.bestmoncler.org/”>Moncler Quilted Body Warmer Vest</a>

  11. 143 days ago :: North Face Outlet ::

    I was extremely pleased to find this website.I wanted to thank you for this good understand I definitely enjoying every single small bit of it and We’ve you bookmarked to check out new stuff you post.

  12. 141 days ago :: cheap ralph lauren polo ::

    http://www.cheappoloshirtssale.org.uk/

  13. 134 days ago :: cheap moncler jackets ::

    I really appreciate your article, in fact I think you deserve a thumbs up.whyhp1314RF5K19R53A

  14. 127 days ago :: puma drift cat shoes ::

    I wanted to thank you for this good understand I definitely enjoying every single small bit of it and We’ve you bookmarked to check out new stuff you post.

  15. 119 days ago :: fake oakleys ::

    Thanks on your marvelous posting! I quite enjoyed reading it.

  16. 119 days ago :: moncler jeckets ::

    You always could find what you want. The <a href=“http://www.ukcheapmonclerjackets.com/moncler-women-jackets/c/78.html”>Moncler Women Jackets</a> in Coffee is Very shiny, Very Cool, Comfortable and light. Black polyamide quilted hooded jacket from Moncler. The jacket features white trim detailing and the removable hood has a white interior.

  17. 118 days ago :: cheap gucci bags ::

    Welcome you visit our shopping website, here are pretty handbags, and in the winter the down jacket, beautiful shoes, and more can be a friend’s gift to give to family members, please click into our website will have you unexpected surprise
    http://www.cheap-bags-shoes.com/louis-vuitton-bags-product-11622.html
    http://www.cheap-bags-shoes.com/gucci-handbags-1302-product-1575.html

  18. 112 days ago :: cheap shoes ::

    A great post but How to select a cool shoes. we sell <a href=“http://www.cheap-shoes-online.org” title=“cheap shoes”>cheap shoes</a> We are the best store provided various <a href=“http://www.cheap-shoes-online.org” title=“cheap designer shoes”>cheap designer shoes</a> but only a little white to make <a href=“http://www.cheap-shoes-online.org” title=“coach shoes online”>coach shoes online</a>

  19. 103 days ago :: canada goose ::

    canada goose
    Most down canada goose can be found on the belly of geese and ducks, as this is the part that is exposed to water and must keep the bird warm. Down is a three canada goose sale dimensional cluster with thousands of tiny fibers, but no quill. In every pound of feathers, there are only four to five ounces of down.G

  20. 99 days ago :: short let london ::

    Using those tricky ways to change the who data database is pretty useful and easy. Thanks for sharing.

  21. 98 days ago :: Moncler Down Damejakker ::

    Thank you, I have recently been searching for information about this topic for ages and yours is the best I have discovered so far.
    http://www.monclerjakkersalg.net
    It turns out we had the same taste in movies. Lorelei liked Action movies and Science Fiction thrillers. She wasn’t into Chick Flicks. That’s really good, because I’m really not into those kinds of movies. Everyday life was boring enough, thank you very much. Lorelei and I became inseparable. We would go to class together, hand in hand.
    http://www.monclerpullover.org/moncler-weste-frauen-c-4.html
    It’s funny how we adopt words and adapt our lexicon to the times. This is a very useful slant on things.
    http://www.monclerinn.com

  22. 93 days ago :: Ugg Adirondack Tall Boots ::

    ook and feel superb as well.Modern techniques and <a href=“http://www.cheapuggsnowboot.com/ugg-mayfaire-boots-5116-c-15.html”><strong>UGG Mayfaire Boots 5116</strong></a> materials are employed in which to make certain that the shoes work correctly for the

  23. 87 days ago :: discountuggbootswomensale ::

    http://www.discountuggbootswomens.com
    <a href=“http://www.discountuggbootswomensale.com”>UGG Boots</a>
    <a href=“http://www.discountuggbootswomensale.com”>Cheap UGG Boots</a>
    <a href=“http://www.discountuggbootswomensale.com”>Buy UGG Boots</a>
    <a href=“http://www.discountuggbootswomensale.com”>Discount UGG Boots</a>

  24. 84 days ago :: moncler douodune ::

    Men’s extensive moncler jacket coat around collocation may be a substantial coat for male, sincerely purchaser outlook Moncler. This excellent coat is obviously quilting, really warm-hearted along with welcoming, aside from these really mild. This global darkness “mole” loaded chocolate bars glimpse. Filled with 100% 100 % pure organic straight down load coat obligation to counteract cozy perhaps with serious winter.

  25. 80 days ago :: down coat jacket ::

    <p>We are an online factory outlet selling <strong><em><a href=“http://www.coatmalls.com/”>down coat jacket</a></em></strong>,<a href=“http://www.sellmbts.com/”><strong><em>mbts shoes</em></strong></a>,and <em><strong><a href=“http://www.straightener-sell.com/”>chi straightener</a></strong></em>.Welcome to contact us via ghdtradezone@gmail.com.</p>

    ————————————————————————————————————-
    <p>We are an online factory outlet selling <strong><em><a href=“http://www.coatwon.com/”>goose parka</a></em></strong>,<strong><em><a href=“http://www.mbt-sell.net”>mbt shoe</a></em></strong>,and <em><strong><a href=“http://www.chi-sell.com”>chi straightening iron</a></strong></em>.Welcome to contact us via ghdtradezone@gmail.com.</p>

  26. 80 days ago :: Men's Snow Mantra Parka ::

    Generally I do not post on blogs, but I would like to say that this post really forced me to do so, Excellent post! http://www.jacketsparkashop.com

  27. 79 days ago :: uggs outlet ::

    This is all very new to me and this article really opened my eyes.Thanks for sharing with us your wisdom.

  28. 69 days ago :: louis vuitton outlet ::

    http://www.louisvuittonoutletsu.com louis vuitton outlet
    http://www.burberryscarfon.com burberry scarf
    http://www.chanelbagsmalls.com chanel bags
    http://www.chanelmallsale.com chanel on sale
    http://www.buberrybagssale.com burberry bags
    http://www.uggsclearancebootsu.com uggs clearance
    http://www.louisvuittonoutletmallu.com louis vuitton outlet

  29. 61 days ago :: christian louboutin shoes ::

    <a href=“http://www.christianshoes.us”>christian louboutin</a>
    <a href=“http://www.christianshoes.us”>christian louboutin shoes</a>
    <a href=“http://www.christianshoes.us”>christian louboutin heels</a>
    <a href=“http://www.christianshoes.us”>christian louboutin boots</a>
    <a href=“http://www.christianshoes.us/christian-louboutin-ankle-boots-c-47.html”>christian louboutin boots</a>
    <a href=“http://www.christianshoes.us”>christian louboutin sale</a>
    <a href=“http://www.christianshoes.us/christian-louboutin-evening-c-54.html”>christian louboutin bridal</a>
    <a href=“http://www.christianshoes.us”>christian louboutin discount</a>
    <a href=“http://www.christianshoes.us/christian-louboutin-sandals-devalavi-red-p-967.html”>Christian Louboutin sandals Devalavi Red</a>
    <a href=“http://www.christianshoes.us/christian-louboutin-pumps-c-50.html”>christian louboutin pumps</a>
    <a href=“http://www.christianshoes.us/christian-louboutin-peep-toe-pum-c-51.html”>cheap christian louboutin</a>
    <a href=“http://www.christianshoes.us”>christian louboutin shoes sale</a>
    <a href=“http://www.christianshoes.us”>christian louboutin cheap</a>
    <a href=“http://www.christianshoes.us”>christian louboutin outlet</a>
    <a href=“http://www.christianshoes.us/christian-louboutin-men-shoes-c-55.html”>christian louboutin men</a>
    <a href=“http://www.christianshoes.us/christian-louboutin-wedges-c-56.html”>christian louboutin wedding shoes</a>
    <a href=“http://www.christianshoes.us/christian-louboutin-peep-toe-Pumps-c-51.html”>Christian Louboutin Peep Toe Pumps</a>
    <a href=“http://www.christianshoes.us/christian-louboutin-sandals-c-52.html”>Christian Louboutin sandals</a>
    <a href=“http://www.christianshoes.us/christian-louboutin-slippers-c-53.html”>Christian Louboutin Slippers</a>
    <a href=“http://www.christianshoes.us/christian-louboutin-flat-shoes-c-44.html”>Christian Louboutin Flat Shoes</a>
    <a href=“http://www.christianshoes.us/christian-louboutin-wedges-c-56.html”>Christian Louboutin Wedges</a>
    <a href=“http://www.christianshoes.us/christian-louboutin-evening-c-54.html”>Christian Louboutin Evening</a>
    <a href=“http://www.christianshoes.us/christian-louboutin-ankle-boots-c-47.html”>Christian Louboutin Ankle Boots</a>
    <a href=“http://www.christianshoes.us/christian-louboutin-long-boots-c-48.html”>Christian Louboutin Long Boots</a>
    <a href=“http://www.christianshoes.us/christian-louboutin-over knee boot-c-49.html”>Christian Louboutin Over knee Boots</a>
    <a href=“http://www.christianshoes.us/christian-louboutin-pumps-alti-pump-black-p-863.html”>Christian Louboutin Pumps Alti Pump Black</a>
    <a href=“http://www.christianshoes.us/christian-louboutin-peep-toe-Pumps-platforms-altadama-nude-p-934.html”>Christian Louboutin Peep Toe Pumps Platforms Altadama Nude</a>
    <a href=“http://www.christianshoes.us/christian-louboutin-wedges-une-plume-framboise-p-1060.html”>Christian Louboutin Wedges Une Plume Framboise</a>
    <a href=“http://www.christianshoes.us/christian-louboutin-big-kiss-studded-leather-flats-black-p-1076.html”>Christian Louboutin Big Kiss studded leather flats Black</a>

  30. 55 days ago :: cheap jerseys ::

    It is just what I’ve looking for and excited to read all the posts. I am looking forward to another great article from you. http://www.gucciclothing.us/

  31. 55 days ago :: kobe v ::

    The Nike shoes on the Flywire<a href=“http://www.kobeshoes-mall.com”>Kobe basketball Shoes</a> features technology. Three separate<a href=“http://www.kobeshoes-mall.com”>kobe shoes</a> layer used to allow for light support<a href=“http://www.kobeshoes-mall.com”>Kobe Shoes 2011</a> and maximum performance. A kind of reptile mode is to cover the Flywire snakeskin texture, create a. Nike zoom air cushion for the midsole to provide superior impact protection and model with <a href=“http://www.kobeshoes-mall.com”>kobe vi</a>adds additional support. <a href=“http://www.kobeshoes-mall.com”>kobe 6</a>This pair of shoes is truly establish performance specifications of the highest basketball shoes, Nike innovation design team has. You can have <a href=“http://www.kobeshoes-mall.com”>kobe V</a>a pair of little, retail price. Because we are all waiting for kobe Bryant down there are several <a href=“http://www.kobeshoes-mall.com”>kobe 5</a>online retailers VII there are a lot more colors of kobe, you can purchase VI into the correct about $100.

  32. 55 days ago :: gucci ::

    Transmission belt can be divided into v-belts, synchronous belt (tooth belt when, with the customs), flat belt (piece of baseband, dragon belt), agricultural machine belt, high speed to prevent oil belt, round and round with), flat look belt, and a water tower (wide Angle belt), belts,
    <a href=“http://www.fakeguccibeltswholesale.com”>cheap gucci belts</a>
    <a href=“http://www.fakeguccibeltswholesale.com”>cheap gucci belts for men</a>
    <a href=“http://www.fakeguccibeltswholesale.com”>cheap gucci belts for women</a>
    <a href=“http://www.fakeguccibeltswholesale.com”>fake gucci belts</a>
    <a href=“http://www.fakeguccibeltswholesale.com”>fake gucci belts for men</a>
    <a href=“http://www.fakeguccibeltswholesale.com”>fake gucci belts for women</a> variable motorcycle belt, variable V belt (V belt), in parallel to the belt, many ditch, belt, loose belt, traction belt, automobile belt. The conveyor belt is widely used in cement, coking, metallurgy, chemical industry, steel industry etc transmission distance is short, the output of smaller occasion. The conveyor belt use multilayer cotton canvas hanging plastic frame, the surface coverage the good performance of rubber materials, vulcanization and manufactured. All<a href=“http://www.fakeguccibeltswholesale.com”>cheap louis vuitton belts</a>
    <a href=“http://www.fakeguccibeltswholesale.com”>fake louis vuitton belts</a>
    <a href=“http://www.fakeguccibeltswholesale.com”>hermes belts</a>
    <a href=“http://www.fakeguccibeltswholesale.com”>cheap louis vuitton belts for men</a>
    <a href=“http://www.fakeguccibeltswholesale.com”>fake louis vuitton belts for men</a>
    <a href=“http://www.fakeguccibeltswholesale.com”>cheap louis vuitton belts for women</a>
    <a href=“http://www.fakeguccibeltswholesale.com”>fake louis vuitton belts for women</a> of the conveyor belt must meet a ring to use, so the conveyor belt of the joint direct influence on the life of conveyor line, can smooth running smoothly. General conveyor belt of the commonly used method has mechanical joint joint, cold adhesive joint, hot vulcanization connector.

  33. 35 days ago :: cheap nfl jerseys ::

    It is just what I’ve looking for and excited to read all the posts. I am looking forward to another great article from you. http://www.cheapmonclerjacketsell.com/

  34. 33 days ago :: Coach Outlet ::

    I’m happy I found this blog. Thank you for sharing with us.

  35. 33 days ago :: Moncler ::

    Thanks for the nice blog. It was very useful for me.

  36. 33 days ago :: Juicy Couture Outlet ::

    I would like to thank you for sharing your thoughts!!

  37. 11 days ago :: Canada Goose Coats ::

    We left the Sears parking lot at 7 am under police escort as we headed to the Terry Fox memorial just outside of Thunder Bay.

Leave a Comment

Why?