QCubed - A PHP5 rapid development framework.
Home  |  Updates

Folks,

Great news - plugin work is code-complete, and is ready for your review! Plugins are defined using a simple PHP configuration file; plugins can be installed and uninstalled easily. The system helps plugin writers follow good security practices (separating web-access vs non-web-accessible content).

All of this has been checked in to the 1.1 SVN; there are 4 plugins available for you to play with - DialogBoxes, QFirebug, AutoCompleteTextbox, and QPhoneTextbox. You can get them from the SVN folder /plugins. Each has a "release" folder; to install these, just launch QCubed local install homepage, then click on the Plugin Manager link, then click Install. Upload the ZIP file from the release folder of the plugin. The remainder of the process should be self-explanatory.

We're very much looking forward to your feedback!

Offline
Joined: 05/15/2009
The current plugin

The current plugin infrastructure is working very good if we do not use svn on that qcubed set. Currently I have problem to uninstall any plugin that already "committed" to the svn repository. It gave error when deleting "svn built-in folder system".

I am controlling a custom qcubed for my own projects. SVN cannot be avoided because I have to maintain your latest changes with ours.

Do you have any idea/recommendation on this?
Thanks so much.

Offline
Joined: 07/07/2008
Hi, Do you have written any

Hi,

Do you have written any document about your work? How can I create new plugins? I think that when we have new features we should document it.

Thanks.

alex94040's picture
Offline
Joined: 11/06/2008
There is no formal

There is no formal documentation at the moment, as the plugin work is in its infancy right now. What I did over the past few weeks is implement the plan outlined at http://trac.qcu.be/projects/qcubed/wiki/Qcubed%201.1%20Proposed%20Plugin....

Before 1.1 is released, we'll definitely have good documentation around how new plugins can be authored. In the meantime, the call for community is to provide feedback on the plugins infrastructure (based on the 4 example plugins out there) - not to create new plugins.

Offline
Joined: 01/09/2008
Hi Alex, I have been playing

Hi Alex,

I have been playing a little with the installation of plugins. All seems to work fine, except for the examples.

In order to get the examples to work, 2 minor changes where made to examples.inc.php:

Line 198:
Since I'm using a subdirectory where I installed QCubed, the example category could not be found. I changed the "AddPluginExampleFile" function to take into account my config:

public static function AddPluginExampleFile($strPluginName, $strExampleFileName) {
array_push(Examples::$PluginExamples, __SUBDIRECTORY__ . "/assets/plugins/" . $strPluginName . "/" . $strExampleFileName);
// was: array_push(Examples::$PluginExamples, '/../../../../assets/plugins/' . $strPluginName . "/" . $strExampleFileName);
}

Also, a small typo on line 205:

for ($intCategoryIndex = 0; $intCategoryIndex <= count(Examples::$Categories); $intCategoryIndex++) {

Should be
for ($intCategoryIndex = 0; $intCategoryIndex < count(Examples::$Categories); $intCategoryIndex++) {

Great job. This will make qcubed very light, and still powerfull by installing plugins!

Offline
Joined: 01/09/2008
in reply to my own "fix", it

in reply to my own "fix", it does not work :) it resolved the problem with viewing the example, but now the link on the example index is incorrect :(

See also http://trac.qcu.be/projects/qcubed/ticket/274 , it's related to the same problem.

Kristof

alex94040's picture
Offline
Joined: 11/06/2008
Kristof - thanks for the

Kristof - thanks for the catch, and thanks for the ideas. I was able to fix the issues you mentioned here - check out the latest SVN.

seena (not verified)
i seriously adore your

i seriously adore your posting way, very helpful,
don't quit and also mcse exam questions
keep creating for the reason that it just worth to read it,excited to find out pleasant day way more of your own content articles, have a!