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

Jump to content

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

General plan about Yii2

#21 User is offline   jacmoe 

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

Posted 25 August 2011 - 08:36 AM

View PostDana, on 25 August 2011 - 08:19 AM, said:

Popularity can be a valuable metric when you consider that there are solid functionality related reasons that so many people choose to use certain systems over others.

People are choosing it because it's what you choose.
Interestingly, since Ogre3D went for Mercurial - most popular open source 3D rendering engine currently - I see more and more projects using Mercurial. Not only directly related projects, but also others.
Only 3 years ago, there wouldn't be any question about it: Git/GitHub.
Now there actually is, due to Mercurial picking up steam.
Choice is great.
Still, the web development community is still 98% Git/GitHub - so maybe it's natural for Yii to become part of that club.

Since you're going for Git/GitHub, I really hope that it turns out to be as rewarding as you wish it will be.
It takes some time before people start realizing that they've got a new set of tools.
But let's hope that we see a lot of forks and pull requests.
Pulling from a clone is so much better and quicker than dealing with patches. :)
"Less noise - more signal"
0

#22 User is offline   samdark 

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

Posted 25 August 2011 - 09:39 AM

Psih
Both Mercurial and Git are OK for us. So we're comparing communities behind these.
Yii 1.1 Application Development Cookbook

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

#23 User is offline   Dana 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 204
  • Joined: 18-February 10
  • Location:Florida, USA

Posted 25 August 2011 - 10:22 AM

Jacmoe, that's why I said 'all things being equal' ;)

If you look at two ways of doing something, and both are very strong in the primary areas your looking for, doesn't it make sense to choose something that more people are already using so that there is a smaller learning curve for people coming to your product/service/etc? However, if one is clearly stronger or better in a number of ways, then obviously it's time to buck the trend and stir people to move in that direction instead.

I have not yet seen where that is the case with Mercurial vs Git -- currently, it's shades of vanilla.
2

#24 User is offline   Psih 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 115
  • Joined: 30-June 10

Posted 26 August 2011 - 06:51 AM

View Postsamdark, on 25 August 2011 - 09:39 AM, said:

Psih
Both Mercurial and Git are OK for us. So we're comparing communities behind these.

As i see from the duscussion in php internals list (they battle witch to choose - Mercurial or Git) I get a picture that Mercurial is easier and has functionality to make modular projects much easier than git. To me, as SVN adept right now, that's one big +1 :)
0

#25 User is offline   kernel 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 91
  • Joined: 22-November 10

Posted 27 August 2011 - 08:13 AM

:mellow: Need traits
1

#26 User is offline   samdark 

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

Posted 27 August 2011 - 10:26 AM

Traits will be in 5.4, not 5.3. That's why there will be behavior.
Yii 1.1 Application Development Cookbook

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

#27 User is offline   yiqing95 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 604
  • Joined: 27-December 10
  • Location:china

Posted 28 August 2011 - 03:47 AM

what about aop and annotation ?
0

#28 User is offline   yiqing95 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 604
  • Joined: 27-December 10
  • Location:china

Posted 28 August 2011 - 03:57 AM

and the js ? any plan for introduce another js framework except jquery .in some old thread , i 'v saw qiang said some one were developing mootools extension (two years ago) but never seen in the extension repository. the extjs for yii is need commercial license. so .... :P
0

#29 User is offline   samdark 

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

Posted 28 August 2011 - 07:08 AM

yiqing95
AOP is a bit complex for PHP world and isn't looking good if done w/o runkit that isn't core PHP but a PECL extension. Annotations aren't supported natively, don't have IDEs support and are much more magical than just plain PHP.

As for non-jQuery frameworks, I think there will be no official support since we're using jQuery for own projects and jQuery is the most used JavaScript framework out there.
Yii 1.1 Application Development Cookbook

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

#30 User is offline   Thomas Jensen 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 150
  • Joined: 01-August 09

Posted 16 September 2011 - 04:52 PM

I vote for git/github :)

I just read about Traits which seems like a perfect way of doing behaviors. Why not let Yii 2.0 be based on PHP 5.4? There must be some huge performance gains, not to mention the advantage of new developers already knowing traits when they start using Yii.
0

#31 User is offline   Greg Molnar 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 47
  • Joined: 17-January 11

Posted 17 September 2011 - 04:38 AM

+1 one for github. It would make a lot easier to contribute.
0

