Symfony support finished

Hi all, today I would like to announce that the support for Symfony PHP Framework (as we planned it for NetBeans 6.8) is finished. So, what's new?

(If you missed our previous blog post about Symfony support in NetBeans, please, read it here.) 

Now, code completion offers proper Symfony variables in Symfony views.

Symfony variables are present in code completion (I)

Symfony variables are present in code completion (II)

Also, one can very easily navigate between Symfony views and actions. Of course, these actions are not present in other PHP files.

So, if you navigate from view to action... 

Go to Action

... you will end there :)

Navigated to Action

You can navigate vice versa as well (please notice that you must invoke the action from the body of a method).

Go to View

One can assign shortcut for this action.

Symfony Shortcuts

Please notice that these improvements will be available in NetBeans 6.8 Beta (will be released soon) .

Now, it's time to use NetBeans for your own Symfony projects or to follow Symfony tutorial to see whether Symfony support is good enough or should be improved. So, please test it and report all the issues or enhancements you find in NetBeans IssueZilla (component php, subcomponent symfony).

Comments:

Is there any chance that we could expect similar support for Zend Framework anytime soon?

Posted by Endijs Lisovskis on October 02, 2009 at 05:28 AM CEST #

Very nice. Thank you. But i can't download the latest build because your server is down.

Posted by Alex on October 02, 2009 at 06:30 AM CEST #

Hello,

It will be great to have a feature like : jump to action , just by typing "frontend homepage". this will open the correction actions.class.php from the frontend application and the homepage module !

Keeps going the good work !

Posted by Thomas R. on October 02, 2009 at 06:38 AM CEST #

To Endijs Lisovskis:
Feel free to add any ideas to issue:
http://www.netbeans.org/issues/show_bug.cgi?id=146028

Thanks,
Tomas

Posted by Tomas Mysik on October 02, 2009 at 06:50 AM CEST #

To Alex:
Try it later, please. Thanks.

Posted by Tomas Mysik on October 02, 2009 at 06:51 AM CEST #

To Thomas R.: Sorry, it is not clear what you mean exactly (where to type "frontend homepage"?).

Tomas

Posted by Tomas Mysik on October 02, 2009 at 08:11 AM CEST #

Good news.

I tried with an already symfony project to navigate between views & actions... and when I was in executeShow() method, NetBeans redirected me to indexSuccess.php and not to showSuccess.php.

it that normal?

Nicolas

Posted by nico_somb on October 02, 2009 at 08:56 AM CEST #

sorry, I was wrong, it works.

I did a right click on the head of my function and not into the function... that's why it didn't work.

Posted by nico_somb on October 02, 2009 at 08:59 AM CEST #

Thomas Mysik: Thomas R. would like to type in a application name and a module name and have the action open up.

Whenever symfony dev's are talking about where something is in a project application name & model name act like a street address.

Since modules are, or should be, easy to figure out that's all that is usually needed for a use case or user story.

Posted by Robert Speer on October 02, 2009 at 09:31 AM CEST #

Oh, when you said finished, you meant completed! And I felt relieved :).

Posted by HDB on October 04, 2009 at 11:38 AM CEST #

F\*\*k this SH!T!! Seriously, who cares about Symfony? I want ZendFramework!

Posted by zfzfzfzfzfzfzfzfzf on October 05, 2009 at 06:39 AM CEST #

How about CakePHP support. This should be next on the list :)

Posted by Andrew on October 05, 2009 at 11:47 AM CEST #

+1000 for Zend Framework - it's support in Zend Studio is the only reason why i still didn't switch to NetBeans.

Posted by Жёпка on October 05, 2009 at 05:05 PM CEST #

plz plz support of CakePHP

Posted by saleh on October 06, 2009 at 08:08 AM CEST #

Great job. Hopefully CakePHP and ZF will be fully supported soon as well.

Posted by DavidTan on October 06, 2009 at 09:55 PM CEST #

To zfzfzfzfzfzfzfzfzf:
Symfony has significantly more votes then any other framework.

Posted by Tomas Mysik on October 07, 2009 at 09:51 AM CEST #

