Alex Tech Adventures The webs best tutorials!

Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottomPage: 12
TOPIC: ZF archives
#242
ZF archives 2 Years, 1 Month ago Karma: 16
** This thread discusses the content article: ZF archives **

alexanderrv
Administrator
Posts: 279
graph
User Offline Click here to see the profile of this user
Gender: Male tmthv2 alexchatonly@hotmail.com Location: Freeport, Bahamas Birthdate: 1989-04-14
The administrator has disabled public write access.
 
#251
ZF archives 2 Years, 1 Month ago Karma: 0
Hi Alex.

I started following your tutorials a few days ago, one or two videos a day and i find them really good.

I thought you messed up ACL when i was watching videos 5, 6, 7 but I saw the Modules video today and it made a lot more sense.

I see that you just published video number 19. I cant wait to get there, I have learned so much so fast thanks to you. I was using some other small php framework before but recently i decided to get serious and learn zend framework but i found the documentation a little confusing because didn't understand how to put all the components together. Your videos made it all clear, thank you.

BTW should i post my comments here, or is it better to do it on youtube.com ?
vlopez
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2009/12/17 02:26 By vlopez.
The administrator has disabled public write access.
 
#253
Re:ZF archives 2 Years, 1 Month ago Karma: 0
Before going through your tutorial i followed the Zend Framework Quick Start ( http://framework.zend.com/docs/quickstart ) I didn't quite understand it the first time but after going trough your videos I realized that it explaining the same basic stuff as you did on the first videos.

The only difference i see is that they use the concept of Data Mapper to pass the data to the Model object in our case the book object, in a later video you added a class named Library_Model_ListBook that kinda does the same but always fetches all the books data.

I'm getting used to this concepts myself i just wanted to know if you had any comments on this approach (the Data Mapper).

Also i would like to know if have used Doctrine ( www.doctrine-project.org) it looks like a really cool tool that generates Model code (based on a database/model definition).

I'm thinking of using that with Zend Framework it looks like a really powerful tool and there are some tutorial on integrating both.

Just wanted to know what where your thought on this, I still have to watch some of your videos to catch up.
vlopez
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2009/12/18 01:57 By vlopez.
The administrator has disabled public write access.
 
#254
Re:ZF archives 2 Years, 1 Month ago Karma: 16
Thank you for coming to my forum.
Yes, please post all comments and questions here. I am trying to move my viewer's activities away from youtube for the purpose of better communication and organization.

Quick Start really changed since last time i checked up on it. I think even as late as this summer it was still pre ZF 1.5 with many mistakes. There were many comments with attempts to help others make it work. This was one of the factors that motivated me to get the videos going. Now it looks like a proper tutorial that has current and working information. Also, data mapper design pattern was not included back then either.

The reason for me to not use too many techniques in any one video is to be able to concentrate on one particular topic I am discussing. As much as the goal is to show how different peaces can interact together in a full project rather than showing isolated code snippets that no one knows where to put as in the official manual, I still want to avoid information overload. If I am going to explain how to get data into, say, accordion pane I would also have to simultaneously explain about Data Mapper and viewers will surely get lost. This is a good topic for a "database techniques" video that I am planing on doing.

About Data Mapper itself, it surely is a good design pattern. It does an even better job of separating business logic from data storage logic than a typical DB wrapper. That said, I think many times a typical DB wrapper, like Zend_Db_Table itself is good enough. According to site linked from QuickStart, (martinfowler.com/eaaCatalog/dataMapper.html) it is best used when objects in application have a data structure incompatible with data structure in the storage. DataMaper prevents having complex process of extracting data from application object into storage and vice versa from showing up inside of business logic model. This is especially crucial for developers in a team (to avoid assignment conflicts) and for maintenance (if something needs to be changed to storage back end, the entire application should not be affected).
So it is very good for more complex objects but in my simple book class that i am creating in tut 18, it would probably be an overkill. My object data and database data are so similar, that the code I now have in the book model class for getting information about a book from DB is going to be identical to the one I would right in a DataMapper. I would only introduce an unnecessary overhead of having another object in memory. In my case the abstraction of Zend_Db_Table is already sufficient to make my application storage independent.

However, that is a matter of opinion. I would like to know your thoughts on my tutorial #18.

I've just briefly looked at doctrine and again, its an attractive solution for complex projects. A little frustrating, however, at how you have spend time to learn yet another toolkit while working on a project in order to get something done, instead of spending that time on the actual problem at hand.
alexanderrv
Administrator
Posts: 279
graph
User Offline Click here to see the profile of this user
Gender: Male tmthv2 alexchatonly@hotmail.com Location: Freeport, Bahamas Birthdate: 1989-04-14
The administrator has disabled public write access.
 
#321
ZF archives 2 Years ago Karma: 0
Здравствуйте Александр.
Спасибо большое за ваши уроки. Они действительно хорошо помогли мне в осмыслении логики ZF. Жду новых уроков и буду обязательно следить за обновлениями
Jenechka
Fresh Boarder
Posts: 0
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#624
ZF archives 1 Year, 10 Months ago Karma: 0
Благодарю Александр за ваш труд! Очень полезная информация как для обучения так и для развития!
Iskander
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 12
Moderators: alexanderrv
You are here: Home Forum

Statistics

Members : 1388
Content : 42
Web Links : 1
Content View Hits : 190527

Poll

Interested in TinyBrowser and TinyMce plugin for ZF?
 

Who's Online

We have 40 guests online