Yii Framework Forum: [EXTENSION] PS Yii Extension Library -- v1.0.4 (jQuery Tools Support) - Yii Framework Forum

Jump to content

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

[EXTENSION] PS Yii Extension Library -- v1.0.4 (jQuery Tools Support) Rate Topic: -----

#1 User is offline   lucifurious 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 184
  • Joined: 15-March 09
  • Location:Atlanta, GA.

Posted 09 May 2009 - 09:57 PM

Hi all! I'm happy to announce release v1.0.4 of my extension library.

I have a complete phpDoc subdirectory on the project's SVN site.

linky

BE SURE TO READ ABOUT INSTALLING OAUTH IN THE WIKI here if you want to use the Twitter API.

Features in this release:

  • Support for jQuery Tools
  • Cleaned up code so no errors are thrown in E_ALL|E_STRICT mode.


In addition, I've created an examples folder under /pogostick/widgets. This contains two views which demonstrate jQuery UI widgets and jQuery Tools widgets. I really dig the jQuery Tools Overlay and Tooltip widgets.

To view the examples, follow these steps:

1. Download and install the extension library.
2. Add a new action to your SiteController:


public function actionExamples()
{
    $this->render( 'pogostick.widgets.examples.jqui_examples' );
}


or


public function actionExamples()
{
    $this->render( 'pogostick.widgets.examples.jqTools_examples' );
}


Then fire up your browser and go to http://yoursite/site/examples and it all should work just peachy!



Any comments or feedback is more than welcome.
0

#2 User is offline   Q-efx 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 62
  • Joined: 12-April 09

Posted 21 May 2009 - 08:03 AM

GOOD WORK! THX ;-)

But i just need the facebook helper *G When will we see it working? oO
0

#3 User is offline   lucifurious 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 184
  • Joined: 15-March 09
  • Location:Atlanta, GA.

Posted 22 May 2009 - 10:57 AM

Thanks!

I've just finished up the Twitter API component and am working on the documentation. I'll be checking in a true "beta" today. The FBC stuff is sorta working. I've built several FBC web sites. I'm just trying to shoehorn it into Yii. :)

I've also added an OAuth component to process logging in with OAuth.

Few more days and we should be golden.


The option manager and behavior properties is all working very well.
0

#4 User is offline   lucifurious 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 184
  • Joined: 15-March 09
  • Location:Atlanta, GA.

Posted 27 May 2009 - 10:13 PM

Hi everyone! I've made a v1.0.0 release. The doc is kinda sketchy at this point, but if you can code, you should be able to figure it out. ;)

Here are the release notes:

---

This extension provides extended behavior functionality and dynamic option functionality.

Included are:

RESTful API base class (CPSApiComponent/CPSApiWidget)
Wrapper for jqGrid
Wrapper for jqRating
Yelp API component (CPSYelpApi)
Facebook Connect component (CPSFacebookConnect)
Twitter API component (CPSTwitterApi)
Wrapper for OAuth.php

New components will be added as I get time. The documentation, source code, and release packages are all at the googlecode site @ http://ps-yii-extens...googlecode.com.

---

I will be updating the documentation as time permits.

Notes:

The widgets are all fully functional as is the Yelp API component. The Facebook Connect and Twitter API components are still being developed, but I didn't want to leave them out.

Also included are fourth-party projects that I've wrapped for Yii. These include jqRating, jqGrid, Google AJAX API, and OAuth.php.

I've created an OAuth behavior out of the OAuth.php project which will allow you to build OAuth servers and clients simply by attaching the CPSOAuthbehavior to your Component or Widget. Pretty sweet eh?

Anyway, please check it out and let me know what you think.
0

#5 User is offline   lucifurious 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 184
  • Joined: 15-March 09
  • Location:Atlanta, GA.

Posted 30 May 2009 - 01:00 PM

Hi all.

I've updated the release to v1.0.1. There were a few internal changes that I made that shouldn't affect anyone using the library.

In addition, I've added a jQuery UI wrapper class. This new class allows you to use ANY jQuery UI widget with a single class.

Here's an example:



The zip file is in the extensions area.

Please let me know if you have any questions
0

#6 User is offline   lucifurious 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 184
  • Joined: 15-March 09
  • Location:Atlanta, GA.

Posted 31 May 2009 - 05:07 PM

Hi folks. Just updated the download to version 1.0.2.

This now includes all the external libraries and they are managed through the CAssetManager. Therefore you do NOT need to download and install ANY external libraries to use any of the jQuery UI widgets.

I also updated the jqGrid widget as a new version has been released. This new version includes support for jQuery UI themes.

Here's an example of creating a grid widget:


The url parameter takes an URL which returns XML data that the grid displays. This is done using an AJAX call. The CPSjqGridWidget has a method called asXml() which can convert CActiveRecord data into the XML required by the grid.

