Admun's NUDN

admun

  • San Francisco, CA

Navigation

Navigation

Categories

Search

Notify Me

Feeds

rss2
atom
subscribers to this blog

Checking and Calling a Plugin

While looking at action.php code, I found this useful information how to check whether a plugin exist and to access it.

more...

15:25:23 on 07/26/04 by Admun - Developer Notes - tags: none - #

Benchmarking Nucleus

Here's a cookbook how to setup a simple benchmarking on your blog.

more...

15:10:34 on 07/19/04 by Admun - Developer Notes - tags: none - #

Getting a Dose of Parameters

I know, this is mostly HTTP stuff, but it is improtant for a plugin writer to understand this because this is how a plugin received inputs from external. And I found this useful information here and thought to make a note to it to remind myself.

more...

15:32:04 on 07/05/04 by Admun - Developer Notes - tags: none - #

Cookie business

Form time to time, a plugin might have a need to access cookie. So, this little post talks about it.

more...

11:39:57 on 07/02/04 by Admun - Developer Notes - tags: none - #

The Need for supportsFeature

The question of why we should add supportsFeature in a plugin is first saw here.

more...

13:26:44 on 06/22/04 by Admun - Developer Notes - tags: none - #

Mr Data Goes to Town

So often a plugin need to track information in variables, I'm talking about data that is persistent through out the life of the plugin. This allow data to be passed from event to event, for example.

more...

22:32:34 on 06/20/04 by Admun - Developer Notes - tags: none - #

Having a getMinNucleusVersion

In the plugin API, there is a getMinNucleusVersion function that helps a plugin to report to Nucleus that the minimum Nucleus version it supports. This is a way to ensure a plugin is not install on a old Nucleus setup that certain support is missing. ie user defined table prefix

more...

11:15:13 on 06/15/04 by Admun - Developer Notes - tags: none - #

The Creation of permalink

I saw it sometimes when a plugin writer directly construct a permalink (also called item link) by doing this:

...
...
echo "<a href=\"index.php?itemid=".$itemid."\">".$title."</a>";
... ...

more...

11:55:56 on 06/14/04 by Admun - Developer Notes - tags: none - #

Why sql_table...

Since Nucleus 2.5, sql_table() is introduced to construct the name of table name.

ie. sql_table('item') yields nucleus_item in a normal setup.

So, why a plugin should use this function to determine the table name, you ask?

I say, simple.

more...

23:54:22 on 06/08/04 by Admun - Developer Notes - tags: none - #
«Prev | 1 | 2 |