General plan about Yii2
#1
Posted 18 July 2011 - 02:17 PM
POPULAR
— Backwards compatibility: no
— 5.3 features that will be used heavily: namespaces, anonymous functions
— Version control: Git (most probably GitHub)
Enjoying Yii? Star us at github
Support me so I can work more on Yii: https://www.patreon.com/samdark
#2
Posted 18 July 2011 - 03:35 PM
+1 for php 5.3
The problem is communication! Excess of communication!
#3
Posted 18 July 2011 - 04:19 PM

#4
Posted 18 July 2011 - 04:35 PM
I believe that PHP allow you to 'use' / 'import' a namespace ?
If so, it would be just as easy as it is now.
The benefit is that it won't clash if we use classes from other libraries or our own code prefixed with 'C'.
Anonymous functions sounds exciting. Can't wait to see what you come up with.

#6
Posted 06 August 2011 - 09:56 AM
I prefer something like below, or if you have better one

'columns' => array( array( 'value' => function($data){ return strtoupper($data->attribute); } ) ),
http://about.me/petrabarus
#7
Posted 06 August 2011 - 01:10 PM
Actually it works in current Yii 1.1

Enjoying Yii? Star us at github
Support me so I can work more on Yii: https://www.patreon.com/samdark
#8
Posted 06 August 2011 - 03:47 PM
samdark, on 06 August 2011 - 01:10 PM, said:
Actually it works in current Yii 1.1

oh my...
it actually works.. my bad

http://about.me/petrabarus
#10
Posted 16 August 2011 - 12:17 PM
#12
Posted 24 August 2011 - 04:20 PM
samdark, on 18 July 2011 - 02:17 PM, said:
Why not Mercurial on Google Code?
#13
Posted 24 August 2011 - 04:27 PM

Personally, I use NetBeans, Mercurial, Google.code / Bitbucket for everything.

<edit>
But that's probably due to me not only being a php programmer, but also a C++ coder.
Web development these days is still all about Git/Github.
</edit>
I think it all boils down to what Samdark and the rest of the Yii team really wants to use.
It would be refreshing to see Yii go Mercurial/Bitbucket - but Git/Github is the expected (conservative?) move for a PHP framework. And that's great.

#14
Posted 24 August 2011 - 04:40 PM
#15
Posted 24 August 2011 - 04:53 PM
Enjoying Yii? Star us at github
Support me so I can work more on Yii: https://www.patreon.com/samdark
#16
Posted 24 August 2011 - 05:01 PM
https://bitbucket.org/explore
And the features.

(And since it was bought by Atlassian, it has some strong backing)
Well, as I've said: it matters what you - the Yii team - likes.
#17
Posted 24 August 2011 - 05:41 PM
2. BitBucket community largest PHP projects were all CodeIgniter-related. And CodeIgniter recently moved to GitHub.
3. Majority of PHP frameworks are hosted at GitHub: CodeIgiter, Symfony2, Zend Framework 2, CakePHP, Kohana so it will be easier to migrate to Yii from any of these.
Enjoying Yii? Star us at github
Support me so I can work more on Yii: https://www.patreon.com/samdark
#18
Posted 25 August 2011 - 07:01 AM
Sr. Developer at Envisage International
D.H. Luther - Web Design & Development
Dana's Yii Blog
Extensions:
Yii2-Swivel | Yii-Swivel | ChildrenRequiredValidator | ESitemap | EStrongPassword | ES3
#19
Posted 25 August 2011 - 07:38 AM
#20
Posted 25 August 2011 - 08:19 AM
Sr. Developer at Envisage International
D.H. Luther - Web Design & Development
Dana's Yii Blog
Extensions:
Yii2-Swivel | Yii-Swivel | ChildrenRequiredValidator | ESitemap | EStrongPassword | ES3