X

An Oracle blog about NetBeans for PHP

  • News
    October 16, 2008

First screenshots of alfa version of Prado Support

Today I want to show a few screenshots of Prado support in NetBeans. At the beginning I want to answer question "Why are you creating Prado support when Symfony had much more votes?". I started to work on Prado support a few weeks before we anounced the voting. The main reason why I started to work on this was that I need to create a prototype of a framework support to recognize, what changes we need to do in our infrastructure to write a framework suport, which API's are sufficient, which has to be extended or created, what is missing etc. Basically it's proof of concept.  I concentrate on editor area, which I think is the most important. At the time when I started to think about this by chance few people from Prado comunity wrote same requests to the users@php.netbeans.org  mailing list. Due luck of time, I'm not able to work on this regularly, it's my "midnight" project - I work on this usually from 11 pm to 2 am once or twice a week.

The first screenshot shows that page files are recognized as a special type files. Has different icon then php files, syntactic and semantic coloring works for php parts, template control, folding, navigator, basically everything should work as you know for php files.

The code completion for template control arguments. 

The code completion for Prado components.

The code completion  for component attributes.

Next two screenshots shows code completion for php in the page files.

And the last screenshot shows errors annotation from php code. 

I need to work more to get the support to be ready to publish first alpha and I hope it will be soon.

Join the discussion

