Published 2008-07-01 00:00:00

Another update on progress on RooJS (the ExtJS v1 Fork)
  • Form's now have CSS, so the dynamic form examples work quite well
    • The CSS was created by documenting how the existing examples where rendered in ExtJS - A document describing this was created (see form_design.svg in the css folder). Then that document was used to create a brand new CSS file. I believe this can be regarded as not breaking the copyright and having a reasonable reverse engineering process.
    • the x-box borders are missing, although not critical
    • the HTML editor needs to be fixed.

  • I have done the design diagram for CSS of the menu's and will be working on that soon.
  • The doc's are improving as well, The doc's appear to be listing all the correct elements now, future work will focus on tidying up the templates.
    • Most of the improvements came from replacing the Walker code in the jsdoctoolkit so that it understands scope in a similar way to the compressor. I also had to add a few extra comments in the source to give the documentation tool a few hints.
    • /** @scope Roo.somescope */ -- changes the scope in the documentation engine (as sometimes it just can not guess what the scope is.
    • /** @scopeAlias avar=Roo.xyz.prototype */ -- adds an alias to the parser engine alias map, so when it sees 'avar', it will replace it with Roo.xyz.prototype
  • The compresser is working well, someone asked on #roojs on freenode about using it for other code, including ExtJs2.0 - There should be no problem doing that - have a look at the bundle build file to see how to set up a builder for any project.
    • One thing to note is that the compresser uses hints when it sees 'eval'. The YUI compresser basically turns off compression for a large chunk of the code if it sees 'eval', I've added code to pick up a comment before the eval statement:
      • /** eval:var:abcd */ will turn variable compresion back on, and exclude 'abcd' from the list of variables to be compressed (use multiple eval:var:... statement on multiple lines to exclude multiple variables)
Anyway back to work tommorow, after celebrating (eg. doing nothing) the glorious reunification with the motherland day (HKSAR day)



Mentioned By:
ajaxian.com : Ajaxian » Ext 2.2: History, Selectors, FileUploader, and more ( referals)
google.com : form css ( referals)
google.com : roojs ( referals)
www.planet-php.net : Planet PHP ( referals)
google.com : december ( referals)
www.phpeye.com : RooJS update - form CSS, better docs, and compressor eval hints. - Alan Knowles|PHP教程|PHP新闻|PHP5|PEAR|PHP框架|PHPEye - ( referals)
www.urlfan.com : RooJS update - form CSS, better docs, and compressor eval hints. (://URLFAN) ( referals)
regator.com : RooJS update - form CSS, better docs, and compressor eval hints. - Alan Knowles | related posts and comments ( referals)
www.cnzxh.net : CNZXH.NET 关注基于Linux的开源应用 - RooJS update - form CSS, better docs, and compressor eval hints. - Alan Knowles ( referals)
google.com : php update form ( referals)
google.com : css form examples ( referals)
google.com : CSS form ( referals)
google.com : forms css ( referals)
google.com : CSS FORMS ( referals)
computer-internet.marc8.com : RooJS update - form CSS, better docs, and compressor eval hints.... | Computer & Internet ( referals)
www.debian.org.hk : Planet DebianHK | Debian HK ( referals)
google.com : CSS Update ( referals)
google.com : google forms css ( referals)
google.com : RooJS extjs ( referals)
regator.com : Speedier google translate API for RooJs and ExtJS - Alan Knowles | related posts and comments ( referals)

Add Your Comment

Follow us on