Reply to Re: Syntax Highlighting libraries

Your name:

Reply:


Posted by Christoph Burschka on 04/26/07 06:50

Grigory Temchenko schrieb:
> On Apr 3, 2:21 am, Christoph Burschka <christoph.bursc...@rwth-
> aachen.de> wrote:
>
>>Are there any free PHP libraries/utility functions that can color the syntax of
>>various programming languages (eg. Java and C++)?
>
>
> You can use http://softwaremaniacs.org/soft/highlight/en/
> That's very easy to use library and it don't need PHP. You just drop
> few lines of JavaScript on your page and it's work.
>

But between a Javascript and a PHP solution, I'd say server-side is the
more desirable. After all, my CMS (Drupal) can cache the filter output
of the PHP function, and therefore has minimal resource use, compared to
forcing every user to run the parser in their browser.

Not to speak of browser compatibility and accessibility, of course...

--
cb

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация