I am a newbie in SilverStripe and I have some doubts about its framework features. My consultation is about the standalone framework features. Is there planned a tool for creating the structure and template CRUD code generator for applications? When I say template, I mean in models, views and controllers. I ask this because I think It's one of the most interesting feature for rapid app development in a framework. Maybe It's a bit hard work this feature but saves a lot of time when you start a project. Now I am finishing one made in Yii Framework, and It was one of the most interesting tool for me, defining the database structure and finally generating the code from it. It's not the same changing some code than generating it from scratch :)
I hope I have explained it clearly because my english is not as good as I would like :)
On Thursday, April 19, 2012 5:19:09 PM UTC+1, Amós Oviedo wrote:
> Hi,
> I am a newbie in SilverStripe and I have some doubts about its
> framework features. My consultation is about the standalone framework
> features. Is there planned a tool for creating the structure and
> template CRUD code generator for applications? When I say template, I
> mean in models, views and controllers. I ask this because I think It's
> one of the most interesting feature for rapid app development in a
> framework. Maybe It's a bit hard work this feature but saves a lot of
> time when you start a project. Now I am finishing one made in Yii
> Framework, and It was one of the most interesting tool for me,
> defining the database structure and finally generating the code from
> it. It's not the same changing some code than generating it from
> scratch :)
> I hope I have explained it clearly because my english is not as good
> as I would like :)
It's not exactly what I was looking for but It is a good start point. It's based in metadata, but in what I was thinking is reengineering from database. Really for me the way of generating the code doesn't matter, so I'll have a look to genericviews because I am really interested on it.
> On Thursday, April 19, 2012 5:19:09 PM UTC+1, Amós Oviedo wrote:
>> Hi,
>> I am a newbie in SilverStripe and I have some doubts about its >> framework features. My consultation is about the standalone framework >> features. Is there planned a tool for creating the structure and >> template CRUD code generator for applications? When I say template, I >> mean in models, views and controllers. I ask this because I think It's >> one of the most interesting feature for rapid app development in a >> framework. Maybe It's a bit hard work this feature but saves a lot of >> time when you start a project. Now I am finishing one made in Yii >> Framework, and It was one of the most interesting tool for me, >> defining the database structure and finally generating the code from >> it. It's not the same changing some code than generating it from >> scratch :)
>> I hope I have explained it clearly because my english is not as good >> as I would like :)
>> Thank you very much and best regards.
> -- > You received this message because you are subscribed to the Google Groups > "SilverStripe Core Development" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/silverstripe-dev/-/jSVasmveVRAJ. > To post to this group, send email to silverstripe-dev@googlegroups.com. > To unsubscribe from this group, send email to > silverstripe-dev+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/silverstripe-dev?hl=en.
SilverStripe takes your code and generates the DB Schema. It sounds like you are looking for Schema to Code generation. This is not really part of SilverStripe, however there are systems being created that will take a YAML representation of your data and generate the code for you, which in return generates the database.
> It's not exactly what I was looking for but It is a good start point. > It's based in metadata, but in what I was thinking is reengineering > from database. Really for me the way of generating the code doesn't > matter, so I'll have a look to genericviews because I am really > interested on it.
> Thanks.
> 2012/4/19 swaiba <ba...@mangostudio.eu>: > > ModelAdmin and GenericViews?
> > On Thursday, April 19, 2012 5:19:09 PM UTC+1, Amós Oviedo wrote:
> >> Hi,
> >> I am a newbie in SilverStripe and I have some doubts about its > >> framework features. My consultation is about the standalone framework > >> features. Is there planned a tool for creating the structure and > >> template CRUD code generator for applications? When I say template, I > >> mean in models, views and controllers. I ask this because I think It's > >> one of the most interesting feature for rapid app development in a > >> framework. Maybe It's a bit hard work this feature but saves a lot of > >> time when you start a project. Now I am finishing one made in Yii > >> Framework, and It was one of the most interesting tool for me, > >> defining the database structure and finally generating the code from > >> it. It's not the same changing some code than generating it from > >> scratch :)
> >> I hope I have explained it clearly because my english is not as good > >> as I would like :)
> >> Thank you very much and best regards.
> > -- > > You received this message because you are subscribed to the Google Groups > > "SilverStripe Core Development" group. > > To view this discussion on the web visit > > https://groups.google.com/d/msg/silverstripe-dev/-/jSVasmveVRAJ. > > To post to this group, send email to silverstripe-dev@googlegroups.com. > > To unsubscribe from this group, send email to > > silverstripe-dev+unsubscribe@googlegroups.com. > > For more options, visit this group at > > http://groups.google.com/group/silverstripe-dev?hl=en.
> -- > You received this message because you are subscribed to the Google Groups > "SilverStripe Core Development" group. > To post to this group, send email to silverstripe-dev@googlegroups.com. > To unsubscribe from this group, send email to > silverstripe-dev+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/silverstripe-dev?hl=en.
That's exactly what I meant, but I'm goging to have a look to SS way of doing the rapid development. Maybe what I asked would be able a good Project for me to learn how to use SS framework and know its features.
Thanks for your responses El 19/04/2012 19:01, "Dan Rye" <dan....@gmail.com> escribió:
> SilverStripe takes your code and generates the DB Schema. It sounds like > you are looking for Schema to Code generation. This is not really part of > SilverStripe, however there are systems being created that will take a YAML > representation of your data and generate the code for you, which in return > generates the database.
>> It's not exactly what I was looking for but It is a good start point. >> It's based in metadata, but in what I was thinking is reengineering >> from database. Really for me the way of generating the code doesn't >> matter, so I'll have a look to genericviews because I am really >> interested on it.
>> Thanks.
>> 2012/4/19 swaiba <ba...@mangostudio.eu>: >> > ModelAdmin and GenericViews?
>> > On Thursday, April 19, 2012 5:19:09 PM UTC+1, Amós Oviedo wrote:
>> >> Hi,
>> >> I am a newbie in SilverStripe and I have some doubts about its >> >> framework features. My consultation is about the standalone framework >> >> features. Is there planned a tool for creating the structure and >> >> template CRUD code generator for applications? When I say template, I >> >> mean in models, views and controllers. I ask this because I think It's >> >> one of the most interesting feature for rapid app development in a >> >> framework. Maybe It's a bit hard work this feature but saves a lot of >> >> time when you start a project. Now I am finishing one made in Yii >> >> Framework, and It was one of the most interesting tool for me, >> >> defining the database structure and finally generating the code from >> >> it. It's not the same changing some code than generating it from >> >> scratch :)
>> >> I hope I have explained it clearly because my english is not as good >> >> as I would like :)
>> >> Thank you very much and best regards.
>> > -- >> > You received this message because you are subscribed to the Google >> Groups >> > "SilverStripe Core Development" group. >> > To view this discussion on the web visit >> > https://groups.google.com/d/msg/silverstripe-dev/-/jSVasmveVRAJ. >> > To post to this group, send email to silverstripe-dev@googlegroups.com. >> > To unsubscribe from this group, send email to >> > silverstripe-dev+unsubscribe@googlegroups.com. >> > For more options, visit this group at >> > http://groups.google.com/group/silverstripe-dev?hl=en.
>> -- >> You received this message because you are subscribed to the Google Groups >> "SilverStripe Core Development" group. >> To post to this group, send email to silverstripe-dev@googlegroups.com. >> To unsubscribe from this group, send email to >> silverstripe-dev+unsubscribe@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/silverstripe-dev?hl=en.
> -- > You received this message because you are subscribed to the Google Groups > "SilverStripe Core Development" group. > To post to this group, send email to silverstripe-dev@googlegroups.com. > To unsubscribe from this group, send email to > silverstripe-dev+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/silverstripe-dev?hl=en.
> That's exactly what I meant, but I'm goging to have a look to SS way of doing the rapid development. Maybe what I asked would be able a good Project for me to learn how to use SS framework and know its features.