Comments ( 48 )
  • dbazza Thursday, October 16, 2008

    Great! I need this! Prado is a great framework!

    Working with Prado and Netbeans I've made a php script (and a netbeans simple module to call this script from the IDE). The script:

    1 - add function declarations in 'name.php' corresponding to the event declarations in component tags from 'name.page';

    2 - add doc comments in 'name.php' from components defined in 'name.page' like:

    /\*\*

    \* @property TListBox FirstID

    \* @property TDropDownList SecondID

    ...

    to have autocomplention in 'name.php' file.

    It works. If somebody find this useful:

    http://web.tiscali.it/diegobazzanella/pageSync.php

    http://web.tiscali.it/diegobazzanella/pageSync.zip

    My blog about this (in italian):

    http://dbazza.blogspot.com/2008/10/supporto-del-framework-php-prado-in_16.html


  • Giuliani Sanches Thursday, October 16, 2008

    Prado future is obscure.

    Qiang, the author of this framework, has release yii framework and is working on it.

    More info:

    http://www.pradosoft.com/forum/index.php/topic,11022.0.html

    http://www.yiiframework.com


  • Michele Thursday, October 16, 2008

    So no Symfony support in Netbeans in the near future??? :-(


  • Petr Thursday, October 16, 2008

    Hi,

    To Giuliani: Thanks for this. I have to admit that I haven't known it. On the other hand I looked through the thread and the yii pages and yii is in beta. Anyway thanks for pointing this out.

    To Michele: Why do you think that there will not be Symfony support in the near future? I'm going to look at the Symfony soon. Just stay tuned,

    Thanks,

    Petr


  • Ali B. Thursday, October 16, 2008

    I'm curious, did the framework support require core modification? If so, are these modification framework specific? I am asking to see if there's a possibility for someone to write a module that implement the support for another framework or a template engine for example.


  • Giovanni Friday, October 17, 2008

    Looks awesome!! Nice job!

    I like also the small details like the prado logo in the completion box

    Having similar support also for other frameworks will make Netbeans -THE- php ide!


  • Giuliani Sanches Friday, October 17, 2008

    Yii is in alpha version. Beta will be released next week (as Qiang has noticed in yii forums).

    Maybe we will get a yii stable at end of this year.


  • Petr Friday, October 17, 2008

    Hi Ali B.,

    >I'm curious, did the framework support require

    >core modification? If so, are these modification

    >framework specific? I am asking to see if there's

    >a possibility for someone to write a module that

    >implement the support for another framework or a

    >template engine for example.

    I had to do some modification in the core, but there are not Prado specific. There will be useful for other framework supports as well. So write support for other framework is possible. This was the main my goal to find out, what is missing to write a framework support.

    For NetBeans 7 we plan to do more apis to write support easier.

    Regards,

    Per


  • Ali B. Friday, October 17, 2008

    @Giovanni: NetBeans is already THE php ide :)

    @Petr: That would be great!


  • Qiang Xue Saturday, October 18, 2008

    Hi Petr,

    This looks really nice! Thank you for the great work!

    Yii comes up by inheriting many classes from Prado and solving its performance issues so that it can reach broader audience.

    The template syntax of Yii is based on PHP and is extensible. As a matter of fact, notzippy already developed an extension which allows to write Yii templates using the Prado syntax. That means, your work will continue to be useful for the Yii community.

    At the same time, we will still maintain the Prado framework, as we definitely see many people like it.

    Again, thank you for your work!


  • Kevin Saturday, October 18, 2008

    Hi Petr,

    This looks great! I can't wait to see how symfony support will turn out!

    Kevin


  • rojaro Friday, October 31, 2008

    Want! ;-)


  • Roger Padilla Saturday, November 1, 2008

    This look really very nice!

    I want use this asap.

    Best regards,

    Roger


  • mp Sunday, November 2, 2008

    Really great.

    Thank you Peter.

    Do you have any schedule for this - how much is there still to be done.

    How can we help?

    Ragards


  • Petr Monday, November 3, 2008

    Hi mp,

    I don't have a plan for this. I can work on the Prado support only when I have free time. I will try to prepare a first build of the support during two or free weeks. I hope that I will find more time to do it. When the build will be ready, everybody can test it.

    Regards,

    Petr


  • kampre Sunday, November 9, 2008

    Awesome!!


  • slackdna Sunday, November 9, 2008

    nice, thx for the work petr

    and prado definitely still has it's future!


  • L34ndr0 Wednesday, November 12, 2008

    You are a genious !congratulations!!!!


  • Fenza Diego Monday, November 17, 2008

    Wow...How much we still have to wait to use this wonderful tool?


  • ashwebi Tuesday, December 2, 2008

    This is gr8 to know about pardo support in netbeans.I love to see some support for cms like joomla and Drupal.


  • ashiwebi Tuesday, December 2, 2008

    Sorry for wrong writing it is prado not pardo.


  • bassem Tuesday, December 2, 2008

    i hope to dwomload this tool

    any body have the link to download this tool for prado framework


  • Petr Wednesday, December 3, 2008

    Hi Bassem,

    I haven't publish any version of this yet. I still need to spend some time on this. I'm sorry.

    Regards,

    Petr


  • Petr Wednesday, December 3, 2008

    To ashiwebi:

    I don't know about a plan to support joomla. But there is project for supporting Drupal. See https://nbdrupalsupport.dev.java.net/ . I'm not involved in this project, so let me know, how it works.

    Regards,

    Petr


  • anli Thursday, December 4, 2008

    BTW, Yii is already released. Saying more common, I'd see more logical for Petr (and all the NB-PHP developers and contributors) to try find something interesting for efforts applying to common PHP support rather to support any particular framework (especially based on votes which never were a reflection of real quality :-) ).

    Thanks for the NB-PHP tandem!


  • bassem Friday, December 5, 2008

    any body can help

    and provide me dwonload link


  • Petr Sunday, December 7, 2008

    Hi Bassem,

    there is no download link yet. I need at first fix some issues.

    Thanks,

    Petr


  • David Ruiz Wednesday, December 10, 2008

    Hi,

    Can you share this "alpha" version of prado plugin for netbeans?

    Thanks,

    David


  • Petr Thursday, December 11, 2008

    To David,

    I would try to fix the main problems this weekend and then publish the alfa version.

    Regards,

    Petr


  • Roger Padilla Monday, December 15, 2008

    Hi Petr,

    We understand that you should be very, very busy, but could you please tell us if there will be some improvements to the plugin in the future, how much far is that future?

    Thanks,

    Roger


  • Petr Monday, December 15, 2008

    Hi Roger,

    I spend a few hours on this during weekend. I can provide what I have, but I'm afraid that is not good enough, because sometimes I still get some exceptions. I'm working on this.

    Thanks for your patience,

    Petr


  • Arthur Monday, December 22, 2008

    Hi Petr

    Thank you for your time and effort concerning this Prado plugin.

    Any release date scheduled (even estimation) ? Is there any version that we can already download and play with ?

    Best regards.

    Arthur.


  • Arthur Monday, January 5, 2009

    Hello Petr,

    is this project dead ?

    Any chance to see it done one day ?

    Best reagards.

    Arthur.


  • Diego Tuesday, January 6, 2009

    I hope that this project is not really dead!


  • Petr Wednesday, January 7, 2009

    Diego, this project is not really dead:). I'm just extremely busy. I need to find out free time to get it at least in beta shape. I would like to do it asap.


  • Arthur Wednesday, January 7, 2009

    Good to hear from you Petr.

    Thank you a lot in advance.

    God (any) bless you :-)


  • Arthur Friday, January 9, 2009

    Hello Petr,

    sorry to disturb you but I need to give a specification for an Prado environnement development at the end of next week. Do you think that you may have time in between to achive you Prodo for Netsbeans 6.5 support ?

    We really terribly need these to convince the project manager to accept our whole vision of the project and we get in kind of rush.

    I know you are really busy these days but could you try to take a few hours this week-end to try to deliver some rc1 so that at least we can start making demo to our customers.

    Thanks again for your hard work.

    You're the Man and we are all behind you (praying for you to have some time for this gift to the Prado community.

    Love.

    Arthur.

    PS : can you give any ETA please when the plugin will be available and dowloadeable ?


  • Petr Monday, January 12, 2009

    Hi Arthur,

    I'm now traveling, but last night I built the bits for NetBeans dev builds. I'm going to write and publish this bits today.


  • Petr Monday, January 12, 2009

    The link to download the first version is here:http://blogs.sun.com/netbeansphp/resource/other/org-netbeans-modules-php-prado-001.nbm . The entry is coming today night. The module is for NetBeans dev builds, which you can download from NetBeans site. It's not targeted for NB 6.5.


  • Arthur Monday, January 12, 2009

    Thank you very much Petr.

    We will look at it tonight.

    Best regards.

    Arthur

    PS : you are great.


  • Roger Padilla Tuesday, January 13, 2009

    Thanks a lot Petr, I'm going to publish this very good news on the PRADO forum and to test it asap.

    Best regards,

    Roger Padilla


  • Petr Tuesday, January 13, 2009

    Hi Roger,

    how to use the nbm file is described in my recent post http://blogs.sun.com/netbeansphp/entry/the_first_alpha_version_of .


  • Jonas Wednesday, January 14, 2009

    I Love it!


  • thegyi Thursday, January 15, 2009
  • links of london Thursday, October 29, 2009

    It was a very nice idea! Just wanna say thank you for the information you have shared. Just continue writing this kind of post. I will be your loyal reader. Thanks again.


  • Syed Zeeshan Shah Friday, June 25, 2010

    Well its netbeans 6.9 now and the files are obsolete. Can some one make a better version of prado support for netbeans 6.9? I really like this framework.


  • hasi Tuesday, March 22, 2011

    Anything related to Prado seems dead. It's because Prado core team left it behind.


  • hasi Thursday, May 12, 2011
    I really love the way Prado to create application, it's different from other. So when this Alpha become that Stable?
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.