Wednesday, February 23, 2011

Re: cookbook experience

On Feb 23, 2011, at 13:14, rj wrote:

> Hi, this is just to share some experiences with the fabulous new
> cookbook.
>
> Last week the dynamic table of contents in combination with the search
> field worked for me for the first time (on FF 3.6). That's really
> cool! (It throws an error though in IE7, details below, and no table
> of contents at all in Opera)
>
> Hitting Enter in the search field comes up with a white page. I guess
> this is not intended.

I think I also like the way it looks better, and will work better, but I can't call it fabulous until it actually does work the way it was intended (given issues like what you just mentioned above). It does seem to have been getting better though, so that's good; it works in my Safari now for example.


> Another amendment might be the fonts used by the new cookbook. I
> suggest to remove HelveticaNeue-Light (from app.css). Helvetica Light
> is a very beautiful and elegant font for printed matter but in a web
> browser on Windows the text becomes really hard to read.
> Since this font is not available by default few people will have that
> issue, but I need Helvetica Light and so will either have to live with
> glued together characters in the cokbook or take the time to write a
> Greasemonkey script to remove this font declaration automatically :-)

Helvetica Neue Light looks ok on Mac OS X I guess. But I've seen Windows text before and can imagine how it might not look so super with small type in a light-weight font. You're right, it might be wiser to go with a regular-weight font.


> One last note: getting rid of the flash elements which are emedded by
> default would also help for usability.
> I suggest to load them by ajax only if Javscript detects that Flash is
> really available, otherwise just do nothing. The page would be leaner
> and cleaner, and people having disabled Flash for any reason will not
> be bothered with non-functional embeddd objects partly covering the
> text.
> Anyway, as far as I can see they only provide the copy to clipboard
> functionality and most of us know how to copy and paste code with the
> mouse cursor, don't we :-)

I too have been annoyed by these Flash boxes, since I too use a Flash blocker. I suppose I'll just tell it to allow Flash from the cookbook, because you actually do need it to copy the text properly. If you try to copy the text by selecting it and copying it normally, it does not come out right when pasted. Depending on the browser I copy from and the editor I paste into, either the line numbers are pasted as well, or they are turned into bullets, or newlines or indentation are deleted, or some combination of these, none of which results in readable and functional code.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: