Jump to content

egghead

New Members
  • Posts

    9
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

egghead's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. regardless, it's just a lot of junk for the view file, no?? I'm f'n confused i thought view was only supposed to be html with simple loops using data passed to it, now using YII my views are full of code.
  2. hey just getting into yii and loving it but wanted to ask about all the widgets in the view, doesn't that sort of defeat the idea of views being clean? The widgets get passed encoded mysql within the view itself and that feels wrong. Isn't even this ultra-simple example too verbose for a view? but yii puts it right into the view. <? $this->widget('zii.widgets.CDetailView', array( 'data'=>$model, 'attributes'=>array( 'id', 'interview_id', 'interview_title', 'owner_id', 'duration', ), )); ?>
  3. ahh never mind, now i understand the cool part of zend ican use parts of it i want and chuck the parts that are driving me crazy for nothing...
  4. you know what takes up half my time? forms... the bloody selects and boxes and crap, validation, filters... it's absolutely mindless grunt work - takes zero brains - > yet i don't see a way to hand this to the front-end developer without looking like a lazy SOB, not to mention security risks.... Does anyone know a good class tool or website app where i could build forms with validation and field editting without doing it by hand? Some of my apps have 50-100 unique forms It's a @#$^( pain, i can think of a lot of ways of writing an app to help me church out the .php and .html and ajax- ie reading in the mysql, setting defaults, 1-click per validation rule, etc... i just thought i'd ask first before taking the time to write one... thanks.
  5. Why did it just take me 10 hours straight procedural what took 3 weeks in zend! Is it becaue i'm a noob at Zend, or will it always take longer to develop with zend! ... i can't believe how much time i wasted trying to fit this thing onto a framework... is it me or is the frameworks? Or is because when i work in Zend i feel like i have to keep to proper coding? I feel like developing procedural like a slob, no conventions, and then 'fitting' it over Zend and working backwards making pretty so at least i have a bloody working T$^#@*( application and a happy client.. he doesn't know better at this stage anyhow. What do you think? I was always known as the -fastest- develop in town, now i know why! I just crap the thing out from beginning to end with logic over style.
  6. I'm building some demo apps in order to learn zend and want to really explore web services, other than the obvious google-based services and facebook/twitter/flickr can anyone suggest some more eh, juicy, web services to integrate that will be impressive in a portfolio (i need a job)? .... with a bit of 'wow' factor. cheers
  7. OK, i have been doing things like the idea i had earlier and it's working for me great... so far. i ended up with the model on top, view on bottom, controller in the middle, and i must say it took me <1/2 the time it does moving from file-to-file....i much rather scroll up and down than tab around, (my brain cannot remember from one tab-to-the-next i think! it's like it resets) i tried Ci and i tried Netbeans, but jeezus as a long-time handcoder i just prefer working in php text editor without all the helper and wizard stuff... explain to me... i tried CI, and tried working with the 'pagination class'.. after 10 minutes of feeling stupid, i asked why not write my own bloody pagination class, and that took me all of 5 minutes... so what exactly is the use of the framework for people who already know how to write code? Compared with jquery or other javascript frameworks? Now THERE are a bunch of time/effort savers! But the php frameworks? I am not sold on them for any other reason than working in teams, or for companies, where the classes need to be uniform.
  8. I was thinking of doing the model and view on the same page, then splitting them up as need be, then writing the controller to bring it back together... i think whats pissing me off is having to do so much switching between different files in general, its breaking my concentration.
  9. hi, first time here, not the last thats for sure.. i've been learning oop php with the mvc architecture, just getting into coding my own stuff... question is: What do i do first!?!! With procedural i just sort of sit down and GO until i fall asleep... with this MVC thing, i am stuck not knowing how to begin, or even how to plan or map my applications. Any help would be so greatly appreciated. How do you plan/where do you begin? (am NOT using a framework until i learn the right way without a 'crutch')
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.