Thinkin' Tags - Rapid Prototyping of CSS Layouts

12
Thinkin‘ Tags Rapid Prototyping of CSS Layouts Dirk Jesse, Highresolution.info apps.berlin.js – Feb., 28th, 2013

description

Some thoughts about the challenges of creating "Thinkin' Tags" as a JavaScript developer ... presented on apps.berlin.js (Feb., 28th, 2013)

Transcript of Thinkin' Tags - Rapid Prototyping of CSS Layouts

Page 1: Thinkin' Tags - Rapid Prototyping of CSS Layouts

Thinkin‘ Tags Rapid Prototyping of CSS Layouts

Dirk Jesse, Highresolution.info apps.berlin.js – Feb., 28th, 2013

Page 2: Thinkin' Tags - Rapid Prototyping of CSS Layouts

That‘s me

• Civil Engineer/Editor

• Coding Background – Amiga 500 Assembler Freak (early ‘90)

– CSS Framework YAML (2005)

– YAML Builder: First Contact to JS/jQuery (2007)

– Thinkin’ Tags (since 2009)

Page 3: Thinkin' Tags - Rapid Prototyping of CSS Layouts

Thinkin‘ Tags

• Browser-based editor/IDE for CSS layouts • Modular, event-based communication • JS-based CSS engine • CSS box-model visualisation • Object orientated layout modules

Page 4: Thinkin' Tags - Rapid Prototyping of CSS Layouts
Page 5: Thinkin' Tags - Rapid Prototyping of CSS Layouts

Toolset

Client • jQuery, jQuery UI • jQuery Plugins

– UI Layout – ColorPicker – MarkItUp

• Modernizr + Yepnope • Webshims Lib • CodeMirror

Server • Node.js + MongoDB

Page 6: Thinkin' Tags - Rapid Prototyping of CSS Layouts

Challenges … and what i‘ve learnt.

Page 7: Thinkin' Tags - Rapid Prototyping of CSS Layouts

UI Performance

• Provide good feeling (response time < 250ms)

• jQuery UI – complex DOM of UI elements – updateing is not that fast – caching

Page 8: Thinkin' Tags - Rapid Prototyping of CSS Layouts

Profiling JS Performance

• Don‘t build for Chrome users – Custom-events with runtime measurement

(works everywhere)

Page 9: Thinkin' Tags - Rapid Prototyping of CSS Layouts

Rendering Performance

• flexible UI components box-sizing:border-box; is your friend

• CSS3 is great when used moderate (box-shadows, gradients)

Page 10: Thinkin' Tags - Rapid Prototyping of CSS Layouts

Consistent UI Behavior

• Webshims Lib (Alexander Farkas) – configurable auto-loader – dynamic injection of HTML5 elements – consistent UI behavior (e.g. <datalist>)

Page 11: Thinkin' Tags - Rapid Prototyping of CSS Layouts

What‘s next …

• Frontend – Support for Media Queries (RWD) – Support for uploading graphics – (improvements everywhere)

• Backend – Looking for help with Node.js & MongoDB

to implement all the ideas

Page 12: Thinkin' Tags - Rapid Prototyping of CSS Layouts

Thank You http://thinkintags.com

[email protected]

@djesse