glerma
Posts: 56
|
Posted: 10/28/2005, 6:19 AM |
|
I code in php 4.x/5.x. I usually like to modularize any of my custom functions and classes that I built for various project into individual files.
--
I already know how to include them into my pages manually, however I would like Codecharge to have the ability to configure via the GUI some way to include them automatically into every new page that is generated. Much like the Common files already being included. Maybe Yes could add a widget in the GUI that allows you to add pages as "Custom Includes". Or perhaps we could right-click on the Common Files component within the Project Explorer with an 'Add File' option.
Whoever agrees with me, please post a reply so that we can bring this to the forefront!
Cheers!
George
|
|
|
datadoit.com
|
Posted: 10/28/2005, 8:22 AM |
|
Yes, like this idea.
|
|
|
mamboBROWN
Posts: 1713
|
Posted: 10/28/2005, 8:48 AM |
|
I definitely think that this would be a GREAT feature to have.
|
|
|
Walter Kempees
|
Posted: 10/28/2005, 9:13 AM |
|
yes YES
"glerma" <glerma@forum.codecharge> schreef in bericht
news:22436225648ad98@news.codecharge.com...
>I code in php 4.x/5.x. I usually like to modularize any of my custom
>functions
> and classes that I built for various project into individual files.
> --
> I already know how to include them into my pages manually, however I would
> like
> Codecharge to have the ability to configure via the GUI some way to
> include them
> automatically into every new page that is generated. Much like the Common
> files
> already being included. Maybe Yes could add a widget in the GUI that
> allows you
> to add pages as "Custom Includes". Or perhaps we could right-click on the
> Common Files component within the Project Explorer with an 'Add File'
> option.
>
> Whoever agrees with me, please post a reply so that we can bring this to
> the
> forefront!
>
> Cheers!
> George
>
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
Vasiliy
Posts: 378
|
Posted: 10/28/2005, 11:23 AM |
|
agree
_________________
Vasiliy |
|
|
feha
Posts: 712
|
Posted: 10/31/2005, 9:01 AM |
|
Hi Glerma
That would be great
Check my solution to this so far :)
http://forums.yessoftware.com/posts.php?post_id=64180
_________________
Regards
feha
www.vision.to
feedpixel.com |
|
|
Finian826
Posts: 29
|
Posted: 11/01/2005, 10:22 AM |
|
I agree, there should be something built in to CCS to support this.
|
|
|
glerma
Posts: 56
|
Posted: 11/02/2005, 8:31 AM |
|
Quote feha:
Sweet!
|
|
|
andreashorn
|
Posted: 01/08/2006, 12:50 AM |
|
Hi YesSoftware,
my wish is to have an include to expand classes (example in php5)
class class01
{
public $var1;
// start of class extension for new vars and new functions
@include("myclass1extension.php");
// end of class extension for new vars and new functions
function function01
{
// and so on
}
// and so on
}
So I think I take my class extension php file after a new project creation in the path and my inheritance works fine in my new project. This is my wish for YesSoftware to take it in the GUI.
|
|
|
adgreen
Posts: 27
|
Posted: 02/19/2006, 3:48 AM |
|
I'm adding my vote to this as well.
I think though that this "feature" needs some careful thought to implement. It would obviously need to be set up as a project level preference, that perhaps extends a global level preference (some of us have libraries of code). But the actual success of file inclusion can be highly dependant on when it is done during page processing, as your included code may have dependancies, or may may need to execute at a particular stage. However it's done, I think also that the ability to be able to harmoniously "add on" to the existing code (including templating code) that is supplied with CCS would be an important addition to the product. A more novice-friendly CCS automation API and promotion of user creatable Extensions (think Dreamweaver) to the product may be a good thing. Being sold on the product, that's what I'd like to see sometime.
|
|
|