Massimo,

I know with the current implementation of plugins the current spec
calls for you to append plugin_ to all of the function names /
database names that get called. Is there a better way of doing this?

The reason I ask is that it leads to having long variable and function
names... a simple query gets quite insane after a while...

db(db.plugin_pingback_incoming.url ==
url)(db.plugin_pingback_incoming.blog_name ==
blog_name).select(orderby=~db.plugin_pingback_incoming.receive_date)

Another annoying issue is the calling internal plugin functions, it
gets just as crazy when you have to call
plugin_pingback_send_pingback(decoder=plugin_pingback_pingback_decoder)....

Is it feasible that plug-ins could have their own namespace, this way
I can call my function internally "send_pingback" and then in other
parts of the application could access the public functions by
plugin_pingback.send_pingback() ?

If there is no other way... I will live...

-Thadeus

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to