<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body >Yes and the correct routes including the right http verbs: post get put delete<div><br></div><div><br></div><br><br><br>-------- Ursprüngliche Nachricht --------<br>Von: Bernhard Posselt <nukeawhale@gmail.com> <br>Datum:  <br>An: owncloud@kde.org <br>Betreff: Re: [Owncloud] Created scaffolding tool <br> <br><br>Do you mean controllers with predefined create/get/update/delete methods?<br><br>On 05/30/2013 03:51 PM, Thomas Müller wrote:<br>> I'd love to see the created controller to be rest compliant. <br>> Related views and models etc should respect thus as well.<br>><br>> Thx,<br>><br>> Thomas<br>><br>> -------- Ursprüngliche Nachricht --------<br>> Von: Bernhard Posselt <nukeawhale@gmail.com> <br>> Datum:  <br>> An: Owncloud <owncloud@kde.org> <br>> Betreff: Re: [Owncloud] Created scaffolding tool <br>>  <br>> To clear some confusion:<br>><br>> Scaffolding is used to quickly create new files and folders for your<br>> app. It helps you to get rid of repetitive stuff, like<br>><br>> * create a controller<br>> * copy over controller code<br>> * ajdusting code<br>> * create a test for it<br>> * copy over test code<br>> * adjust test code<br>><br>> This will likely be doable with one line (not yet implemented ;) ):<br>><br>> owncloud.py controller TestController<br>><br>> My personal motivation for that is that i have to write way less<br>> boilerplate code in the documentation, it allows me to get rid of a ton<br>> of stuff, i dont have to reference templates and tell users what to<br>> replace. I can simply tell them: If you want to develop an app do:<br>><br>> sudo pip install owncloud_scaffolding && owncloud.py startapp my_app<br>><br>> Its also easy to integrate best practices :)<br>><br>><br>> Bernhard Posselt <nukeawhale@gmail.com> schrieb:<br>>>> Hi,<br>>>><br>>>> I kinda worked on a scaffolding tool today which basically replaces the<br>>>> apptemplate and apptemplate addvanced. It is installable via pip:<br>>>><br>>>> sudo pip install owncloud_scaffolding<br>>>><br>>>> and is hosted on<br>>>> https://pypi.python.org/pypi?:action=display&name=owncloud_scaffolding&version=0.1.2<br>>>> The source is available here:<br>>>> https://github.com/Raydiation/owncloud_scaffolding<br>>>><br>>>> Currently it only supports creating apps, you run it like this:<br>>>><br>>>> owncloud.py startapp my_app_name  # apps with appframework and angular<br>>>><br>>>> or<br>>>><br>>>> owncloud.py startapp --type classic my_app_name # classic owncloud app<br>>>><br>>>><br>>>> It prompts some defaults and then creates a complete app structure with<br>>>> filled out files in the current directory.<br>>>><br>>>><br>>>> Frank could you delete the apptemplateadvanced repo? If you want the<br>>>> tool in the official repo you can create a seperate repository ;)<br>>>> _______________________________________________<br>>>> Owncloud mailing list<br>>>> Owncloud@kde.org<br>>>> https://mail.kde.org/mailman/listinfo/owncloud<br>> _______________________________________________<br>> Owncloud mailing list<br>> Owncloud@kde.org<br>> https://mail.kde.org/mailman/listinfo/owncloud<br>><br>><br>> _______________________________________________<br>> Owncloud mailing list<br>> Owncloud@kde.org<br>> https://mail.kde.org/mailman/listinfo/owncloud<br><br>_______________________________________________<br>Owncloud mailing list<br>Owncloud@kde.org<br>https://mail.kde.org/mailman/listinfo/owncloud<br></body>