 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
ServerGrove Blog: Editing Twig Templates in Dreamweaver
by Chris Cornutt March 04, 2011 @ 10:16:28
On the ServerGrove blog today there's a new post showing how you can set up Dreamweaver to be able to edit Twig templates directly, complete with syntax highlighting.
If you are a designer working with Symfony developers you will soon encounter Twig. Twig is a template engine for PHP that has been adopted by Symfony 2, and from a designers perspective, it's a major improvement over the way things are done in Symfony! For designers who have used templating systems like Smarty before, Twig is going to be a walk in the park, if you have not used a templating system before, Twig is a great place to start.
It's a simple two-step process to get things up and working. You just need to tell Dreamweaver that ".twig" files should be recognized as code and set up the syntax highlighting in the "MMDocumentTypes" XML configuration file (might be a little tricky for non-development types). This change tells the program to open them with HTML syntax highlighting.
voice your opinion now!
edit tig template dreamweaver syntax highlight html
Thomas Weinert's Blog: Highlight Words In HTML
by Chris Cornutt May 10, 2010 @ 10:34:24
In the latest post to his blog Thomas Weinert takes a look at a simple challenge someone asked him about - highlighting a section of HTML based on a search string - and his solution.
The challenge is to wrap given words in text content with a span and add a class to the span depending on the word. Do not touch elements, attributes, comments or processing instructions. Do it case insensitive and do it the safe way.
He uses the FluentDOM tool to get the job done. It allows him to create an XPath expression to single out the item to be highlighted (in this case a single or series of words) and wrap them in a matching span tag with the correct styles attached.
voice your opinion now!
fluentdom tutorial highlight word
Matthew Weier O'Phinney's Blog: Syntax Highlighting for Technical Presentations
by Chris Cornutt March 11, 2009 @ 10:22:17
If you've given any kind of technical presentation, you know that presenting code samples (clearly) can be one of the larger challenges. Matthew Weier O'Phinney has found a solution that works well for him and his slides - Highlight.
Being a technical presenter, I've often run up against the issue of how to present code snippets. The easiest route is to simply cut-and-paste into your presentation software. However, such code is basically unreadable. [...] The first trick I tried was to take screenshots of gvim. However, this had distinct downsides. [...] The next trick I tried was to use Zend Studio or Eclipse to create my screen shots.
He talks about the tool (Highlight) and its use - basically you specify the input, output and the language it needs to highlight for with more fine-tuning options like font size, line width and more. Compare this and this to the end result of Highlight here to get a feeling for how the product might look.
voice your opinion now!
syntax highlighting slide presentation highlight tool example
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
|
Community Events
Don't see your event here? Let us know!
|