| View previous topic :: View next topic |
| Author |
Message |
Martin Fousek Posted via mailing list.
|
Posted: Thu Aug 21, 2008 1:24 pm Post subject: PRADO Framework Support |
|
|
Hi,
I read about your ideas to create support for PRADO Framework into
NetBeans IDE.
I wanted to create this plugin into NB which should be my graduation
these. I read the specification on this webpage
http://www.pradosoft.com/wiki/index.php/PRADO_IDE_Requirements and there
are almost the same feature as I want to create. So here is a
possibility that I would make it.
The advantages are that I MUST finish my graduation these and I will
have in the summer half a lot of time reserved for work on it, so it
could be efficient then.
The disadvantage is that I would finish it in about a year (maybe in 10
months). So you would have to wait for it.
Unfortunately I can't work on it now, because I will have six months of
school and another tasks. So that if it's too long time for you, I would
have to choose another framework.
Regards
Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@php.netbeans.org
For additional commands, e-mail: users-help@php.netbeans.org
|
|
| Back to top |
|
 |
sonemonu
Joined: 15 Aug 2008 Posts: 8 Location: Cartagena / Colombia
|
Posted: Fri Aug 22, 2008 3:28 am Post subject: |
|
|
I think that you could make the version 2 of the plugin, maybe the visual drag and drop of the controls.
I think that we can't postpone this important project, but I repeat, would be great if you could make a version 2 of the plugin
Best regards,
--
Roger Padilla
|
|
| Back to top |
|
 |
Martin Fousek Posted via mailing list.
|
Posted: Fri Aug 22, 2008 9:42 am Post subject: PRADO Framework Support |
|
|
Yes, it's good idea. But I must demonstrate some part of my work at the
end of this half-year. So I must begin with it earlier than the plugin
will be created.
Perhaps I will try inquire about it in the school but I'm affraid, that
I shall have to begin with another framework.
Regards
Martin
sonemonu wrote:
| Quote: | I think that you could make the version 2 of the plugin, maybe the visual drag and drop of the controls.
I think that we can't postpone this important project, but I repeat, would be great if you could make a version 2 of the plugin ;-)
Best regards,
--
Roger Padilla
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@php.netbeans.org
For additional commands, e-mail: users-help@php.netbeans.org
|
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@php.netbeans.org
For additional commands, e-mail: users-help@php.netbeans.org
|
|
| Back to top |
|
 |
Petr Pisl Posted via mailing list.
|
|
| Back to top |
|
 |
Petr Pisl Posted via mailing list.
|
Posted: Mon Aug 25, 2008 2:18 pm Post subject: PRADO Framework Support |
|
|
I'm sorry, accidentally I have sent unfinished e-mail .
As next step I'm going to summarize, what can be done as a support of
this framework.
The wiki is not accessible, it has still technical problem, it looks
like it can't access the db server.
Thanks,
Petr
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@php.netbeans.org
For additional commands, e-mail: users-help@php.netbeans.org
|
|
| Back to top |
|
 |
sonemonu
Joined: 15 Aug 2008 Posts: 8 Location: Cartagena / Colombia
|
Posted: Tue Aug 26, 2008 3:14 am Post subject: |
|
|
Hi Petr,
I read the tutorial on your blog, this is going by a very good way!
I'm pretty sure that this will be so useful, but obviously this must be step by step.
The PRADO Wiki is accessible now
Thanks,
--
Roger Padilla
|
|
| Back to top |
|
 |
Petr Pisl Posted via mailing list.
|
Posted: Tue Aug 26, 2008 10:11 am Post subject: PRADO Framework Support |
|
|
Hi Roger,
| Quote: | Hi Petr,
I read the tutorial on your blog, this is going by a very good way!
| Thanks
| Quote: |
I'm pretty sure that this will be so useful, but obviously this must be step by step.
| You think, that it should be written as step by step tutorial? I will do
it in the next time :)
I have published another one and I think we can start to work on the
list of features, which can be done. Probably I need a help from experts
so correct me if I'm wrong and also add more rules to the list below.
1) For a .page file there is a .php file with the same name.
2) In the yyy.php file there can be only one definition of a class with
the name yyy and this class has to extends TPage.
3) The value of ID attribute in a <com:Txxx > tag in the yyy.page file
is a field in the corresponding yyy class in the yyy.php file.
4) The type of such field is Txxx
5) If there is a <com:Txxx element and has onclick attribute, then the
corresponding class has a method with name, which is value of onclick
attribute. This method has two parameters.
I'm sure that this is not all, but we need to start somehow.
Thanks,
Petr
Thanks
Petr
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@php.netbeans.org
For additional commands, e-mail: users-help@php.netbeans.org
|
|
| Back to top |
|
 |
