logo       

Re: Re: M8 Goals, Release Criteria and TODO: msg#00032

Subject: Re: Re: M8 Goals, Release Criteria and TODO
On Wednesday 12 Nov 2003 6:19 am, Mike Gifford wrote:
> Howdy folks,
>
> Been busy this week, so sorry for the delay.
>
> > Subject: Re: [Phpslash-devel] story save plugins
> > From: Matthew Leingang <leingang-c2Vpf+SSmYbWs/AcZQh2Cw@xxxxxxxxxxxxxxxx>
> > To: Joe Stewart 
> > <joestewart-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx>
> >
> > > My thoughts are to provide a plugin script in the module/story
> > > directory instead of incorporating it in the Story class.  I'm not set
> > > on either yet.  The plugins would be in a subdirectory much as
> > > blocktypes.
> >
> > OK, so what form does the data take in the database, though?  If it's
> > entered as wiki does it stay as wiki?
>
> What we did with BE is have content field & then a content_source field
> for every text field which you could use wiki or text markup with.
>
> The html is stored in the content field for fast delivery, but when the
> page is edited it is the content_source which is displayed in the format
> it was entered in (be that html, wiki or plain text).
>
> It would be cooler to translate it both ways so that you could edit it
> in a wiki, store it as html and then translate that html into a wiki
> when you are editing it.  That would allow you to switch markup types
> mid-stream.

I might be able to fit adding Wiki code to PSL in the current project I'm 
doing. If the client goes for it, or the budget allows. 

It would be good to have a common class that generates a textarea with 
appropriate input options. The class could then be used by the article, 
story, section modules, and we'd be sure of a common look and feel.

And HtmlArea is a neat option for those who want that could be allowed.

At first thoght, it seems a bit difficult to go from HTML back to Wiki (think 
about tables or links). I've not looked to see if someone's worked out how to 
do it already tho.

In effect, the processed HTML is another level of data caching - and as such, 
maybe doesnt belong in the main tables. (It would be good to have a content 
caching strategy that allows the choice of filesystem or database, but that's 
another debate)

> As far as a M8 goal, I'd also suggest running the code through something
> like this to make it more consistently formatted:
>       http://sourceforge.net/projects/beautifyphp/
>
> It's worked fairly well for BE.

And it would make diffing between PSL and BE easier!

Peter



-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe