hi thomas,

Am Mittwoch, 13. März 2013, 17:38:01 schrieb Thomas Friedrichsmeier:
> Well, this is my first "serious" venture into rkwarddev. My resume so far is
> that I kind of like it for generating the plugin .XML.

thanks :-)

> However for generating non-trivial .js, the extra language layer is making
> things more confusing, not less. Not sure, whether/how this could be
> improved (and that's for another day, anyway).

you're right, i'm not completely satisfied with that part myself. you can
still paste the JS code as plain text with rk.paste.JS(), and just use things
like id() to get the correct ID. or you can remove "js" from the "create"
option of the final rk.plugin.skeleton() call and write all of the JS files
yourself. the package was designed not to force you into using functions like
ite(), echo() and the like.

i'm still faster even with that additional layer, however. what really drove
me crazy was checking time and again if i made a stupid error in the IDs, when
something just wouldn't work...

> I guess, if I continue working on the plugin, I'll go back to manual
> editing, after all. (Blunt attempt to threaten you into do the work,
> instead ;-))

haha, do as you wish :-) but i'm not eager to ever touch plain plugin code
again. if i need to make changes in five plugins, i want to change five files
only.

oh, did you try to set "tests=TRUE"? it will generate a template for
plugintests, which is hopefully of help. a template for a help page can be
added by adding "rkh" to "create" (there are also rk.rkh.* functions in
rkwarddev to write the full help page in the generator script), and setting
"edit=TRUE" will load all generated files in RKWard editor tabs.


viele grüße :: m.eik

--
dipl. psych. meik michalke
institut f"ur experimentelle psychologie
abt. f"ur diagnostik und differentielle psychologie
heinrich-heine-universit"at d-40204 d"usseldorf

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel

Reply via email to