CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Using namespaces in CCS project

Print topic Send  topic

Author Message
asaavedra

Posts: 15
Posted: 03/26/2008, 2:44 PM

Hello everbody,

I'd like to know if it's good practice to use namespaces inside CCS projects. I want to increase readability of my own classes and avoid clashes with existing ones from CCS platform.

On the other hand I don't want to interfere with CCS classes.

Anyway, wheter I use namespaces or not, what is the best approach to use your own classes? Should I use some CCS include page? Or should I use some CodeCharge independent plain PHP files? Any advices?

Thanks in advance!

A. Saavedra
View profile  Send private message
asaavedra

Posts: 15
Posted: 03/26/2008, 2:56 PM

Hello again,

Well, I found an existing answer about including my own classes in CCS project (http://forums.codecharge.com/posts.php?post_id=57487). The official way seems to include it in Common.php.

However I don't have any clue regarding the namespace part. Anyone?

Regards,

A. Saavedra
View profile  Send private message

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.