Omgili - forum search, search forums  
  

Discussions about global config

Displaying 1 - 10 out of 6,038 discussions.  
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
I've read many times and agree with avoiding the use of globals to keep code orthogonal. Does the use of the config file to keep read only information that your program uses similar to using Globals?
Started by on , 7 posts by 7 people.  
Config files should is the read+write scenario....
If you're using config files in place of globals, then yes, they are similar.
Have a global variable that refers to a config object, and that would be defeating the purpose.
I'm in the process of evaluating the benefits of Zend_Config_Ini versus using a simple constant file. e.g. - define('DB_HOST',localhost); //versus $config = new Zend_Config_Ini('/path/to/config.ini', 'staging'); echo $config->database->params->...
Started by on , 4 posts by 4 people.  
The main advantage of using the Registry with a config is to avoid polluting the global in your application going to know how to read your global config? Zend_Config has already "solvedA nice advantage....
When needed).
Hi all, This problem has several of us stumped in the office. We are all new to deploying ASP.NET apps to a web farm, and I am fresh out of ideas. We have a web farm, and the application is copied on to all of them. However, we are having a problem.. ...
Started by on , 4 posts by 3 people.  
This file....
Server Machine.config: The Machine.config file contains the ASP.NET schema for all of the Web applications on the server .
Maybe this could help understanding which settings overwrite each other .
This is the hierarchy for ASP.NET configuration.
Ask your Facebook Friends
I have a program that I use on several sites. It uses require('config.php'); to set any site dependant variables like mysql connect info, paths, etc. Let's say that I use one of these site-dependant variables in a function, like $backup_path . This variable...
Started by on , 8 posts by 8 people.  
Even then it's good to check that the global ....
Function makebackup application only, and for $backup_path only, then maybe consider the global alternative.
I'm think you must use Singleton of Factory class config for this purposes.
Consider the following class: class Something : ISomething { public void DoesSomething(int x) { if (x == 0) { x = 1; } } } I want to of course remove the magic number - my unit tests are passing etc... but I want to refactor the horrible magic number ...
Started by on , 4 posts by 4 people.  
Should avoid putting it in your config file, otherwise you will end up programming in xml ;) Using MyOldMagicNumber { get; } } Then have two implementations of this, one for production that reads from the config 87; /*Or whatever you want....
What is the differnce b/w webconfig and machine config
Started by on , 6 posts by 6 people.  
Next is machine.config , which is the....
There is a hierarchy of config files: applicationHost.config is the top-level IIS config file.
Machine.config is a global configuration file containing default settings at machine level which.
02. Installing Joomla! Video 2: Global Config
Started by on , 1 posts by 1 people.  
How do I access global config variable How do I access global config variable Hi, i am trying to access a global config variable called url_main. I created a .js file and referenced it byt when I try Mob2.url_main it comes up undefined (Mob2 is the app...
Started by on , 6 posts by 2 people.  
Answer Snippets (Read the full thread at sencha):
Code: Ext.define('Mob2.Config', { singleton : true, config property 'main' of undefined What do....
Myurl.com.au Mob2.url_main wont work since you are declaring a global variable(assuming url_main a Ext.define as suggested in t his p ost.
Hi, Can you please help me if below can be done. Is there a way we can mention all the global variables in a config file and read that file on onstart up process and assign the values to the global variables defined in the BW code. We have about 200+ ...
Started by on , 2 posts by 2 people.  
This can be useful if only a few out of a large number of global variables.
- Specify a value the AppManage utility.
The local value takes precedence over any global value.
The tibco.clientVar.varname property.
Hello, Joomla 1.7.3 Linux I just moved this site to another host and am having many issues that I'm trying to tackle one at a time. Right now: COM_CONFIG_GLOBAL_CONFIGURATION When I log into the global config area everything is in capital letters and ...
Started by on , 5 posts by 4 people.  
Answer Snippets (Read the full thread at joomla):
You....
If you still have the original consider deleting the files on your new server and use Akeeba to move your site http://docs.joomla.org/Copying_a_Joomla_website Thanks for the quick reply .
You have missing files or have moved them to the wrong place .
Page: 1   2   3   4   5   6   7   8   9   10  

Related Message Boards & Forums

  • Stack Overflow
  • TIBCO - Toolbox for IT Groups
  • Joomla! • Installation Joomla! 2.5 / Joomla! 1.7
  • Một Góc Nhỏ • Diễn Đàn
  • Sencha Architect 2.x: Help & Discussions
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost