Search the web
Sign In
New User? Sign Up
mt-dev · Movable Type Developers
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
MT 3.1   Message List  
Reply | Forward Message #574 of 2112 |
Re: [mt-dev] MT 3.1

Fresh off a plane to the Six Apart offices here and I'm trying to catch
up on mt-dev today. Lots of questions/concerns about the dynamic
publishing stuff.

First of all, everyone: I feel your pain. I have a slew of MT/Perl
plugins myself. If I had a convenient way to make those work with
MT/PHP, I would have jumped at it.

It's important to know that the PHP rendering engine is written from
scratch; a port of MT::Template::Context and bits of the MT::Util and
MT modules. And yes, that was painful.

The dynamic publishing advantages I listed for the MT 3.1
documentation[1] are:

Dynamic pages reflect template changes immediately.
Rebuild times are substantially reduced, regardless of the number of
posts your blog contains.
Comment and trackback pings made to your weblog are also faster since
if your archives are dynamic.
All trackback pings are listed on your dynamic archive pages, as soon
as they are posted to the database.
You save a lot of disk space by not building all those physical files.
You can have any number of presentations of your site, using different
index/archive templates without incurring any disk space penalty.

These are all very tangible and desirable benefits. And with MT 3.1,
you can mix and match your publishing, so some things can be left as
static, and some can be dynamic.

You can also slip in <?php ... ?> blocks into your templates.

Naturally, this means you have a bunch of PHP code out there you can
use[2].

You can also use Smarty code too (default delimiters are '{{' and '}}',
since the standard Smarty delimiters of '{' and '}' cause too many
problems with embedded JavaScript).

This means you have a bunch of Smarty plugins that you can use[3].

And it should be pretty simple to port PHP plugins from alternative
CMSes[4] to MT/PHP.

It's all about more options, more flexibility and short-to-none build
times.

I'll be porting my plugins to PHP... any recommendations on what to
tackle first?


[1] http://www.movabletype.org/docs/mtmanual_dynamic.html
[2] http://php.resourceindex.com/
[3] http://smarty.php.net/contribs.php
[4] http://www.wordpress.org/


On Sep 1, 2004, at 2:31 PM, Ben Hammersley wrote:

>
> On 1 Sep 2004, at 15:45, app@... wrote:
>
>> MT 3.1 is out. What do we think? Discuss. ;) <tim/>
>> ---
>
> I'm deeply puzzled about the Dynamic Publishing. When I heard about it
> I thought "Great! A way to prototype page templates with enormous
> amounts of plugins and PerlScripting and stuff, without having to
> rebuild 4000++ pages. Ace!"
>
> Note this is not the look and feel - CSS takes care of that - but the
> cool plugin features that I've been wanting to try out. That would be
> great. But now it's apparent (though little realised, I fear) that you
> can't use ANY of the existing plugins. This is just weird: for an
> application that sells itself on having a huge development community,
> and the hundreds of plugins available for it, having the key feature of
> a point release basically throw that development away is just bizarre.
>
> Given that disk space is very cheap indeed, the only other reasoning
> behind the Dynamic Publishing is that it speeds up rebuilds. Surely it
> would have been time better spent, erm, speeding up the rebuild and so
> allowing the DT system to then use the Perl plugins, than rewriting the
> whole layer and wiping the slate clean with respect to third-party
> support.
>
> I mean, now MT users have been sold on Dynamic Publishing, there's even
> more reason for them to move to WordPress - because they will have both
> DP *and* a whole load of plugins.
>
> I just don't see the strategic sense of it. Anyone?
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
--
http://bradchoate.com/




Wed Sep 1, 2004 11:11 pm

bschoate
Offline Offline
Send Email Send Email

Forward
Message #574 of 2112 |
Expand Messages Author Sort by Date

... Erm. You know how on a slow and resource-limited machine, a full rebuild will time out, or get clobbered by a process reaper, when it's doing it in one...
Phil Ringnalda
philringnalda
Offline Send Email
Sep 1, 2004
9:51 pm

Fresh off a plane to the Six Apart offices here and I'm trying to catch up on mt-dev today. Lots of questions/concerns about the dynamic publishing stuff. ...
Brad Choate
bschoate
Offline Send Email
Sep 1, 2004
11:20 pm

I don't think anyone doubts the benefit of having options or why a user may want to render their content dynamically. I guess what I, and I take others, are...
app@...
tappnel
Offline Send Email
Sep 2, 2004
12:21 am

