This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » development » Feature requests » IDE for Symfony
icon10.gif  IDE for Symfony [message #45476] Thu, 14 February 2008 09:47 Go to next message
windsurflove  is currently offline windsurflove
Messages: 35
Registered: October 2006
Location: Cyprus
Member
What would take Symfony over the top would be a IDE like Visual Studio.

Symfony as a framework is fantastic. The number one feature is the way it forces you to write manageable, scalable code that follows proven design patterns. And I am sold.

But the learning curve is steep. Especially for beginners. A visual IDE would help in the learning curve, as well as help seasoned professional programmers deploy Symfony web applications faster.

Here's an example comparison to make things clearer.
Suppose I wanted to create the ToDo list web application so favored by everyone. Let's say that the specs are really simple. Just a table of todo tasks with a date_created and date_completed, the facility to sort by clicking on the column headers etc.

In Symfony I would create the schema, build the model, connect to SQLite, build the database, init-administration etc. It doesn't take that long, but it does take reading how to do it if I am a beginner, and it does take writing a lot of things in configuration files (and writing them correctly). In other words there is a bit of a learning curve.

In Visual Studio (.NET) I would first go to by app_data folder and create a SQL Express database, populate it etc, all visually.
Then I would drag a gridview from my toolbox to the page. I would configure the datasource (still very easy and visual), choose sorting etc. I would finish much quicker. If this was the first time I was doing this, it would be much friendlier, I would get results faster. Plus, since up to this point I have not typed any code, there would be no errors.

My suggestion is to create an IDE for Symfony similar to Visual Studio. All the IDE would do is to provide a visual interface for symfony's objects. This would provide beginers with a much quicker success. It would also help seasons symfony programmers scafold applications faster. The underlying framework and file structure, yaml files, model etc would stay the same, it would just be faster to configure everything and there could be wizards to help you go through things without need of reading a manual. This would also help make symfony more widely known. Razz

P.S.
If you like the idea of an IDE for Symfony post a reply. If you want to discuss which is better, Symfony or VS, then contain yourself, because it is not my intention to favor either, rather to help make Symfony which is already great even better. Embarassed
Re: IDE for Symfony [message #45933 is a reply to message #45476 ] Wed, 20 February 2008 13:40 Go to previous messageGo to next message
D@ Mick  is currently offline D@ Mick
Messages: 102
Registered: October 2007
Location: Belgium
Senior Member
I don't think that such a thing will ever come on the market. .Net is a component based framework that allows you to drag and drop components as grids, etc (if you don't want to code it all).
You just don't have anything like that natevly in PHP or even in RoR. You'll have to use JS libraries or just stick with html.
The only thing that would maybe work is creating an Eclipse plugin with a few possibilities to create/edit config files. But still, I think that's a bit 'over the top'. It would take me less time to edit them directly then going to the wright option window to edit them through a graphical UI.

You can't just compare .NET (VS) with other frameworks. Just read the nice documentation and you'll get their. Even with .NET you will be forced to read upon the subject if you want to create complex and professional applications.

Re: IDE for Symfony [message #47587 is a reply to message #45933 ] Tue, 11 March 2008 20:12 Go to previous messageGo to next message
rmzamora  is currently offline rmzamora
Messages: 5
Registered: March 2008
Location: Philippines
Junior Member

I think a better one would be a complete eclipse plugin, just like the one included on the new Zend Studio (Zend Framework) Symfoclipse is good but it lacks features. A full eclipse plugin will be very much helpful.

I'm new in using Symfony, My team uses a proprietary MVC framework. Since I cannot handle all the updates on our framework I decided to migrate all our current web application to a well supported open source PHP mvc framework. By far I fell in love with symfony... I has almost all the features we need plus the ease of use.

Cheers!!! Very Happy
Re: IDE for Symfony [message #47716 is a reply to message #45476 ] Thu, 13 March 2008 09:30 Go to previous messageGo to next message
skyblaze  is currently offline skyblaze
Messages: 205
Registered: January 2008
Faithful Member
i also agree for a complete/robust pdt plugin. I use pdt with symfoclipse and the debugger and it is great!
Re: IDE for Symfony [message #48550 is a reply to message #45476 ] Wed, 26 March 2008 12:59 Go to previous messageGo to next message
Notorious  is currently offline Notorious
Messages: 147
Registered: March 2007
Senior Member
Although the Eclipse plugin is great, I find it somewhat a hassle to perform some tasks. Code completion for core files is not available and in views there is little to none code completion as well.

Maybe developing a custom IDE for symfony would be great. I'll take a look if I can pull that off somehow.

The IDE should have at least:
  • Good YAML validator
  • Code completion for core files
  • Code completion in views
  • Code completion in deeper levels of objects (only one level down is supported in PDT Eclipse afaik)
  • Shortcuts to your own tasks (couple propel-build-model, build-sql, insert-sql and load-data in one task for example)
  • ...

I'll post a reply if I figure something out Smile Might be a good opensource project.
icon14.gif  Re: IDE for Symfony [message #48615 is a reply to message #45476 ] Thu, 27 March 2008 10:35 Go to previous messageGo to next message
windsurflove  is currently offline windsurflove
Messages: 35
Registered: October 2006
Location: Cyprus
Member
I am glad people are interested in making the experience of creating with Symfony faster and easier.

Perfecting code completion in IDEs supporting Symfony is a great start. I have used NuSpere's PHPEd and Zend Studio which will do code completion once you point them to the Symfony core files. This quite helpful.

But I think an IDE for Symfony could be even more powerful by being able to do code generation and provide wizards. This is already provided by Symfony in the form of the admin generators, we just need more of it. The wizard could guide you in generating your yaml files and putting them in the right place too.

I am well aware that this is not going to be much help to someone who has already been using Symfony for a year, read the manual, used most of the popular plugins etc, but for a beginner it would be very helpful. This way we could make Symfony more popular. And anyway Symfony is so big that one is always a beginner. I have been using it for almost a year now and have just read the chapter on caching and I can see it will take me another month to fully experiment with it and assimilate it. I am just looking for a way to smooth the learning curve. Razz
Re: IDE for Symfony [message #49682 is a reply to message #48550 ] Thu, 10 April 2008 21:11 Go to previous messageGo to next message
naholyr  is currently offline naholyr
Messages: 223
Registered: June 2007
Faithful Member
Eclipse PDT + Symfoclipse

Notorious wrote on Wed, 26 March 2008 12:59

  • Good YAML validator Symfoclipse has it
  • Code completion for core files Eclipse PDT has it, just configure your include path (add you symfony data and lib paths, and enable comments in propel.ini so that you can have full auto-completion with the model)
  • Code completion in views Eclipse PDT has it too, just as in every other PHP file
  • Code completion in deeper levels of objects (only one level down is supported in PDT Eclipse afaik) ??? If I configure include_path and if the doc-comments are well written, it works like a charm
  • Shortcuts to your own tasks (couple propel-build-model, build-sql, insert-sql and load-data in one task for example) Symfoclipse has it, but i prefer adding a custom task to Eclipse which simply runs "symfony {$prompt_string}" in {$project_loc}.
  • ...





No YAML wizards though, sfPlayground seemed to be a very good initiative for this, but it seems it's a dead-born project.

[Updated on: Thu, 10 April 2008 21:13]

Re: IDE for Symfony [message #79534 is a reply to message #45476 ] Sun, 07 June 2009 19:01 Go to previous messageGo to next message
jnm3  is currently offline jnm3
Messages: 1
Registered: April 2007
Junior Member
How about something like Recess! Tools! then.

That would be possible given the symfony framework.

I was thinking of adding a default database that would allow you to control the project or projects.

Built into the initial setup of symfony, it would already have an admin with a configuration section of defaults and a default database of mysql ( or maybe that could be a param on the setup cli) Recess Tools is very close to what I laid out. They added some great features like debugging. But I was only after a web based interface to the base files and defaults.

The hardest part for me is the syntax and the flow.

I don't have a lot of time or knowledge of symfony or oop. I just started working with symfony again.

Keep up the great work and my thanks.

Re: IDE for Symfony [message #80213 is a reply to message #45476 ] Fri, 19 June 2009 11:22 Go to previous messageGo to next message
confidential  is currently offline confidential
Messages: 4
Registered: December 2008
Location: ahmedabad
Junior Member
dear friends,

i personally have not tried but PHPEDIT (http://www.phpedit.com/en) does provide good plug-in for symfony and other few frameworks.

please see this video http://www.phpedit.com/en/presentation/videos/overview/symfo ny-extension

[Updated on: Fri, 19 June 2009 11:34]

Re: IDE for Symfony [message #86517 is a reply to message #45476 ] Mon, 12 October 2009 14:38 Go to previous messageGo to next message
tormit  is currently offline tormit
Messages: 7
Registered: December 2008
Location: Estonia
Junior Member
Netbeans 6.8 is coming with Symfony support.

http://blogs.sun.com/netbeansphp/entry/initial_symfony_suppo rt
Re: IDE for Symfony [message #88254 is a reply to message #86517 ] Thu, 12 November 2009 14:13 Go to previous messageGo to next message
tkoomzaaskz  is currently offline tkoomzaaskz
Messages: 101
Registered: February 2008
Location: Poland
Senior Member
Has anyone tried the NB plugin? Is it useful?


symfony-world blog
Re: IDE for Symfony [message #88613 is a reply to message #45476 ] Wed, 18 November 2009 02:43 Go to previous messageGo to next message
v.shu  is currently offline v.shu
Messages: 11
Registered: October 2009
Location: shandong,cn
Junior Member
i think a good yaml editor is necessary,i am new in symfony,and the yaml configs makes too many troubles for me,even now i find the problem i should check the config.
config is great for symfony,hope somebody can introduce a good yaml editor for me. Laughing
the IDE,it will be great! Laughing

[Updated on: Wed, 18 November 2009 02:45]

Re: IDE for Symfony [message #88625 is a reply to message #45476 ] Wed, 18 November 2009 10:27 Go to previous messageGo to next message
halfer  is currently offline halfer
Messages: 9535
Registered: January 2006
Location: West Midlands, UK
Faithful Member
There is a YAML editor in NetBeans, and it is set to improve on the new release with embedded PHP support.


Remember Palestine
Re: IDE for Symfony [message #88626 is a reply to message #88613 ] Wed, 18 November 2009 10:29 Go to previous messageGo to next message
tormit  is currently offline tormit
Messages: 7
Registered: December 2008
Location: Estonia
Junior Member
NetBeans has a great YAML editor. It warns you immediately when you have syntax error.
Re: IDE for Symfony [message #90489 is a reply to message #88626 ] Sat, 26 December 2009 20:02 Go to previous messageGo to next message
Kazuya  is currently offline Kazuya
Messages: 3
Registered: December 2009
Location: France
Junior Member
Hello,
+1 for NetBeans, it is an excellent IDE, and it support symfony perfectly in autocompletion and write yaml files, you can type shell commands in its interface, in short the most comprehensive Ides that I have tested without addition of any extensions. (but I have not tested eclipse and its extension symfoclipse)
For a complete IDE I had a preference for eclipse (for java development mainly) but now I think that netbeans is great for php development and symfony's projects (moreover, I feel its takes less time to start and seems to be faster to use than eclipse).


Hacker vaillant, rien d'impossible !!!
Re: IDE for Symfony [message #90518 is a reply to message #45476 ] Mon, 28 December 2009 09:48 Go to previous messageGo to next message
lightpriest  is currently offline lightpriest
Messages: 6
Registered: January 2009
Junior Member

I'm using native eclipse with the YAMLEditor plugin, PHP support and the Zend Debugger.
My symfony libs are located as a svn:external in the lib/vendor's folder so eclipse auto completes just fine. (Or in the path, if you like)
Since symfony sources are included in the project's path, the debugger finds them and able to debug them as well.

And for shell commands, well, I'm using a shell Smile

Haven't used symfoclipse but is sounds like it does the same tricks.

I've tried using NetBeans 6.8 (it does feel like it works faster) but right now I have no time to adapt to it, maybe later on.

[Updated on: Mon, 28 December 2009 09:48]

Re: IDE for Symfony [message #90648 is a reply to message #45476 ] Wed, 30 December 2009 13:32 Go to previous messageGo to next message
vovikdrg  is currently offline vovikdrg
Messages: 37
Registered: December 2009
Location: Ukraine
Member
check this one.
its not integrated with symfony yet. but who knows
http://www.jcxsoftware.com/vs.php


http://www.jcxsoftware.com/jcx/poll/frameworks

[Updated on: Wed, 30 December 2009 13:34]

Re: IDE for Symfony [message #91504 is a reply to message #45476 ] Fri, 15 January 2010 07:58 Go to previous messageGo to next message
vovikdrg  is currently offline vovikdrg
Messages: 37
Registered: December 2009
Location: Ukraine
Member
Now Vs.php is more better Smile it load all Record methods Smile

  • Attachment: vs.php.png
    (Size: 33.79KB, Downloaded 132 time(s))

Re: IDE for Symfony [message #91570 is a reply to message #91504 ] Sat, 16 January 2010 00:31 Go to previous message
lightpriest  is currently offline lightpriest
Messages: 6
Registered: January 2009
Junior Member

Since php does implicit casting, VS and other IDEs could only know the type of the variable by guessing it (from the method's signature, and from "$var = new Object" assignments).

Basically, Eclipse with PDT does that pretty good.
Previous Topic:A tuto or snippet on how embeding filer forms in the main filter form of the Admin Gen !
Next Topic:Combining symfony and php-gtk
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software