views:

65

answers:

4

I'm planning a webapp. I have all the wireframes defined, the interfaces designed in photoshop, data structures etc. It will be built on php and mysql however I've been unable to decide on which technology to use as a GUI. All your insights are welcome.

The problem with going the html way is that the GUI makes use of a special font that is crucial to the visual aspect of the app. So this font is required. For headers and fixed sections I could do sfir or use images but being a webapp, the amount of dynamically generated content makes it imposible to use image replacements. Enter flash. Flash solves the font problem easily, it even adds font antialiasing and animations which makes it look even sexier. Another pro is being able to deploy as an air app to use local storage for users that have troublesome connections. This way when internet access is restored the app can sync with the main servers. BUT... flash is being ignored by major developers, this would mean the app wouldn't be accessible to mobile devices, ipads,search engines, etc and requires the installation of the flash plugin which is not that big a deal but should be considered.

I appreciate your insights, suggestions, comments :)

+3  A: 

Have a look at Cufon. It's javascript-based and works in most browsers, including IE6.

eWolf
Thanks guys, after some testing I'm going with cufon. @font-face is a nightmare to get to work in all browsers and antialiasing depends on the users settings. Typeface works great, It allows text to be selectable in more browsers that cufon (dont remember which at the moment) but I couldn't get it to work on opera. Cufon renders type beautifully but some things to consider: text is not selectable, keep it under 1000 characters according to: http://bkwld.com/blog/2009/06/cufon-speed-test/ and javascript must be enabled. Also you should check out font licensing issues as stated by prodigitalson
Juank
+1  A: 

With typeface.js you can embed custom fonts in your web pages so you don't have to render text to images.

http://typeface.neocracy.org/

That way you can use plain HTML/CSS for lighter faster clients and still use a special font.

Todd Moses
+1  A: 

The only problem with the JS solutions and/or the underlying css that makes them possible is that you still have licensing to deal with. Unless its a FOSS typeface its doubtful youll be able to get a license for web use in all the formats you need. Some of the larger foundries are supporting the IE based format (dont recall what its called at the moment) but they do not support the standard used by Mozilla or WebKit.

On the other hand with flash the font is embedded in a compiled swf so there shouldnt really be any licensing issues so long as you have the proper license to use it in the first place. That is assuming youre not distributing the fla source files.

prodigitalson
Very good point. Would +1 but am out of votes.
Pekka
No worries, i owe you from my hasty comment/answer on the css thread. :-)
prodigitalson
A: 

You could use @font-face but it's a css3 feature and it takes a few extra steps to get it to work in all browsers.

Check out

http://webfonts.info/wiki/index.php?title=%40font-face_browser_support

http://blog.themeforest.net/tutorials/how-to-achieve-cross-browser-font-face-support/

Catfish