Yii Framework Forum: Some questions before choosing/start learning Yii - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Some questions before choosing/start learning Yii Rate Topic: -----

#1 User is offline   giorgiomx 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 24-October 11

Posted 25 October 2011 - 02:34 PM

Hi

I've been developing simple PHP/MySQL web sites for some years.
Never used a PHP Framework before and I understand I'll need to know OOP, no problem.
I'm about to start a SaaS project of my own.

A)
So far, I've seen Yii generates the CRUD and pages according to the DB.
Is it easy to modify the generated code?, like, adding a new DB field and its form field without not generating again all the stuff every time I change something in the DB and losing other customizations?

I mean, I'm 100% sure the generated DB code and pages are not going to be enough and I'll be constantly adding and correcting fields, and adding more tables etc.

B )
My project will include a Shopping Cart and Calendar(for events, tasks, etc.).
Does Yii has these options or at least an easy way to implement it like the Authentication options or Database listing, etc.?

C) Does documentation has this explained as a tutorial/book or is more like a reference(minimum explanation that only advanced user understand how to integrate it)?



thank you very much
0

#2 User is offline   wolfi 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 9
  • Joined: 04-October 11

Posted 25 October 2011 - 06:33 PM

View Postgiorgiomx, on 25 October 2011 - 02:34 PM, said:

Hi
[...]

A)
So far, I've seen Yii generates the CRUD and pages according to the DB.
Is it easy to modify the generated code?, like, adding a new DB field and its form field without not generating again all the stuff every time I change something in the DB and losing other customizations?
[...]

C) Does documentation has this explained as a tutorial/book or is more like a reference(minimum explanation that only advanced user understand how to integrate it)?

thank you very much


C) I doubt that there is any tutorial on how to implement a shopping cart or a calender, but there are extensions for this. So this is probably not complicated to implement, if these extensions fulfill your needs.
yiishop
ishop
ecalender
googlecalender

A) I started with Yii a few weeks ago, so I don't have much experience. But code modification like this should be pretty easy. The code which is created via gii (or giix) is structured and understandable and gii highlights code differences to existing files.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users