Yii Framework Forum: Yii Framework Support for NetBeans IDE - Yii Framework Forum

Jump to content

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

Yii Framework Support for NetBeans IDE Rate Topic: ***** 2 Votes

#21 User is offline   David Dreggors 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 41
  • Joined: 09-November 10
  • Location:Orlando, FL

Posted 16 August 2011 - 12:05 PM

Nice, can't wait until we see this in action. I also like the direction you are taking with the extension API, this way you/we end up with a more feature rich plugin.


@Intel352:

As to the code completion in NetBeans....

Example:
Yii::app()->db->...


There is a great write up in the yii forums here:

http://www.yiiframew...code-completion


I can get full completion even the one you mentioned. Works great and all you have to do is add the path to Yii to you projects include paths.
The requirements said Windows XP or better, so I installed Linux!
0

#22 User is offline   intel352 

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

Posted 16 August 2011 - 12:36 PM

View PostDavid Dreggors, on 16 August 2011 - 12:05 PM, said:

Nice, can't wait until we see this in action. I also like the direction you are taking with the extension API, this way you/we end up with a more feature rich plugin.


@Intel352:

As to the code completion in NetBeans....

Example:
Yii::app()->db->...


There is a great write up in the yii forums here:

http://www.yiiframew...code-completion


I can get full completion even the one you mentioned. Works great and all you have to do is add the path to Yii to you projects include paths.



True that would work, but it would be nice to just have an IDE that would track through variables as expected.
It's always good to liberally pepper code with comments, but for situations when you're trying to remember what variables you have available to you (such as what components are defined in your config) from Yii::app()->, it would be quite handy to not have to dig into code or add comments (or the instanceof trick) just to emulate what should ideally already be available.
Need live Yii support? - Join the #yii IRC channel on Freenode!
0

#23 User is offline   David Dreggors 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 41
  • Joined: 09-November 10
  • Location:Orlando, FL

Posted 16 August 2011 - 01:36 PM

View Postintel352, on 16 August 2011 - 12:36 PM, said:

True that would work, but it would be nice to just have an IDE that would track through variables as expected.
It's always good to liberally pepper code with comments, but for situations when you're trying to remember what variables you have available to you (such as what components are defined in your config) from Yii::app()->, it would be quite handy to not have to dig into code or add comments (or the instanceof trick) just to emulate what should ideally already be available.


True, the added overhead of parsing the included Yii framework folders or hacks like phpDoc IDE helpers is not as elegant as having a plugin (or native solution) that gives you the same... I was just making sure that you were aware of that method in the interim. I painfully understand having to dig for complex member/method structures and all the possible permutations of some of these as well. I just wanted to add that tidbit to make sure you weren't neck deep in variables because of it :)
The requirements said Windows XP or better, so I installed Linux!
1

#24 User is offline   intel352 

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

Posted 16 August 2011 - 01:38 PM

View PostDavid Dreggors, on 16 August 2011 - 01:36 PM, said:

True, the added overhead of parsing the included Yii framework folders or hacks like phpDoc IDE helpers is not as elegant as having a plugin (or native solution) that gives you the same... I was just making sure that you were aware of that method in the interim. I painfully understand having to dig for complex member/method structures and all the possible permutations of some of these as well. I just wanted to add that tidbit to make sure you weren't neck deep in variables because of it :)


Your response was indeed appreciated, I'm sure there are many PHP devs that are unaware of the workarounds that you pointed to, so it's very relevant to point out :-)

Cheers
Need live Yii support? - Join the #yii IRC channel on Freenode!
0

#25 User is offline   Gevik 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 86
  • Joined: 29-November 09
  • Location:The Netherlands

Posted 23 August 2011 - 04:04 AM

The initial commit has been added to NetBeans repository. It is skeleton-only for now.

http://hg.netbeans.o...e09e6af/php.yii

Ext4Yii, The ExtJS extension for Yii Framework ext4yii.com

Ext4Yii API examples

Follow us on twitter



Developer of Ext4Yii Framework
3

#26 User is offline   jacmoe 

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

Posted 23 August 2011 - 01:25 PM

Great news!
I am definitely going to follow this. :lol:
"Less noise - more signal"
0

#27 User is offline   Luis Lobo Borobia 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 34
  • Joined: 25-March 10
  • Location:Buenos Aires

Posted 24 August 2011 - 09:37 AM

Notice in http://hg.netbeans.o.../YiiScript.java you have a wrong script name = "yicc" instead of "yiic"
Posted Image
The Social Network for Artists
0

#28 User is offline   Gevik 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 86
  • Joined: 29-November 09
  • Location:The Netherlands

Posted 24 August 2011 - 11:02 AM

thanks. the current version in the repo is just an initial version.

Ext4Yii, The ExtJS extension for Yii Framework ext4yii.com

Ext4Yii API examples

Follow us on twitter



Developer of Ext4Yii Framework
0

