Home
Open Source Matters
- Details
Open Source Projects
Throughout the years I have contributed to many open source projects. Some of my favorites are: Joomla, WordPress, Asterisk, FreeSwitch, BlueBox, HLStats, CounterStrike (when it was a mod) and many others. The best thing about open source is the ability to fix and change the code as needed and to contribute to the project. The only dark side to open source is when an open source project gets moved into a commercial project and the open source project becomes obsolete.
What is Open Source
The term open source describes practices in production and development that promote access to the end product's source materials. Some consider open source a philosophy, others consider it a pragmatic methodology. Before the term open source became widely adopted, developers and producers used a variety of phrases to describe the concept; open source gained hold with the rise of the Internet, and the attendant need for massive retooling of the computing source code. Opening the source code enabled a self-enhancing diversity of production models, communication paths, and interactive communities. Subsequently, the new phrase "open-source software" was born to describe the environment that the new copyright, licensing, domain, and consumer issues created.
The open source model includes the concept of concurrent yet different agendas and differing approaches in production, in contrast with more centralized models of development such as those typically used in commercial software companies. A main principle and practice of open source software development is peer production by bartering and collaboration, with the end-product, source-material, "blueprints", and documentation available at no cost to the public.
What does this mean to you?
For the most part it means you can get some top quality software for free. Considering you know enough about computers and what you are setting up to make it all come together and work correctly and securely. This is where people like us will dive right in to help you further your company, business, education. Currently a few of us sit in IRC chat and help people configure their software and getting running. We also offer this service for a fee for a more personalized and custom setup. rates are reasonable and if we install it we support it!
Joomla CMS
- Details
Joomla CMS
Joomla is an award-winning content management system (CMS), which enables you to build Web sites and powerful online applications. Many aspects, including its ease-of-use and extensibility, have made Joomla the most popular Web site software available. Best of all, Joomla is an open source solution that is freely available to everyone.
What's a content management system (CMS)?
A content management system is software that keeps track of every piece of content on your Web site, much like your local public library keeps track of books and stores them. Content can be simple text, photos, music, video, documents, or just about anything you can think of. A major advantage of using a CMS is that it requires almost no technical skill or knowledge to manage. Since the CMS manages all your content, you don't have to.
What are some real world examples of what Joomla! can do?
Joomla is used all over the world to power Web sites of all shapes and sizes. For example:
- Corporate Web sites or portals
- Corporate intranets and extranets
- Online magazines, newspapers, and publications
- E-commerce and online reservations
- Government applications
- Small business Web sites
- Non-profit and organizational Web sites
- Community-based portals
- School and church Web sites
- Personal or family homepages
Open Source
- Details
Open Source
Open Source ProjectsOpen Source Contributor
Donation of Services
Customization of Open Source
Working with more then one web.config files in asp.net application.
- Details
Recently one of reader of my blog how we can work with more then one web.config files in asp.net application. So I decided to blog about that. Here is the my reply for that.
You can work with more then one web.config file in asp.net. But you can not put more then one web.config in each folder. Let’s first understand the hierarchy of web.config and other configuration file settings. On the top of the every configuration files you will have machine.config file which will have all system wide configuration settings.You can find this file in your OS drive like C: /windows/Microsoft.NET/vFrameworkNumber/Config folder. Here framework number with what ever framework you are using 1.1/2.0 or 4.0. You can override those settings in web.config file at the your application root folder. Same way you can add more web.config file in subfolder and can override the setting of parent folder web.config file. So we will hierarchy like below.
Now let’s Create Project for it. In that I have create two web.config and 2 pages. First I have putted the web.config in root folder and then I have putted web.config in subfolder. Same way I have created a sub folder and then I have putted the web.config in sub folder. I have also putted one asp.net page in root as well as subfolder to use respective web.config settings. Here are my folder structure like below.
Below is code for root folder web.config
<?
xml
version
=
"1.0"
?>
<
configuration
>
<
system.web
>
<
compilation
debug
=
"true"
targetFramework
=
"4.0"
/>
</
system.web
>
<
appSettings
>
<
add
key
=
"root"
value
=
"This is from root web.config"
></
add
>
<
add
key
=
"MySetting"
value
=
"This my settings is from root web.config"
></
add
>
</
appSettings
>
</
configuration
>
and following is code for sub folder web.config.
<?
xml
version
=
"1.0"
?>
<
configuration
>
<
system.web
>
</
system.web
>
<
appSettings
>
<
add
key
=
"sub"
value
=
"This is from sub web.config settings"
></
add
>
<
add
key
=
"MySetting"
value
=
"This my settings is from sub folder web.config"
></
add
>
</
appSettings
>
</
configuration
>
After that I have written a code in root asp.net page to print settings from web.config folder like this following.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace MoreWebConfig
{
public partial class Root : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Response.Write(System.Web.Configuration.WebConfigurationManager.AppSettings.Get("Root"));
Response.Write("");
Response.Write(System.Web.Configuration.WebConfigurationManager.AppSettings.Get("MySetting"));
Same way I have wrriten code in subfolder like following.
using
System;
using
System.Collections.Generic;
using
System.Linq;
using
System.Web;
using
System.Web.UI;
using
System.Web.UI.WebControls;
namespace
MoreWebConfig.SubFolder
{
public
partial
class
SubFolderPage : System.Web.UI.Page
{
protected
void
Page_Load(
object
sender, EventArgs e)
{
Response.Write(System.Web.Configuration.WebConfigurationManager.AppSettings.Get(
"Sub"
));
Response.Write("
");
Response.Write(System.Web.Configuration.WebConfigurationManager.AppSettings.Get(
"MySetting"
));
}
}
}
Now let’s run the both pages in browser one by one and you can see root folder application page is fetching settings from root folder web.config while sub folder application page is fetching setting from subfolder web.config even if key ‘mysetting’ is same on both as expected. You can see out put in browser below.
Root.aspx
SubFolderPage.aspx
So it’s very easy to work with multiple web.config. The only limitation of this you can not access sub folder web.config settings from root folder page. Except all you can use anything. Hope you liked it. Stay tuned for more..Happy programming..
Page 39 of 40