Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2004-10-30 14:19:27

jj
New Member
From: Ottawa, Canada
Registered: 2004-02-24
Posts: 9
Website

Plugin performance vs. php in a form?

Is there any difference in performance (for example: speed) between using a plugin vs. creating a form containing php?


Charming villains have always had a decided social advantage over well-meaning people who chew with their mouths open.
— Miss Manners

Offline

#2 2004-10-30 23:32:44

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Plugin performance vs. php in a form?

Probably insignificant.

There are some important differences in context. Plugins are executed at a different time to inline PHP, and some things work differently. There are things you can do in a plugin that you can’t do with inline PHP.

If it’s a simple self contained code snippet, inline PHP is probably fine. If it interacts with Textpattern, a plugin will be more reliable.


Alex

Offline

Board footer

Powered by FluxBB