[Owncloud] Created scaffolding tool

Thomas Müller thomas.mueller at tmit.eu
Thu May 30 13:51:10 UTC 2013


I'd love to see the created controller to be rest compliant. 
Related views and models etc should respect thus as well.

Thx,

Thomas

-------- Ursprüngliche Nachricht --------
Von: Bernhard Posselt <nukeawhale at gmail.com> 
Datum:  
An: Owncloud <owncloud at kde.org> 
Betreff: Re: [Owncloud] Created scaffolding tool 
 
To clear some confusion:

Scaffolding is used to quickly create new files and folders for your
app. It helps you to get rid of repetitive stuff, like

* create a controller
* copy over controller code
* ajdusting code
* create a test for it
* copy over test code
* adjust test code

This will likely be doable with one line (not yet implemented ;) ):

owncloud.py controller TestController

My personal motivation for that is that i have to write way less
boilerplate code in the documentation, it allows me to get rid of a ton
of stuff, i dont have to reference templates and tell users what to
replace. I can simply tell them: If you want to develop an app do:

sudo pip install owncloud_scaffolding && owncloud.py startapp my_app

Its also easy to integrate best practices :)


Bernhard Posselt <nukeawhale at gmail.com> schrieb:
>> Hi,
>>
>> I kinda worked on a scaffolding tool today which basically replaces the
>> apptemplate and apptemplate addvanced. It is installable via pip:
>>
>> sudo pip install owncloud_scaffolding
>>
>> and is hosted on
>> https://pypi.python.org/pypi?:action=display&name=owncloud_scaffolding&version=0.1.2
>> The source is available here:
>> https://github.com/Raydiation/owncloud_scaffolding
>>
>> Currently it only supports creating apps, you run it like this:
>>
>> owncloud.py startapp my_app_name  # apps with appframework and angular
>>
>> or
>>
>> owncloud.py startapp --type classic my_app_name # classic owncloud app
>>
>>
>> It prompts some defaults and then creates a complete app structure with
>> filled out files in the current directory.
>>
>>
>> Frank could you delete the apptemplateadvanced repo? If you want the
>> tool in the official repo you can create a seperate repository ;)
>> _______________________________________________
>> Owncloud mailing list
>> Owncloud at kde.org
>> https://mail.kde.org/mailman/listinfo/owncloud

_______________________________________________
Owncloud mailing list
Owncloud at kde.org
https://mail.kde.org/mailman/listinfo/owncloud
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20130530/56fc70a7/attachment.html>


More information about the Owncloud mailing list