I’m trying to rewrite the PDF manual into Yii Wiki. You can read it online here:
Brief manual for Yii and MVC bellow. See Updates 1-3 of this post.
Version 7 available!
Versions 1-5 were downloaded totally cca 1500x
Version 6: 1000x
And version 7?
I can create any program in PHP. It’s no problem. But now I need to work with Framework YII and I’m lost. Every single tutorial, that is ment to be a tutorial for beginers, is too complicated for me.
I don’t understad why I need the “basic aplication” that is generated via command line. Every manual begins with it and the author than only changes and breafly describes the huge generated project. I dont want to change existing project, I want to create my own and brand new one.
My task is to create database and connect it to web pages. Show it’s content to users. I want to create my own folder structure, logics and design. I understand, that command line can generate model of my DB. (model = recognise DB structure) That is OK. Why not.
But I dont know where to begin with my application. I dont understand how YII works.
Can anyone paste here working code of a SIMPLE application that would just read data from table and showed them in a simple CSS box? I dont want to use design that "Basic application" uses. I want to create my own.
If I could write my web pages using standard PHP it would be question of 1-2 days. But now, I have been learning and trying to understand YII for 1 week and I’m still lost.
I would love to read some “complete idot’s introduction to YII” (but in simplified version) where would be shown how to create primitive application without generating any “default application”. I want to create my web just using text editor! No command line, no auto generating code, only a few files …
So I could understand meaning of all commands that are used in "Bacis application" that is generated using command: "yiic webapp test".
Thanks for replies.
I found this helloWorld application description, which was very helpful, because it explained everything it mentioned.
It’s the kind of useful tutorial I like. But it, of course, didnt teach me everything. If anyone has something similar, let us know.
Second thing that helped me a lot was this video.
(this link does not work any more) http://www.yiiframework.com/screencast/blog/
I think that following videos are ther same:
I recommend to download it, because when you pause this video a form appears and hides the screen.
To download this video you need a special Addon to firefox named "Fast YouTube Download":
Now I understand basics od MVC and Yii and I’d like to help another beginers who are lost as same as I was one month ago. So I work on a brief introduction to MVC (Model-View-Controller) architecture and Yii. It will be written in english and published in PDF. I’d like to broaden the text as I understand Yii more and more and have more and more time… It will contain not only boring theory, but also peaces of code that could simplify beginer’s work. PDFs will be available in this forum.
Leave me here comments please, so I know what is good or bad and wheather someone reads my paper…