#32 User is offline   samdark 

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

Posted 17 September 2011 - 05:57 PM

Thomas Jensen
5.4 just went beta so probably it will be OK to use it.
Yii 1.1 Application Development Cookbook

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

#33 User is offline   Thomas Jensen 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 150
  • Joined: 01-August 09

Posted 17 September 2011 - 06:11 PM

Okay, nice. Really looking forward to Yii 2.0. Any idea of arrival at github (if that's decided)?
0

#34 User is offline   samdark 

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

Posted 17 September 2011 - 06:14 PM

Thomas Jensen
80% yes because of social aspect and all recent GitHub improvements.
Yii 1.1 Application Development Cookbook

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

#35 User is offline   mindplay 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 397
  • Joined: 03-September 09
  • Location:New York

Posted 19 September 2011 - 07:48 PM

View Postsamdark, on 28 August 2011 - 07:08 AM, said:

Annotations aren't supported natively, don't have IDEs support and are much more magical than just plain PHP.


That's not entirely true - basic PHP-DOC annotations do have IDE support.

And sorry, but I get tired of hearing annotations described as "magic" - there's nothing magical about them. You already use callbacks and interfaces to provide metadata that drives various decisions and helps establish defaults at run-time.

Annotations are no different from what you're already doing in Yii - just more convenient and reduces the noise that is generated by having six different callbacks all of which restate all of the property names in order to provide one more piece of metadata. Yuck.

View Postsamdark, on 28 August 2011 - 07:08 AM, said:

As for non-jQuery frameworks, I think there will be no official support since we're using jQuery for own projects and jQuery is the most used JavaScript framework out there.


+1 for Github.

+1 for jQuery.

Both pretty much are the de facto standard for open source projects these days, and with good reason.
0

#36 User is offline   GoofyX 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 177
  • Joined: 15-April 09
  • Location:Thessaloniki, Greece

Posted 20 September 2011 - 10:45 AM

+1 for >=PHP 5.3, +1 for no backwards compatibility (because backwards compatibility always come with heavy baggage) and +1 for Git (framework and documentation/translation).

Github is also fine, fits nicely.

Regarding PHP 5.4, this depends on when Yii 2.0 is expected to arrive. Is there a very rough estimate, will it be after 1, 2, 3 years? I also expect the very good to excellent bundled documentation (yii docs) to be further improved.


... Morpheus: What is "real"? How do you define "real"? If you 're talking about what you can feel, what you can smell, what you can taste and see, then "real" is simply electrical signals interpreted by your brain...
0

#37 User is offline   gbasto 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 70
  • Joined: 28-September 10
  • Location:Portugal

Posted 30 September 2011 - 04:12 AM

If the transition of what you already made to Yii 2.0 to PHP 5.4 isn't something hard, I really suggest you to think about it. I'm not talking only about Traits, I think the array improvements (syntax and dereferencing) and closures will also fit perfectly on Yii 2.0.

Move to Git and GitHub is also a excellent initiative.
0

#38 User is offline   samdark 

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

Posted 01 October 2011 - 06:21 PM

We've checked PHP 5.4 features and decided to stick with 5.3. Traits aren't able to replace behaviors since these couldn't be configured and can't have their own variables and functions. The rest of 5.4 features are nice but have nothing to do with framework itself. If you'll have 5.4 you'll get these same way as you can use 5.3 closures in Yii 1.1.
Yii 1.1 Application Development Cookbook

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

#39 User is offline   jacmoe 

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

Posted 01 October 2011 - 08:50 PM

Agreed. Yii needs to have very good reasons to bump the requirement.
It has to run on as many servers as it possibly can.
I think PHP 5.3 is a safe target, also for shared servers.
"Less noise - more signal"
0

#40 User is offline   macinville 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 268
  • Joined: 25-October 10
  • Location:Marikina City, Philippines

Posted 01 October 2011 - 11:31 PM

Its been 2 years since PHP 5.3 is released, and still not all shared web hosts support it. What more with 5.4? It will be either I use Yii 2.0 and purchase a VPS, or just stick with Yii 1.1.

So..
PHP 5.3? +1
No backward compatibility? +1
Github? +1
jQuery? +1

More real-life examples and beginner-level documentation will be very much appreciated.
Tell your tail.
Don't be shy to upvote a post if it was able to help you
0

Share this topic:


  • (4 Pages)
  • +
  • 1
  • 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