The output of this code is shown in the attached image. That is a screenshot from an app I'm building.

Please let me know if you're using it and if you have any problems.

Attached File(s)

  • Attached File  grid.jpg (73.3K)
    Number of downloads: 29

0

#7 User is offline   lucifurious 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 184
  • Joined: 15-March 09
  • Location:Atlanta, GA.

Posted 10 June 2009 - 06:41 PM

Howdy folks, I'm about to release v1.0.3 and it included complete Twitter API support. I was curious if anyone was interested in this other than me?
0

#8 User is offline   Maxximus 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 146
  • Joined: 24-November 08
  • Location:Spain

Posted 10 June 2009 - 08:22 PM

Hi, didn't have time to use it in full, but what I've seen is cool! jqGrid is one of the components I like to use, and will replace my implementation for yours.

I'm particularly interested in your FB connect part as well.

Thanks for sharing, and keep up the good work!

PS: Will you put 1.0.3 as a package on the google site, or keep it as svn only now?
0

#9 User is offline   sebas 

  • Advanced Member
  • Yii
  • Group: Yii Dev Team
  • Posts: 497
  • Joined: 28-October 08
  • Location:Buenos Aires, Argentina

Posted 10 June 2009 - 09:54 PM

I'll like the twitter api extension!!

:D
0

#10 User is offline   mb 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 19
  • Joined: 15-January 09

Posted 11 June 2009 - 07:31 AM

need help!


PHP Error
Description

Undefined index: _private
Source File

/Users/mb/Sites/phpFramework/yii/extensions/psYiiExtensions/pogostick/base/CPSOptionManager.php(458)


when i call the jqui_examples

what is wrong?!?
0

#11 User is offline   lucifurious 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 184
  • Joined: 15-March 09
  • Location:Atlanta, GA.

Posted 11 June 2009 - 12:12 PM

Not sure, that's really weird.

Please download and install the latest version (v1.0.3) for one. Second, please post your code that calls this and I'll tell you what's wrong.

v1.0.3 download is now available.
0

#12 User is offline   lucifurious 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 184
  • Joined: 15-March 09
  • Location:Atlanta, GA.

Posted 11 June 2009 - 12:24 PM

@mb

Can you please adjust your review. The pkg files you are trying to use are actually documentation files for php-documentor. They are not code files.
0

#13 User is offline   lucifurious 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 184
  • Joined: 15-March 09
  • Location:Atlanta, GA.

Posted 11 June 2009 - 06:52 PM

Ok folks, I created a cookbook page for integrating with Twitter. It's here:



Enjoy and please let me know how it goes!
0

#14 User is offline   mb 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 19
  • Joined: 15-January 09

Posted 12 June 2009 - 02:15 AM

thanks a lot. i will test it now!


0

#15 User is offline   mb 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 19
  • Joined: 15-January 09

Posted 12 June 2009 - 03:22 AM

the same problem..

i had download the current version. but the same error.
i add in main:
- PathOfAlias
- autoloading
'pogostick.base.*',
'pogostick.behaviors.*',
'pogostick.components.*',
'pogostick.events.*',
'pogostick.helpers.*',
'pogostick.widgets.*',
'pogostick.widgets.gApi.*',
'pogostick.widgets.jqui.*',

then i call in my views:
CPSjqUIWrapper::create( 'datepicker', array( 'inline' => true ) );

PHP Error
Description

Undefined index: _private
Source File

/xxx/pogostick/base/CPSOptionManager.php(455)


what is wrong?
0

#16 User is offline   lucifurious 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 184
  • Joined: 15-March 09
  • Location:Atlanta, GA.

Posted 12 June 2009 - 03:18 PM

What is the error_reporting setting for your pages? I think these may strict errors.
0

#17 User is offline   mb 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 19
  • Joined: 15-January 09

Posted 15 June 2009 - 08:12 AM

hmm, my error reporting (mamp) php.ini is on. 

error_reporting  =  E_ALL -> developer mode ;D


0

#18 User is offline   mb 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 19
  • Joined: 15-January 09

Posted 15 June 2009 - 08:42 AM

of course, i change my error reporting to: E_ALL & ~E_NOTICE

and it works fine ;)


thanks  ;D

so i can change my review four you... realy nice!
0

#19 User is offline   lucifurious 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 184
  • Joined: 15-March 09
  • Location:Atlanta, GA.

Posted 15 June 2009 - 01:26 PM

I've gone through in STRICT mode and fixed all the issues. I'll be posting an update today and you can set your error reporting back to E_ALL.
0

#20 User is offline   lucifurious 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 184
  • Joined: 15-March 09
  • Location:Atlanta, GA.

Posted 15 June 2009 - 09:51 PM

Ok, update 1.0.4 is live on the googlecode.com site. Yii's extension repository won't let me upload it because it's 4mb.
0

Share this topic:


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