knut
Joined: 20 Aug 2008 Posts: 4 Location: Oslo, NORWAY
|
Posted: Tue Aug 26, 2008 9:53 pm Post subject: |
|
|
| Quote: | | 1) For a .page file there is a .php file with the same name. |
Yes, but you can have page templates without having a page class so .php is optional.
| Quote: | 2) In the yyy.php file there can be only one definition of a class with
the name yyy and this class has to extends TPage. |
There is no restriction in PHP that require only one class definition in one file. Yes, the class have to extend TPage or a subclass of TPage.
| Quote: | | 3) The value of ID attribute in a <com:Txxx > tag in the yyy.page file is a field in the corresponding yyy class in the yyy.php file. |
The value of the ID-attribute of components declared in page templates will be properties of the page class. Like <com:TTextBox ID="Password"/> will typically be a property of the page class you can access with $this->Password.
| Quote: | | 4) The type of such field is Txxx |
All classes in PRADO is prefixed with T (for Type).
| Quote: | 5) If there is a <com:Txxx element and has onclick attribute, then the corresponding class has a method with name, which is value of onclick
attribute. This method has two parameters.
|
The parameters is $sender and $param, where $sender is a subclass of TControl and $param is a subclass of TEventParameter.
Additional notes:
- Template parsing is handled by TTemplate.
- In addition to having page templates (.page) you have template controls which is partly declared in .tpl-files. These controls need to have a .php file with code behind and the class need to extend TTemplateControl.
- See also Themes and skins
- See also Master and content
- If the plugin will know everything about what your project contains (i.e. all available services, pages, modules and possible namespaces etc), we can provide proper autocompletion of the application configuration file application.xml and the page configuration file config.xml
|
|
| Back to top |
|
 |
knut
Joined: 20 Aug 2008 Posts: 4 Location: Oslo, NORWAY
|
|
| Back to top |
|
 |
sonofsundz
Joined: 12 Sep 2008 Posts: 3
|
Posted: Fri Sep 12, 2008 2:08 pm Post subject: Autocompletion help for PRADO Framework |
|
|
Hi.
I'm still waiting for the new PRADO Framework pluging for Netbeans, and I'm trying to give some help... the thing is that I found a way to make some kind of Autocompletion for tpl and page files.
NetBeans has an option to let you create your own autocompletion stuffs for HTML (and I guess for other programing languages like PHP). This option is at Tools->Options->Editor->Code Templates->Language: HTML.
When you add a new Code Template for this language, there is a XML file that stores it. I found that file, and, helped by the Eclipse templates for PRADO, I could add the PRADO Template tags to HTML Code Templates in NetBeans.
Now, i can edit page and tpl files easier. Here is a attached zip file, containing the XML templates for NetBeans, the XML templates for Eclipse and a TXT file to help you find where to put the netbeans xml file with the templates.
| Description: |
Contains three files. - org-netbeans-modules-editor-settings-CustomCodeTemplates.xml, - templates_prado_for_eclipse.xml - README.txt |
|
 Download |
| Filename: |
NetBeans PRADO Templates.zip |
| Filesize: |
11.21 KB |
| Downloaded: |
252 Time(s) |
|
|
| Back to top |
|
 |
sonofsundz
Joined: 12 Sep 2008 Posts: 3
|
Posted: Sat Sep 13, 2008 2:33 pm Post subject: . |
|
|
...
Last edited by sonofsundz on Sat Sep 13, 2008 2:36 pm; edited 1 time in total |
|
| Back to top |
|
 |
sonofsundz
Joined: 12 Sep 2008 Posts: 3
|
Posted: Sat Sep 13, 2008 2:34 pm Post subject: Autocompletion help for PRADO Framework update |
|
|
Hi!. I've Updated the Autocompletion help for PRADO in NetBeans.
Here are the files again.
Good look.
| Description: |
| PRADO Autocompletion Update. |
|
 Download |
| Filename: |
NetBeans PRADO Templates.rar |
| Filesize: |
22.49 KB |
| Downloaded: |
308 Time(s) |
|
|
| Back to top |
|
 |
Petr Pisl Posted via mailing list.
|
Posted: Sat Sep 13, 2008 6:38 pm Post subject: PRADO Framework Support |
|
|
Thanks, for your work. I'm going to try it.
Petr
|
|
| Back to top |
|
 |
roderickz
Joined: 16 Oct 2008 Posts: 1 Location: South Africa
|
Posted: Thu Oct 16, 2008 5:41 am Post subject: Netbeans used as GUI for prado |
|
|
Does anybody know if Netbeans will be used a GUI with
prado components? something similar to Delphi for PHP and VCL4PHP?
|
|
| Back to top |
|
 |
Petr Pisl Posted via mailing list.
|
Posted: Thu Oct 16, 2008 10:12 am Post subject: PRADO Framework Support |
|
|
Hi,
we don't plan a GUI editor for NetBeans 7. But there will be available
a support for Prado for NetBeans 6.5. See
http://blogs.sun.com/netbeansphp/entry/first_screenshots_of_alfa_version
Regards,
Petr
| Quote: | Does anybody know if Netbeans will be used a GUI with
prado components? something similar to Delphi for PHP and VCL4PHP?
|
|
|
| Back to top |
|
 |
|