Yii Framework Forum: General plan about Yii2 - Yii Framework Forum

Jump to content

  • (4 Pages)
  • +
  • « First
  • 2
  • 3
  • 4
  • You cannot start a new topic
  • You cannot reply to this topic

General plan about Yii2

#61 User is offline   Lukas Kahwe Smith 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 13
  • Joined: 05-November 11

Posted 08 November 2011 - 04:30 PM

@samdark: well I think a lot of the flexibility can be hidden by conventions by a layer on top of Symfony2. though of course not everything and it might indeed mean that some novice Yii user will not easily understand how to hack around in the guts of things, but I am not sure if they successfully do this today (without running the big risk of adding some serious security and reliability issues). I emailed Qiang today and he said you guys might look into using some Symfony2 components.

There are two components I think you guys should look at especially:

1) HttpFoundation

If you implement this then it will be really easy to integrate Yii to applications with Symfony2, phpBB4, Midgard CMS and Drupal 8 applications as they all know how to create and consume Requests and Responses from the HttpFoundation

2) HttpKernel

Adding this component will give your application very HTTP aware architecture that enables all sorts of goodness that is described here:
http://symfony.com/d...e-side-includes

If you are interested and have a few minutes you might want to skim this blog post:
http://fabien.potenc...hat-is-symfony2
0

#62 User is offline   Iza 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 24
  • Joined: 11-November 11

Posted 08 December 2011 - 11:59 AM

Amazing! :D
0

#63 User is offline   ekerazha 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 526
  • Joined: 10-October 08
  • Location:European Union

Posted 09 December 2011 - 06:09 AM

View PostLukas Kahwe Smith, on 08 November 2011 - 04:30 PM, said:

I emailed Qiang today and he said you guys might look into using some Symfony2 components.


Personally, I like consistency and I don't like mixing components from different frameworks. I wouldn't like raw Symfony2 components inside Yii, just like I always hoped in native Yii components for things like feeds (rss, atom etc.) instead of relying on shreds of the Zend framework (it's not so nice to include a framework as a "library" of another framework).
Yii user #37
0

#64 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 2,601
  • Joined: 10-October 10
  • Location:Denmark

Posted 09 December 2011 - 06:13 AM

View Postekerazha, on 09 December 2011 - 06:09 AM, said:

it's not so nice to include a framework as a "library" of another framework.

Why not ?
As long as the library you're including is modular.
DRY.
"Less noise - more signal"
0

#65 User is offline   ekerazha 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 526
  • Joined: 10-October 08
  • Location:European Union

Posted 09 December 2011 - 06:18 AM

View Postjacmoe, on 09 December 2011 - 06:13 AM, said:

Why not ?
As long as the library you're including is modular.
DRY.


If I have to use another framework, I just use that framework instead of Yii. Consistency and deduplication.
Yii user #37
0

#66 User is offline   CeBe 

  • Advanced Member
  • Yii
  • Group: Yii Dev Team
  • Posts: 506
  • Joined: 16-July 10
  • Location:Berlin. Germany

Posted 19 December 2011 - 12:34 AM

View Postekerazha, on 09 December 2011 - 06:18 AM, said:

If I have to use another framework, I just use that framework instead of Yii. Consistency and deduplication.

I found that using Yii with Zend Framework as a vendor for Mail, PDF and some API stuff is a very nice thing.
Why would Yii want to write an own Mailing Component from scratch, there are enough good ones out there...
3

#67 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 2,601
  • Joined: 10-October 10
  • Location:Denmark

Posted 19 December 2011 - 12:56 AM

CeBe: totally my opinion. And it also means that each one of us can have it our way.

However: don't argue with Ekerazha. He's quite the troll. ;)
"Less noise - more signal"
0

#68 User is offline   ekerazha 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 526
  • Joined: 10-October 08
  • Location:European Union

Posted 19 December 2011 - 04:14 PM

View PostCeBe, on 19 December 2011 - 12:34 AM, said:

I found that using Yii with Zend Framework as a vendor for Mail, PDF and some API stuff is a very nice thing.
Why would Yii want to write an own Mailing Component from scratch, there are enough good ones out there...

I've already replied to this: consistency (exceptions management, coding style etc.) and deduplication. Dedicated libraries are borderline, but including a full featured framework into another framework is just aberrant.

View Postjacmoe, on 19 December 2011 - 12:56 AM, said:

However: don't argue with Ekerazha. He's quite the troll. ;)

Dude, I'm the user number 37 here, surely a newcomer like you can't call me "troll", espacially when the quality of your arguments is usually at level zero (the message above confirms this for the umpteenth time). ;) Kiss.
Yii user #37
1

#69 User is offline   Lukas Kahwe Smith 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 13
  • Joined: 05-November 11

Posted 19 December 2011 - 04:48 PM

View Postekerazha, on 09 December 2011 - 06:09 AM, said:

Personally, I like consistency and I don't like mixing components from different frameworks. I wouldn't like raw Symfony2 components inside Yii, just like I always hoped in native Yii components for things like feeds (rss, atom etc.) instead of relying on shreds of the Zend framework (it's not so nice to include a framework as a "library" of another framework).


my proposal was to actually build Yii2 on top of Symfony2 as a set of Bundles (Symfony2 lingo for Plugins) that add the rapid development toolchain that Yii provides while leveraging all the features of the Symfony2 foundation.

at any rate it seems like the core Yii dev indeed rather consider potentially reusing some Symfony2 components as part of developing their very own framework. if this should be possible without making the results feel like a mix and match, since Symfony2 components are totally standalone. aka using one does not mean you have to use another. while they still have a common design philosophy, so yes ideally these philosophies will match that of Yii2.

anyway .. we will see where things go
0

#70 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 3,589
  • Joined: 17-January 09
  • Location:Russia

Posted 20 December 2011 - 10:37 AM

ekerazha, jacmoe,
Don't start it please, guys ;)
Yii 1.1 Application Development Cookbook

Enjoying Yii? Star us at github: 1.1 and 2.0.
0

#71 User is offline   jpablo 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 33
  • Joined: 18-August 11
  • Location:Rosario, Argentina

Posted 04 March 2012 - 01:15 AM

Hi Guys!

There is an estimated date for the alpha release of Yii2?
0

#72 User is offline   tburandt 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 30
  • Joined: 04-December 11

Posted 04 March 2012 - 01:54 PM

View Postjpablo, on 04 March 2012 - 01:15 AM, said:

Hi Guys!

There is an estimated date for the alpha release of Yii2?

Yes there is.
0

#73 User is offline   Maurizio Domba Cerin 

  • Yii - Yesss It Is !!!
  • Yii
  • Group: Yii Dev Team
  • Posts: 4,353
  • Joined: 12-October 09
  • Location:Croatia

Posted 04 March 2012 - 02:00 PM

Check this thread for some info - http://www.yiiframew...hp/topic/29293-
Find more about me.... btw. Do you know your WAN IP?
0

#74 User is offline   jpablo 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 33
  • Joined: 18-August 11
  • Location:Rosario, Argentina

Posted 19 March 2012 - 05:32 PM

Thank you Mdomba. Maybe the Yii core team needs to update the download page, now we can read:

"Note: We are currently actively developing Yii 2.0. The earliest possible 2.0 alpha release may be in March 2012, but we cannot guarantee it."

And as I can seen Yii 2.0 alpha is far from being released, and now we are in the middle of March.
0

Share this topic:


  • (4 Pages)
  • +
  • « First
  • 2
  • 3
  • 4
  • 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