Yii Playground: feedback / questions

This is my comment:

http://www.mongodb-is-web-scale.com/

(Same category as Git, Facebook, cloud computing, Ruby on Rails, iPad, iPhone…)

Sad to see Yii turning git-way web-dev…

I personally think that the dashboard in Bitbucket is better, but who can compete against the fanboyism. ;)

NetBeans will always feature better Hg support than Git support - simply because the NetBeans team is using Mercurial themselves.

Anyway, it serves no point, besides that Mercurial would have meant that you didn’t have to switch service providers.

But it sure is better than SVN for collaboration.

Dunno about Git having bundles, but I imagine they have bundles or something similar.

But yes, there are patch queues and pull requests in Github, which serve a similar purpose.

Ex: https://github.com/blog/270-the-fork-queue

One thing about Github, their web interface has more functionality & features than Bitbucket’s.

Bitbucket is coming along nicely since Atlassian purchased them (surprisingly, they’re improving Bitbucket, whereas normal Atlassian products are cumbersome and quite horrid), but Github is still a superior experience overall.

I still (personally) prefer Bitbucket nonetheless, due to the free private repos, and it’s functionality suits me fine, but my needs don’t necessarily match the needs of the standard Yii dev.

Your logic of Github accounts making users more likely to contribute to Yii Playground is sound :slight_smile:

Is that a reference to the fanboy-ism?

Agreed, but still better than SVN :smiley:

Agreed, Bitbucket dashboard is loads better. Not as many features, but better presentation in that regard.

Completely agreed, plus Hg is simply easier to get into for a new dev, usually (at least ones coming from SVN)

Exactly

Just a note, Google Code now has Git support (as of today, apparently).

If you attempt to create a new project, Git is one of the versioning systems listed: http://code.google.com/hosting/createProject

I haven’t yet checked to see if you can convert old projects.

I don’t know if this affects Yii 2’s decision to use Github, I’ll post if I find out anything.

Hello,

I were thinking to go with mercurial because if we have to move somewhere else (github) we can do it more or less with the same effort as Yii 2 will be ready…

so for now it makes more sense to me to stay on google code.

But if it is true that now google code also supports Git we may consider using that one instead of Mercurial…

On the settings tab I have “Switch to:” and now I can also click on the “Git” button… ::) Don’t know exactly what happens if I click it.

So… from what I’ve understood, it seems to me that on windows / netbeans we have better support to Mercurial and this is a pro to mercurial, but on the other hand Yii 2 will be switching to Git so this is a pro for this last one… what are your thoughts?

bye,

Giovanni.

p.s.

just found that on google code it states “Modifying this setting will not delete existing Git, Mercurial, and Subversion data, but it will change the way the site displays your project’s contents”

There is SmartGit for Windows. It’s a very nice UI.

What about Linux? But I think in the end I just gonna use CLI

SmartGit is also available for linux:

http://www.syntevo.com/smartgit/download.html?all=true

bye,

Giovanni.

oh yeah, my bad doesn’t googling first…

I have a suggestion…

A sortable list ( http://www.yiiplayground.cubedwater.com/index.php?r=UiModule/jui/ziiSortable )

is on its own pretty useless,

a couple of examples on how to save the new positions into either a database or into a new array() would be great.

Awesome site and initiative. I’ll join when my skills are good enough.

For now I can only contribute with this, an extended example of zii.CjuiTabs widget (worksjust aswell for accordion widget)


$tabs = array(

	'tabs'=>array(),

	'options'=>array(

        'collapsible'=>true,

        'selected'=>1,

    ),

    'htmlOptions'=>array(

        'style'=>'width:100%;',

        'id'=>'tabby',

    ),

	

	);

$model = new School;

		$dataReader = $model->getTopics();

foreach($dataReader as $row)

{

        $id = $row['id'];

	$content = $row['text'];

	$title = $row['title'];

          if(!Yii::app()->user->isGuest) 

		{

           echo '<a class="update" href="/school/update/"'. $id '.title="Create">Update this topic</a>';

		}

	

	$tabs['tabs'][$title] = $content;

} 


$this->widget('zii.widgets.jui.CJuiTabs', $tabs); 

hi there fellas, i need a bit of help with something, i tried installing the playground but i dont know if it will work with what im using:

-php 5

-mysql server/client

-lastest yii

do i need mysqlite? i dont know much about DB software, i made all my DB tables using phpmyadmin using mysql…

thanks in advance