Yes - what Tim said. It's an awesome bit of work, and Brad deserves a great deal of credit for it. Lovely lovely code too, from what I've seen. It's a hugely...
Ben Hammersley
bhammersley_uk
Offline Send Email
Sep 2, 2004
12:38 am

I dunno how bothered I am. I'm not especially impressed with the dynamic function at this point. A lot of that has to do with the fact that I use some PHP in...
Chad Everett
jayseae
Offline Send Email
Sep 1, 2004
7:05 pm

... Plain and simple, what will the users have available to them in the context of page generation? Just getting perl for CGI is a big hurdle. Getting...
Bill Kearney
wkearney99
Offline Send Email
Sep 2, 2004
3:01 am

... I was hoping for some insight from a Six Apart employee. You don't need to lecture me on the topic. Besides, I am not advocating mod_perl. In fact I never...
app@...
tappnel
Offline Send Email
Sep 2, 2004
4:01 am

... With MT now becoming PHP enabled it allows for a whole new set of developers to start making plugins and yet because it still remains perl it doesn't...
Arvind Satyanarayan
arvind_2111
Offline Send Email
Sep 2, 2004
6:49 am

... Hash: SHA1 Hi Tim, ... Yes... but you've got one already, of course: <http://groups.yahoo.com/group/mt-dev/message/574>. Anyway, yes, we absolutely realize...
Benjamin Trott
btrott
Offline Send Email
Sep 2, 2004
8:11 am

... Thank you Ben. It does help. I think a lot and will try and be as concise as possible. (This message will be long anyway, but it could have been much much...
app@...
tappnel
Offline Send Email
Sep 2, 2004
4:35 pm

... as ... ones ... potentially ... have ... Ben ... their ... manual -- ... This ... my ... One of the main things that I feel needs to be worked on is the...
Arvind Satyanarayan
arvind_2111
Offline Send Email
Sep 2, 2004
5:42 pm

... UGH! Text formatting plugins! I completely forgot they won't work either. My head hurts. <tim/>...
app@...
tappnel
Offline Send Email
Sep 2, 2004
7:58 pm

Actually, Markdown works already, since there is a php version that works with Smarty. Just copy it into the php/plugins directory as modifier.markdown.php ...
Scott Hanson
papascottde
Offline Send Email
Sep 2, 2004
8:04 pm

http://www.michelf.com/projects/php-markdown/ Scroll down to the "With Smarty" heading. Another MT plugin developer and he didn't even *know* it! ... -- ...
Brad Choate
bschoate
Offline Send Email
Sep 2, 2004
8:12 pm

... I've complied a page containing tinkered versions of Textile, Markdown and Smartypants so that they will work with the new dynamic templating engine. See...
Arvind Satyanarayan
arvind_2111
Offline Send Email
Sep 4, 2004
5:35 am

... impossible I meant "isn't impossible". Barring that it would likely require compiling into php of course. This might be a stretch but still less than...
Bill Kearney
wkearney99
Offline Send Email
Sep 2, 2004
4:48 pm

... Right. I have no desire to port (P)lucene to PHP. The PHP Storable library is only 0.03 and hasn't been updated in over a year. Storable is a compiled...
app@...
tappnel
Offline Send Email
Sep 2, 2004
5:25 pm

... It looked to me like that "PHP Storable" was just something with the same name as Storable that happens to do something fairly similar, anyway. All it's...
Phil Ringnalda
philringnalda
Offline Send Email
Sep 2, 2004
7:08 pm

... Don't get too ahead of yourself for the threaded comments stuff. I'm working on updating my implementation to co-exist peacefully with the new callbacks...
David Raynes
rayners1
Offline Send Email
Sep 2, 2004
7:21 pm

... Heh. Thanks anyway, but given that all I need to do is read an integer that I already have in the mt_comment table, I'll pass on having a static text file...
Phil Ringnalda
philringnalda
Offline Send Email
Sep 2, 2004
7:37 pm

... I was thinking more of generating one file per-entry containing all the thread info in a php array, but your point is still valid. :) -- David Raynes...
David Raynes
rayners1
Offline Send Email
Sep 2, 2004
7:43 pm

... Brad and I spoke at length about doing something like that and I even built a prototype. You build an array of all the page components and pass it to...
Adam Kalsey
akalsey
Online Now Send Email
Sep 4, 2004
5:08 am
 First  |  |  Next > Last 
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help