Info

URL: view link
Category: tools
Licence: GNU General Public License (GPL) version 2
Updated: 45 days ago
Downloaded: 1639

Releases

Author Recommended: 1.6.2

Previous releases:
More projects by Cash:

5

Recommendations

Summary:

Tools for plugin creation and development

Full description:

Features

  • controls for caching
  • control display errors
  • FirePHP integration so that you can display php logging in Firebug
  • page creation timing
  • plugin skeleton creation
  • views finding help
  • inspection of important variables (views, events, actions, ...)

 

Tags: tools, plugin, firephp, firebug, development, debug, debugging, developer

Release notes:

New feature: you can now inspect global variables like views, actions, and events.

 

If upgrading, I recommend deleting the previous templates directory as I change how those files are named so that Eclipse's syntax checker doesn't complain so much.

hey Is it possible that an API plugin could be made,

like Facebook & Twitter have their own API???

Shayan Abbas 148 days ago

Shayan - already exists in core. The current one has a lot of bugs but we're releasing a new version with Elgg 1.7. It is a REST/RPC hybrid framework that is very similar to Facebook, Twitter, Flickr, and others. Individual developers will get to define what functions to expose as a part of the API. See http://groups.google.com/group/elgg-development/browse_thread/thread/419de9d6cfa6ef06 for the developer discussion on this.

Cash 148 days ago

Really, realy good !!!

Fx Nion 147 days ago

Excellent plugin, thank you!

stevenjohn 103 days ago

@cash I wanted to share a tip for these tools.  I created a plugin where I was using a few firePHP logging commands.  I sent the plugin to someone else for testing, not thinking too much of it.  When he told me it broke, I realized it was probably because he was not using this plugin (firePHP was not included in his version of ELGG).

Basically am now checking to see if firephp is enabled before I perform any logging with the following if statement.:

if (function_exists(fb))...

This way I can leave the code in there and not worry about whether firePHP is installed.

I may end up removing it all anyway when I am ready to go into production since I will not be using firephp in my prod site.  But until then, I can pass my development version around for testing without worrying about dependecies.

Let me know if you know of a better way to do this.

danielwells 35 days ago

Take a look in the includes directory. There is a fake FirePHP wrapper class in there. It is included automatically if FirePHP is off by the main Elgg dev tools class. You could do something similar with all your plugins: test whether the FirePHP wrapper class exists and if not, load the fake class. It's just a stub so that you don't get problems like you describe.

I think that is easier than wrapping every call with a function_exists()

To make this work, I always have the Elgg developer tools as the top plugin so I'm sure it includes FirePHP before any other plugins have a chance to load the fake class. Hope this helps!

Cash 35 days ago

Thanks cash.  I did notice the wrapper class (after my previous post) and thought about re-using in a more complex plugin with extensive logging.  I haven't needed firephp too extensively yet (one or two calls at the moment) but its nice to have it there when I need it.

Thanks again, this is a great plugin.

danielwells 22 days ago

Wow, awesome plugin.  The plugin builder is just excellent.  I think every elgg developer should use this to get their plugins going as it will help teach people the standard layout, etc.

I was also presently surprised to see that we think alike!  I also started putting pages in a "pages" directory and extra libraries in a "lib" directory to keep things organized.  I'm definitely going to use this to get myself started with any future plugins.

I'm surprised this isn't a curvrider-supported plugin.  It seems like a tool such as this would have a big effect on plugin development speed and quality, which is good for everyone.

Evan Winslow 5 days ago

Great plugin, the plugin page creation is great i was thinking in do something like that. I would like to complete it more, with images manipulation, and more stuff!

 

 

10GO 4 days ago

Thanks for the feedback guys. There is a google code project for this here: http://code.google.com/p/elgg-developer-tools/

I'll probably be releasing a new version soon that has some features for Elgg 1.7.

If you have ideas to improve, create some tickets at the google code site. We can also work out svn access.

Cash 4 days ago