 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Tiffany Brown's Blog: Review WorkSpace
by Chris Cornutt May 15, 2007 @ 11:07:00
On her blog, Tiffany Brown has a review of an online editing resource she came across that can help you write code and work with remote files via a web interface - WorkSpace (including HTML, JavaScript, CSS, PHP, SQL, Java, and Perl documents).
WorkSpace - which currently is currently in limited beta testing - is an online text editing environment with an eye towards web development. You can create documents and save them in your hosted sandbox, or directly to your server via FTP.
She talks about her experiences with it - both the good and the bad. She liked the simplicity of it all but thought it lacked a few of the features it needed. She also mentions the lack of version control in the application.
I do like the idea behind WorkSpace. [...] The downside is that you're trusting a company with all of your web site data. I'm not sure the slight gain in the ability to work remotely is worth the trade-off of giving WorkSpace server access.
voice your opinion now!
workspace review webbased editor highlight workspace review webbased editor highlight
PHP-GTK Community Site: Using GtkSourceview to build a php editor with syntax highlighting
by Chris Cornutt December 19, 2006 @ 08:34:00
There's a new tutorial posted on the PHP-GTK Community site today - a quick one showing how to use GtkSourceview to create a simple PHP editor with syntax highlighting.
This widget is nearly usable as a real php-gtk IDE. It extends GtkSourceView widget and internally manages both a text buffer and language object classes.
They provide the code, but not too much in the way of explanation for it. Thankfully, most of it is pretty straight-forward. There are a few things that the script has to manage to make the it work - a text buffer for the data, a viewer (window), and the syntax highlighting component. For the view, there are a few handy functions already built in so you won't have to create them - undos, the syntax highlighting, line numbering, markers, and bracket highlighting.
voice your opinion now!
gtksourceview editor syntax highlight undo marker bracket gtksourceview editor syntax highlight undo marker bracket
Chris Shiflett's Blog: Formatting and Highlighting PHP Code Listings
by Chris Cornutt October 27, 2006 @ 07:19:00
In his continuing effort to redesign his blog, Shiflett.org, he's been working on one of the things that really makes a blog useful - the commenting system. Specifically, he wants site visitors to be able to add their own code listings to the comments they post. He gives more detail in this new post.
I've been playing with this tonight. Feel free to follow along as I go. The first thing you want to do is create an ordered list from the code you want to format ($code in these examples).
He gives an example of a listing using his system and explains how it all works. It's a mixture of:
- PHP for parsing the data inside the 'code' tags
- CSS to correctly style the information, whitespace and all
- Some ini settings to set parameters for...
- ...the use of highlight string on the PHP code contents
A little str_replace magic later and you have list items styled as code blocks on your page. Check out his demo for an example.
voice your opinion now!
code format highlight listing comment blog highlight_string css code format highlight listing comment blog highlight_string css
|
Community Events
Don't see your event here? Let us know!
|