mj wrote:Fantastic work!
mj wrote:This will definitely help OJS and OCS developers get started on contributing code, especially with plugins, as the scaffolding is much of the work in that case - speaking of which, a feature to create plugin scaffolding would be invaluable as it's often a big stumbling block for aspiring plugin developers.
As i mentioned, this is still only really a prototype of what could be done. Ultimately the user should be able to choose a code-layout style (either core or plugin), and the script should create the code and save it to a .gz which they can then simply extract into a plugin folder (or into the core), and have a working starting point (as if they were using Visual Studio or something
). Ideally it should also even create the sql + schema to create the table in the database. There is a link to a readme.txt in the bottom right of the page where i have jotted down a few points as i was going along.
mj wrote:Finally, would you be willing at some point to share the source, or even allow PKP to host a copy of the scaffolding service, in an attempt to ensure its permanency?
Of course. That's why I said it was probably not a permanent url; as I was hoping that PKP would want to host it, since that would be the logical place to store it. I need to make a few tweaks to the source before I make it public; but i will make it available for download off the url above soon (hope the code isn't too messy!). Making the code public makes sense; because I am sure you guys have a much better idea of how it all fits together than I do!