LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Web Dev IDE or Editor Templates (https://www.linuxquestions.org/questions/linux-newbie-8/web-dev-ide-or-editor-templates-729169/)

vhenry 05-28-2009 04:01 PM

Web Dev IDE or Editor Templates
 
Hi,

After years of starts and stops, finally made the plunge and joined the linux community a couple months ago - can I say I'll never look back? ;) Loving Ubuntu and all the open source software replacements.

After doing my web development in dreamweaver, I've just begun experimenting with Netbeans, Aptana, Gedit, Jedit and Geany on the Linux side, but there's one nagging feature I've not been able to duplicate and hoping you guys can help.

In Dreamweaver, when starting a new web project, I'd create a template that housed my header, navigation and footer, and create all the pages of the site from this template. That way, as the site grew larger and I needed to change, say a navigation bar item, I'd make the change on the initial template and DW would apply it to the other pages of the site - quite useful.

Please tell me there is a way to duplicate this functionality with one of the Linux editors? Am I simply doomed to have to update the navigation on each and every page - please, say it ain't so. :-)

jay73 05-28-2009 05:42 PM

If you use netbeans to write java apps, you can edit the default template. I'm sure you can do the same for any type of content.

Tinkster 05-28-2009 05:53 PM

This may be a silly question ... but wouldn't one normally put
navigation into a separate frame, rather than replicating it into
every single page?



Cheers,
Tink

vhenry 05-28-2009 07:11 PM

Quote:

Originally Posted by Tinkster (Post 3555909)
This may be a silly question ... but wouldn't one normally put
navigation into a separate frame, rather than replicating it into
every single page?



Cheers,
Tink

Tink, the way things work in DW, the code is automatically replicated on each page if you create from the template - more as a placeholder, not even editable. If there is another/better tool or way to do my web development, I'm all ears. :-)

vhenry 05-28-2009 07:11 PM

Quote:

Originally Posted by jay73 (Post 3555901)
If you use netbeans to write java apps, you can edit the default template. I'm sure you can do the same for any type of content.

Will give this a quick try later in netbeans.

Tinkster 05-28-2009 07:17 PM

Quote:

Originally Posted by vhenry (Post 3555958)
Tink, the way things work in DW, the code is automatically replicated on each page if you create from the template - more as a placeholder, not even editable. If there is another/better tool or way to do my web development, I'm all ears. :-)

Hmmm ... what is your requirement, then? I don't really
know much about dreamweaver, aside from the fact that it
produced rather large documents when I last looked at it
MANY years ago (7+), and I didn't like it much for that
very reason ....



Cheers,
Tink

vhenry 05-28-2009 09:05 PM

Quote:

Originally Posted by Tinkster (Post 3555963)
Hmmm ... what is your requirement, then? I don't really
know much about dreamweaver, aside from the fact that it
produced rather large documents when I last looked at it
MANY years ago (7+), and I didn't like it much for that
very reason ....



Cheers,
Tink

requirement is to be able to modify page elements common to all pages (i.e. navigation, header, footer) on one page and have that replicated across the entire site. Alternative is if I wanted to add one item to menu, I'd have to add this to all 100+ pages.

Tinkster 05-28-2009 11:39 PM

Heh ... so you're not using frames at all? Most unusual.

What one could do (if one was eager) is to use m4 macros
for those elements.



Cheers,
Tink


All times are GMT -5. The time now is 02:37 AM.