[prev in list] [next in list] [prev in thread] [next in thread] 

List:       quanta
Subject:    Re: [Quanta] sever side includes
From:       Eric Laffoon <sequitur () kde ! org>
Date:       2005-11-29 8:19:36
Message-ID: 200511290019.36704.sequitur () kde ! org
[Download RAW message or body]

On Monday 28 November 2005 10:15 am, Joff wrote:
> On Monday 28 November 2005 16:47, Eric Laffoon wrote:
> > On Monday 28 November 2005 2:46 am, Robert Lee Taylor wrote:
> > > Hey guys.
> > >
> > > Quick question ... I'm taking quanta for a test spin and i love it so
> > > far.
> > >
> > > The only feature I miss from Dreamweaver is to preview server side
> > > include files (php) in the visual view.  It helps when designing and
> > > doing page layouts.
> > >
> > > <blah blah>
> >
> > BTW we also sponsor developers to work on Quanta. The "free" in "Free
> > Software" is "free to distribute and share", but it's certainly not free
> > to produce. We hope people who find more value in Quanta will share a
> > portion of their "savings" in time, effort and licensing fees as an
> > investment in the future development of our project, or at least a token
> > of appreciation. ;-)
>
> This is something that I'd like to see. I use php includes to make basic
> templates, which is great. The trouble is that when you're writing a page
> based on one of these templates Quanta doesn't take into account the rest
> of the template structure (which is in other php files).
> Would be nice if Quanta pulled in the code from the includes, perhaps even
> greyed out the code or whatever. Would make validation easier too.

You're talking about displaying the included code in the file? This will not 
be possible prior to KDE 4 as it requires new features in the Kate part. 
However we do have the context link to open those files as well as the 
structure tree to review classes and variables. Ideally the feature you're 
talking about would need to write protect sections of the file to prevent 
accidental editing of an include. As far as the conditional aspect, this is 
not as impossible as you might imagine, provided you're running project 
preview. There has been some discussion of providing functionality withing 
VPL to edit HTML embedded in PHP loops. The only possible way to do this is 
to interpret what is happening in the PHP. However we have this capability 
with the debugger and Gubed. This hasn't been discussed at length yet and 
it's also not an easy task, but it's worth looking into. It would also be a 
functionality level I doubt you'd see elsewhere soon.
>
> I appreciate this isn't quite as easy as it sounds because of php's less
> than simple include file system. Would be dead easy in ASP cos if a file's
> included, it's included - simple as. Php, of course, can have conditional
> includes for a start. Without turning Quanta into a php parser, perhaps
> there's a way to incorporate "simple" include file parsing (with the option
> to turn it off!)
>
> On another note, but a similar subject, does Quanta pull in class and id
> rules from external CSS files yet? :) Would love to see Quanta offering all
> my classes in an autocomplete box whenever I type '<img class="  ' or
> whatever :)

Yeah, I've been looking for that too. I don't know the status. The developer 
who did much of our CSS work has not been available for a while but for my 
part external CSS is mostly all I use.
>
> Keep up the great work guys!
>
> Joff
You bet. The insanity continues. I'm looking forward to slack time with my 
business and a "programming vacation". ;-)
-- 
Eric Laffoon - Quanta+ Team Leader 
http://quanta.kdewebdev.org
_______________________________________________
Quanta mailing list
Quanta@mail.kde.org
https://mail.kde.org/mailman/listinfo/quanta
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic