Wedge

Public area => The Pub => Off-topic => Topic started by: Inter on September 7th, 2012, 09:04 AM

Title: symfony vs zend framework
Post by: Inter on September 7th, 2012, 09:04 AM
:hmm:
Title: Re: symfony vs zend framework
Post by: Nao on September 7th, 2012, 09:43 AM
!
Title: Re: symfony vs zend framework
Post by: Dragooon on September 7th, 2012, 10:58 AM
Yii.
Title: Re: symfony vs zend framework
Post by: Norodo on September 7th, 2012, 12:29 PM
No framework.
Title: Re: symfony vs zend framework
Post by: and on September 7th, 2012, 02:21 PM
Quote
:hmm:
other

FuelPhp, Kohana 3 or own bike :whistle:
Title: Re: symfony vs zend framework
Post by: nolsilang on September 7th, 2012, 03:12 PM
Laravel(http://laravel.com/)
Title: Re: symfony vs zend framework
Post by: Inter on September 11th, 2012, 05:15 PM
CodeIgniter :)
Quote from and on September 7th, 2012, 02:21 PM
Quote
:hmm:
other

FuelPhp, Kohana 3 or own bike :whistle:
FuelPhp? Вообще никогда о таком не слышал! Любопытно...
Title: Re: symfony vs zend framework
Post by: Arantor on September 11th, 2012, 05:21 PM
Frameworks should be about saving time and energy in writing, by giving you something pre-prepared. All too often people substitute in a framework because they don't know how to do it themselves.

Now, I'm in the state where I've used most of the frameworks and don't like many of them. What I invariably find with them is that I spend almost as much time tweaking the framework because it doesn't do exactly what I want, as I would have done doing it from scratch anyway.

Also, I'd thoroughly avoid Zend Framework because it's huge and extremely bloated. A setup where using multiple components together could require 300 files *per pageload* seems thoroughly wrong to me.
Title: Re: symfony vs zend framework
Post by: Nao on September 11th, 2012, 05:25 PM
The only framework that works for me is called SMF. :P
Title: Re: symfony vs zend framework
Post by: Inter on September 11th, 2012, 05:34 PM
offtop:

Guys, tell me a good class for working with nested sets (PDO, PHP5)
Strange that I can not find this in the frameworks



offtop2:

I did a test in which I was interested in the speed
functions and classes for working with databases
$smcFunc involved, PDO, the Zend DB

results surprised:
 :eheh:
1. $smcFunc
2. PDO
3. Zend DB
Title: Re: symfony vs zend framework
Post by: Arantor on September 11th, 2012, 06:01 PM
Quote
Guys, tell me a good class for working with nested sets (PDO, PHP5)
Strange that I can not find this in the frameworks
What do you mean by nested sets? What I think of as nested sets is probably not the same thing you're thinking of.
Quote
results surprised:
Why should that be a surprise?
Title: Re: symfony vs zend framework
Post by: Inter on September 11th, 2012, 06:07 PM
Arantor, you are right
ZF2: <<Hello, World>>  All included files: 185
Posted: September 11th, 2012, 06:02 PM
Quote
What do you mean by nested sets? What I think of as nested sets is probably not the same thing you're thinking of.
level_key, right_key, level
http://en.wikipedia.org/wiki/Nested_set_model
Quote
Why should that be a surprise?
I thought that the first speed to the PDO driver

Title: Re: symfony vs zend framework
Post by: Arantor on September 11th, 2012, 06:40 PM
And how exactly are you getting nested-sets out of an SQL table? Are you trying to read it from the table then build it into a nested hash map or what?

Sounds to me like half the battle is using the wrong tool for the job in the first place...
Quote
I thought that the first speed to the PDO driver
To do what exactly? Are you jumping through hoops and doing the wrong thing with it?

See, here's the thing you're talking about a very specific, slightly unusual setup and there's any one of a number of things that are likely incorrect in your use case anyway.
Title: Re: symfony vs zend framework
Post by: Nao on September 11th, 2012, 07:36 PM
$smcFunc/wesql isn't a lot of code anyway...
Title: Re: symfony vs zend framework
Post by: Arantor on September 11th, 2012, 07:53 PM
Exactly. It's very lightweight and exists primarily to be an anti-injection layer, though in $smcFunc's case it's also pretending to be a DBAL as well (but isn't really)
Title: Re: symfony vs zend framework
Post by: and on September 12th, 2012, 07:20 AM
Quote from Inter on September 11th, 2012, 05:15 PM
FuelPhp? Вообще никогда о таком не слышал! Любопытно...
кто ушел с на него с  CodeIgniter , в восторге и возвращаться не собираются
Quote from Inter on September 11th, 2012, 05:34 PM
offtop:

Guys, tell me a good class for working with nested sets (PDO, PHP5)
look at instantcms в ней все пропитано nested sets идеологией


хотя ИМХО не самый  лучший выбор паттерна для построения деревьев
Title: Re: symfony vs zend framework
Post by: Inter on September 12th, 2012, 08:36 AM
(click to show/hide)
Quote from and on September 12th, 2012, 07:20 AM
Quote from Inter on September 11th, 2012, 05:15 PM
FuelPhp? Вообще никогда о таком не слышал! Любопытно...
кто ушел с на него с  CodeIgniter , в восторге и возвращаться не собираются
Quote from Inter on September 11th, 2012, 05:34 PM
offtop:

Guys, tell me a good class for working with nested sets (PDO, PHP5)
look at instantcms в ней все пропитано nested sets идеологией


хотя ИМХО не самый  лучший выбор паттерна для построения деревьев
Не могу понять, что плохого в CodeIgniter? Он помоему идёт своей дорогой.
Мне нужен отдельный класс от фреймворка, чтоб его использовать в моде который я делаю
тот класс что сейчас есть на старом sql и выдаёт ошибки