To Andrew:
CakePHP support is possible - it depends on the exact plans for future NetBeans releases and how many votes CakePHP will have ;)

Posted by Tomas Mysik on October 07, 2009 at 09:52 AM CEST #

Many thanks for Symfony support, i have just added my vote to Zend Framework issue. Will you renew the voting http://blogs.sun.com/netbeansphp/entry/issue_145913_historically_the_most ?

Posted by Jozef on October 08, 2009 at 04:06 AM CEST #

It's possible to integrate this one with my NetBeans 6.7.1 installed release? If is possible, how?

Posted by ReynierPM on October 08, 2009 at 07:56 AM CEST #

To ReynierPM:
Unfortunately not, but NB 6.8 Milestone 2 was released, feel free to use it.

Posted by Tomas Mysik on October 09, 2009 at 02:28 AM CEST #

Thanks guys!

This is great, makes my life with symfony a lot easier.

John

Posted by jcleveley on October 09, 2009 at 04:06 AM CEST #

Tomas Mysik: It has more votes because the developers of symphony posted a call on their homepage to mark up the votes. If the same thing would be done by calling the fans of ZF to vote, it's obvious zf would win, but it's a shame that they didn't even know about the votings.

Posted by Жёпка on October 10, 2009 at 06:16 AM CEST #

To Жёпка:
To voting - chances are the same for everyone...

Posted by Tomas Mysik on October 12, 2009 at 05:22 AM CEST #

This is nice, but it unfortunately doesn't work if you have several symfony projects in the same Netbeans project.

Posted by Oktodindon on October 13, 2009 at 02:51 AM CEST #

To Oktodindon:
Sounds a bit weird to me - why don't you have an NB project per each Symfony project?

Posted by Tomas Mysik on October 14, 2009 at 02:27 AM CEST #

Hi!

I propose you create configurable support of many different frameworks. For example, my framework phpDays based on MVC pattern (and symfony too). And I have configure this feature for my developers for simplify their life.

Please, help us with this improvement!
Thanks!

Posted by Anton Danilchenko on October 23, 2009 at 02:36 PM CEST #

To Anton: I have talked about a possibility to configure support of a framework, but it depends what you want to do. In your case, what do you expect from such configuration?

Posted by Petr Pisl on October 27, 2009 at 04:27 AM CET #

Hello,
also please consider Yii Framework support, instead of prado support. In the bugtracker you can only vote for prado right now.

As from some comments in the issue related to Zend Framework support, I agree that a poll system would be better than to have to vote on a bugtracker system but also that if anonymous users can vote then the results may be faked..

Anyway, also a simple implementation of Yii Framework support would be great like "jump to .. view / model / controller" and so on.

thanks

Posted by Giovanni on October 29, 2009 at 03:29 AM CET #

To Petr Pisl.

I propose next features:

1) create new frameworks configuration in special tab "Frameworks" into "PHP" tab. This configuration created by users and extend from original base of configurations (we create configurations for symfony, ZF, CakePHP and phpDays frameworks). This configurations will be available in this plugin after installation.

2) In configuration need set data for:
2.1) cache location (for clear cache and other temprory data). Include one or more folders
2.2) MVC location (models, views and controllers location). Need set by mask (in my framework used view "View/user/register.html" with "Controller/User.php" and action "registerAction")
2.3) tests files location
2.4) path to helpers

3) Work with helpers need to understand and implement it feature in next version of plugin (for save our time)

Please, implement this features while NB 6.8 under development and include it to final NB 6.8.

All questions send me by email or in comments.

Thanks!

Posted by Anton Danilchenko on November 03, 2009 at 03:46 AM CET #

Hi,

That's great!

However, for me the first improvement to develop. Is to be able to set the symfony directory as a property of each project.

The guidelines from symfony is to put the symfony libs in a subdirectory of the project: lib/vendor/symfony.

The advantage is that de project and is configuration is in the project directory and therefore, realy easy to manage.

Kind regards

Hadrien

Posted by Huvelle Hadrien on April 04, 2010 at 04:28 AM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

This blogs is written by NetBeans developers who contribute to the PHP support mainly.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today