plainblack.com
Username Password
search
Bookmark and Share

    

Recommended Development Environment

User TheSeparator
Date 6/15/2009 2:08 am
Views 649
Rating 0    Rate [
|
]
Previous · Next
User Message
TheSeparator

In the next months I intend to create Workflow Activities and possibly more.

Before I start my work, could you please recommend some development tools and strategies.

Coming from Windows, I am primarily looking for a debugger and options for remotely creating/updating my work to a CentOS WebGUI site.

Looking forward to your experiences.

Best Regards,

TheSeparator



Back to Top
Rate [
|
]
 
 
dapperedodo

 I use Komodo now for WebGUI development. It is paid software, but very friendly to set up. It has a perl debugger inside and works on Windows, Mac an Linux.

I also have some experience with Eclipse. Eclipse is free and works very good.... when you manage to configure it right (that took some time).

At last there is always the good old VI (or whatever text editor with code highlighting) and commandline perl.

 

Joeri de Bruin

Oqapi  Oqapi Open Source Web Development  Oqapi



Back to Top
Rate [
|
]
 
 
TheSeparator

Hallo Joeri,

Thank you for your advice. As I already used Komodo before, I installed the "Remote Debugging" package on the WebGUI server. I can now succesfully debug normal .pl code remotely from the Windows machine.

Connecting to WebGUI files is probably something else. Instructions from ActiveState include modifications to the httpd.conf file, but this part of the Apache server is heavily customized for WebGUI.

As said in the initial post, it currently concerns a .pm package containing a very simple Workflow Activity. The package has been installed, assigned to a Workflow and the scheduler runs the Workflow without reporting problems.

Debugging code running under mod_perl/WebGUI is very different from debugging "plan vanilla" Perl. Can you confirm from your experience that it is feasible to debug the Perl code that I wrote/installed under WebGUI ?

Thank you for your time,

TheSeparator

 

 



Back to Top
Rate [
|
]
 
 
dapperedodo

For debugging I use the build in errorhandler from WebGUI. In the code I use:

$session->errorHandler->warn('###'.$varIWantToTrack);

This will show up in the /data/wre/var/logs/webgui.log. (If you have 'log4perl.logger = WARN, mainlog' in your '/data/WebGUI/etc/log.conf'). I use the '###' to highlight my debugging code from other warnings, no magic about that.

  

Joeri de Bruin

Oqapi  Oqapi Open Source Web Development  Oqapi



Back to Top
Rate [
|
]
 
 
TheSeparator

This all works nicely now. I can see the values and messages in the log. I have the API browser going, the Apache2::Reload instruction in the .conf, interesting times ahead. 

Meanwhile I have ordered the dev book from PlainBlack, hope it will arrive soon.

Smile Thanks,

TheSeparator

 

 

 



Back to Top
Rate [
|
]
 
 
    



© 2010 Plain Black Corporation | All Rights Reserved