A preview release of Facelift v2.0

March 30th, 2009 by Cory Leave a reply »

Some of the other things going on in my life are causing Facelift to get delayed so I thought I’d provide a preview release of v2.0 to prove to everyone that I really am working on it!

The flir.js file is just about complete (still need to do extensive compatability testing) but I still need to overhaul the backend as well as add/remove some features and work on the plugins.

It works in its current state but I don’t know if I’d want to use it in a production environment.

Consider this a pre-alpha.

Download Facelift v2.0 preview

Click through for a list of some of the enhancements.

Some of the enhancements:

  • URLs are now much shorter and CSS is transported more efficiently and more similar across browsers to reduce the need for dupe images for different browsers
  • IE6 now only uses the AlphaImageLoader filter if PNG output is specified
  • This version includes all of the code separated out into sections. The final version will allow you to pick and choose which functionality you need similar to jQuery
  • Expensive get DPI call is now cached in a cookie
  • New Client side debug mode to reduce problems with strange renders when designing websites with Facelift
  • Removed FLIR.auto.  FLIR.replace is now the only call and if a FLIRStyle is not included, the defaultStyle is used.
  • MUCH better/easier to understand method for creating FLIRStyles.
    • realFontHeight is now fixedBaseline
    • CSS options are now confined to their own sub-object and with normal CSS property names.  For example:
      new FLIRStyle({ mode:'wrap'
                     ,output:'gif'
                     ,fixedBaseline:true
                     ,css:{ 'font-size': '12px'
                            ,'line-height':'150%'
                            ,'color':'#FF0000' }
                   });
    • png mode is on by default instead of auto.  auto mode automatically picks png/gif depending on if a background color is set.  Unsure if I’m going to leave this.  Might put gif on by default.  Input?

4 comments

  1. yandalf says:

    I think you can use the php.js (javascript port of some php functons) function rawurlencode to scape latin, greek russian characters. I use this function in flir.js and in the php code rawurldecode to get all special characters with no problems.

    What do you think about this?

    I also use a utf8 check function in php code to dont make two utf8_encode calls in the same string.

    I hope this comments can be usefull for this new version of FLIR

    Reply

  2. Ali B. says:

    It’s great to see that FL 2.0 is in the making. I am looking forward to the release.
    As for the default mode, if you must set a value other than auto as the default then I’d go for the png mode.

    Reply

  3. Sheldon says:

    Excellent news – can’t wait to see the final version. Thanks.

    Reply

  4. SEH says:

    using facelift on our new website http://www.nikitaclothing.com. working great for us, hosted on IIS 7 fastCGI.
    when do you expect final version of 2.0?

    Reply

Leave a Reply