CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Code Templates/Adding new server side actions

Print topic Send  topic

Author Message
jstuart


Posts: 26
Posted: 01/12/2004, 6:02 AM

Once long long ago back when CC FIRST came out, we were promised that shortly after it came out, we would be able to create our OWN code languages. IE replace the PHP 4 code with say PHP code using Pear::DB, etc. That's yet to happen. ANY plans on releasing this stuff soon?

As a follow up to that, any plans on creating a PHP 5 language? PHP 5 will be released soon.

Finally, I have a number of server side custom code snippets that I'm starting to use over and over. While I've factored them into functions, it would be NICE if I could create a new server side action for this code. For example, I have code that handles multi select lists and check boxes by imploding before storing into the DB and then exploding upon viewing.
_________________
Jeff Stuart
jstuart@computer-city.net
View profile  Send private message
peterr


Posts: 5971
Posted: 01/12/2004, 8:26 PM

I cannot comment on your first question, although this always was and is a possibility for the future, possibly by end of year. However, we don't see as much interest in such functionality as we would like to, for example there is lack of multiple online communities of users sharing simpler CC/CCS components like Actions, Wizards/Builders and examples. Creating new code generation patterns is much more complex and could take months of solid programming.
Although we'd like to work on this (an SDK), we treat other frequently requested CCS features as our main priority.

The PHP generated by CodeCharge Studio is PHP5 compatible. Any new issues will be fixed on ongoing basis as usually.
Of course we could take advantage of the new PHP 5 features, however the result could look similar to our Java or .NET code, while most people choose PHP because they prefer the simplicity of a non-OO scipting language. We're currently experimenting with PHP 5 but probably won't be releasing anything PHP5-specific until we see how the general PHP community wraps their hands around this new technoglogy, what new PHP frameworks are created, etc.
Even on PHP5 forums we can see many poeople pointing out that if PHP5 becomes so similar to Java, they may switch to Java just as well.

Have you tried copying and customizing Actions? Although not documented, we have heard from several users who have created new Actions based on the existing ones. You may need a little knowledge of XSL, just like you would need when creating a full new code language.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
jstuart


Posts: 26
Posted: 01/13/2004, 7:58 AM

Quote peterr:
I cannot comment on your first question, although this always was and is a possibility for the future, possibly by end of year. However, we don't see as much interest in such functionality as we would like to, for example there is lack of multiple online communities of users sharing simpler CC/CCS components like Actions, Wizards/Builders and examples. Creating new code generation patterns is much more complex and could take months of solid programming.
Although we'd like to work on this (an SDK), we treat other frequently requested CCS features as our main priority.

That's a a shame and I do understand that decision. :( I would personally like to see your PHP code start to move over to using some of the Pear functions. Specifically, it would be nice to see the DB code using Pear::DB and the templating code using Smarty. I've never been 100% comfortable with you folks using/deriving the code from PHPLIB. PHPLIB is nice but also quite old now. :)

Quote peterr:
The PHP generated by CodeCharge Studio is PHP5 compatible. Any new issues will be fixed on ongoing basis as usually.
Of course we could take advantage of the new PHP 5 features, however the result could look similar to our Java or .NET code, while most people choose PHP because they prefer the simplicity of a non-OO scipting language. We're currently experimenting with PHP 5 but probably won't be releasing anything PHP5-specific until we see how the general PHP community wraps their hands around this new technoglogy, what new PHP frameworks are created, etc.
Even on PHP5 forums we can see many poeople pointing out that if PHP5 becomes so similar to Java, they may switch to Java just as well.

Hmm... interesting is all I'll say. Hehe

Quote peterr:
Have you tried copying and customizing Actions? Although not documented, we have heard from several users who have created new Actions based on the existing ones. You may need a little knowledge of XSL, just like you would need when creating a full new code language.

No actually I haven't cause I didn't know I COULD do that. *THWAP* *chuckle* It may be a good idea for you to actually document this stuff and then I think you'll start to see the trading/selling of addon CCS componenents as you mentioned above.
_________________
Jeff Stuart
jstuart@computer-city.net
View profile  Send private message
jstuart


Posts: 26
Posted: 01/13/2004, 7:59 AM

Quote Sixto Luis Santos:
Hey Jeff,

There are some custom extensions (with background info) at
http://www.rexdesign.com. In fact, I just uploaded a new custom server
action this morning to manage synchronized (dependant) listboxes. The
discussion in the forums there is a little more elevated as some of the
users are hardcore CCS developers.

The dependant listboxes action is a bit complex, but my other actions
(client-side validation for credit card, an action to refresh pages at set
intervals) are somewhat easier to follow.

Regards,

Sixto

Thx for the pointer Sixto! I"m there now!
_________________
Jeff Stuart
jstuart@computer-city.net
View profile  Send private message
Sixto Luis Santos
Posted: 01/13/2004, 9:13 AM

Hey Jeff,

There are some custom extensions (with background info) at
http://www.rexdesign.com. In fact, I just uploaded a new custom server
action this morning to manage synchronized (dependant) listboxes. The
discussion in the forums there is a little more elevated as some of the
users are hardcore CCS developers.

The dependant listboxes action is a bit complex, but my other actions
(client-side validation for credit card, an action to refresh pages at set
intervals) are somewhat easier to follow.

Regards,

Sixto


"jstuart" <jstuart@forum.codecharge> wrote in message
news:24002a9ec099d8@news.codecharge.com...
> Once long long ago back when CC FIRST came out, we were promised that
shortly after it came out, we would be able to create our OWN code
languages. IE replace the PHP 4 code with say PHP code using Pear::DB, etc.
That's yet to happen. ANY plans on releasing this stuff soon?
>
> As a follow up to that, any plans on creating a PHP 5 language? PHP 5
will be released soon.
>
> Finally, I have a number of server side custom code snippets that I'm
starting to use over and over. While I've factored them into functions, it
would be NICE if I could create a new server side action for this code. For
example, I have code that handles multi select lists and check boxes by
imploding before storing into the DB and then exploding upon viewing.
> _________________
> --
> Jeff Stuart
> jstuart@computer-city.net
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

Dave Rexel
Posted: 02/01/2004, 7:30 AM

WE'RE MOVING !!!

The rexdesign site has been down since jan 27 due to our host having a
black-out related to domain renewal...

As the CCS Tutorials is important to us and recent breakthroughs (Sixtos
plugin) in utilising CCS require a stable platform we are moving the content
related to Code Charge Studio to the Foundry machine at
http://ccs.ath.cx/~ccs/Default.php.

The process has started with the forums at already in place here (the
rexdesign forum has been disabled), now for the tricky part, moving the
Tutorials and changing all links in the db-tables. Until the tables are
re-written the Tutorials will remain at rexdesign. We apologise for the
inconvenience.

Dave

"jstuart" <jstuart@forum.codecharge> wrote in message
news:2400415f495fa4@news.codecharge.com...
>
Quote Sixto Luis Santos:
> Hey Jeff,
>
> There are some custom extensions (with background info) at
> http://www.rexdesign.com. In fact, I just uploaded a new custom server
> action this morning to manage synchronized (dependant) listboxes. The
> discussion in the forums there is a little more elevated as some of the
> users are hardcore CCS developers.
>
> The dependant listboxes action is a bit complex, but my other actions
> (client-side validation for credit card, an action to refresh pages at set
> intervals) are somewhat easier to follow.
>
> Regards,
>
> Sixto
>
>
> Thx for the pointer Sixto! I"m there now!
> _________________
> --
> Jeff Stuart
> jstuart@computer-city.net
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.