#29 User is offline   Gevik 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 86
  • Joined: 29-November 09
  • Location:The Netherlands

Posted 06 September 2011 - 09:21 AM

here is another update:

Posted Image

Ext4Yii, The ExtJS extension for Yii Framework ext4yii.com

Ext4Yii API examples

Follow us on twitter



Developer of Ext4Yii Framework
0

#30 User is offline   intel352 

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

Posted 06 September 2011 - 10:56 AM

View PostGevik, on 06 September 2011 - 09:21 AM, said:

here is another update:

Posted Image


Very cool to see that. For the password field, I'd add a check-box to optionally reveal password (if possible), to help ensure someone doesn't have a space in the password or typo the password. If you can't reveal via a toggle, then perhaps have the developer enter password a 2nd time to verify it's what they expect.

Also, Gii config should have ability to update IP Address(es) as well, as I personally do all development on a remote dev server, so 127.0.0.1 or "localhost" never works for me, and I know other devs and companies that do the same.
Need live Yii support? - Join the #yii IRC channel on Freenode!
0

#31 User is offline   bettor 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 751
  • Joined: 02-February 09

Posted 06 September 2011 - 11:08 AM

:blink: nice
0

#32 User is offline   CTala 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 94
  • Joined: 17-August 11
  • Location:Chile

Posted 15 September 2011 - 01:14 PM

What happened with this plugin ?

Anyone developed something for netbeans and yii ?
--
MSc. Cristian Tala Sánchez
0

#33 User is offline   Gevik 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 86
  • Joined: 29-November 09
  • Location:The Netherlands

Posted 15 September 2011 - 02:54 PM

View PostNaito, on 15 September 2011 - 01:14 PM, said:

What happened with this plugin ?

Anyone developed something for netbeans and yii ?


I am developing this plugin. Is there anything specific you would like to know?

Ext4Yii, The ExtJS extension for Yii Framework ext4yii.com

Ext4Yii API examples

Follow us on twitter



Developer of Ext4Yii Framework
0

#34 User is offline   David Dreggors 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 41
  • Joined: 09-November 10
  • Location:Orlando, FL

Posted 03 October 2011 - 11:44 AM

Is there a workable plugin that we can try yet?

Even if only alpha/beta I am sure there are members that would love to bang on it and give some feedback. Having a few extra testers may give you valuable insight to bugs a single person testing may miss.
The requirements said Windows XP or better, so I installed Linux!
0

#35 User is offline   Gevik 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 86
  • Joined: 29-November 09
  • Location:The Netherlands

Posted 03 October 2011 - 02:34 PM

View PostDavid Dreggors, on 03 October 2011 - 11:44 AM, said:

Is there a workable plugin that we can try yet?

Even if only alpha/beta I am sure there are members that would love to bang on it and give some feedback. Having a few extra testers may give you valuable insight to bugs a single person testing may miss.


The plugin in in netbeans/contrib/php.yii repository, but you will need to compile it with the latest development version of netbeans (this is not easy if you have never done it before)

I will put a compiled version in the following week and post a howto here.

Ext4Yii, The ExtJS extension for Yii Framework ext4yii.com

Ext4Yii API examples

Follow us on twitter



Developer of Ext4Yii Framework
0

#36 User is offline   Luis Lobo Borobia 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 34
  • Joined: 25-March 10
  • Location:Buenos Aires

Posted 06 October 2011 - 10:36 AM

Thank you Gevik, I'm looking forward to this!
Posted Image
The Social Network for Artists
0

#37 User is offline   sensorario 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 1,986
  • Joined: 07-September 10
  • Location:Cesena (Italy)

Posted 06 October 2011 - 09:04 PM

Thank you!
0

#38 User is offline   winds 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 82
  • Joined: 25-March 11
  • Location:http://www.dlf5.com

Posted 14 October 2011 - 02:26 AM

收来看看!
0

#39 User is offline   Gevik 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 86
  • Joined: 29-November 09
  • Location:The Netherlands

Posted 15 October 2011 - 03:29 PM

I upload a quick demo of Yii Framework Support in NetBeans 7.1, demonstration Ext4Yii code completion.

Check this out

Ext4Yii, The ExtJS extension for Yii Framework ext4yii.com

Ext4Yii API examples

Follow us on twitter



Developer of Ext4Yii Framework
0

#40 User is offline   David Dreggors 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 41
  • Joined: 09-November 10
  • Location:Orlando, FL

Posted 20 October 2011 - 07:58 AM

View PostGevik, on 03 October 2011 - 02:34 PM, said:

The plugin in in netbeans/contrib/php.yii repository, but you will need to compile it with the latest development version of netbeans (this is not easy if you have never done it before)

I will put a compiled version in the following week and post a howto here.


Did you ever get the compiled version in repo? I have looked and do not see it.
The requirements said Windows XP or better, so I installed Linux!
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