• Home
  • Services
  • Writing Services
  • Join Joomla Club
  • Products
  • Request Quote
  • Blog
  • About Us
  • Contact Us
Sep

07

Use of Dictionary in C#

Filed Under (Uncategorized) by Ramin on 07-09-2009

“Dictionary”, the name proves the way of it works. In array we save data one after another and while accessing them we need to put the index and get the appropriate data. In dictionary data is saved with a key value. Dictionary accepts data with a key and while getting data from dictionary the key is provided and the data is fetched.

Example: Suppose 10 employees are there. However the employee will be selected and instantly his/her city is to be displayed. In dictionary we will set ID of the employee as key and the city of the employee as value like following:

Dictionary<int, string> dicEmp = new Dictionary<int, string>();
dicEmp.Add(1, “Kolkata”);
dicEmp.Add(2, “Mumbai”);
dicEmp.Add(4, “Bangalore”);
dicEmp.Add(5, “Delhi”);

In this way the values are saved into dictionary. Please mind before using dictionary “System.Collection.Generic” namespace should be added.

Now how to get data from dictionary?

Suppose the user selects employee whose id is 2 which is set into suppose variable empid.

label1.text = dicEmp[empid];

That is how dictionary is utilized.

0 Comments
Read More
Jul

31

Smarty—The Ultimate Templating System for PHP

Filed Under (Smarty) by Ramin on 31-07-2009

Tagged Under : Smarty, Smarty—The Ultimate Templating System for PHP, Templating System for PHP

Now that we’ve decided to make our life easier by considering multi-tier architecture for our website, we should take a look at what Smarty can do, as well as what it can’t do for us.
Smarty is not built for separating HTML from PHP; instead, its primary goal is to separate the application logic from presentation logic. If Smarty’s goal was to separate PHP from HTML then the presentation layer would contain no logic; but Smarty templates can contain logic, as long as it is to be used for presentation only.
This may seem like it breaks the rules of rigid separation between layers and tasks, but there are good practical reasons for it. A simple example would be an e-commerce site with products displayed in four columns:

  • Without Smarty: If our presentation layer doesn’t contain logic, we need to modify the business logic to retrieve the products in four arrays.
  • With Smarty: Using logic in the templates, the programmer just passes the products to the templates in a single array and the designer arranges the products in the page as he or she desires.

Smarty offers an interface to pretty much all of PHP, so PHP can be included in the templates, but it’s recommended to leave most of PHP code at the business logic layer. Fortunately, Smarty’s logic is generally much simpler to use than PHP and designers do not need to become programmers in order to incorporate presentation logic into their Smarty designs.

0 Comments
Read More
Jul

19

Joomla! Installation on a Virtual Server on the Net

Filed Under (CMS, Joomla) by Ramin on 19-07-2009

Tagged Under : joomla installation, joomla installation on a virtual server

This topic is very complex, since there is an unmanageable number of providers and an even more unmanageable combination of installed Apache, PHP, and MySQL versions and Webspace administration tools such as Visas and Plesk.

These are the sticking points:

  • A PHP safe mode, possibly activated in the php.ini
  • Prohibited conversion of URLs with Apache because of the non-activation of the so called rewrite engine
  • Directory rights in Linux that are set differently than in Windows

In principle the simplest approach that actually always works is the following:

  1. Load the Joomla! 1.5 beta.zip file onto your local PC and unpack it in a temporary directory.
  2. Load the just unpacked files by means of FTP onto your rented server. The files must be installed in the publicly accessible directory. These directories are usually named htdocs, public_html, or simply html. You can specify a subdirectory within the directory into which you install your Joomla!. Many web hosts allow you to link your rented domain name to a directory. This name is necessary to call your website from a browser.
  3. You have to find out what your database is called. Usually one or several databases are included in your web-hosting package. Sometimes the user name, database name, and password are fixed; sometimes you have to set them up. There is usually a browser-based configuration interface at your disposal. You can see an example of such an interface in the following figure. You will need these access data for Joomla!’s web installer.

joomla installation

You can get going after you have loaded these data onto your server and are in possession of your access data.

0 Comments
Read More
Jul

19

Technical Requirements for Joomla!

Filed Under (CMS, Joomla) by Ramin on 19-07-2009

Tagged Under : joomla requires, system requirements for joomla, technical requirements for joomla

Joomla! requires:

  • An installed and functioning web server, for instance, Apache version 1.13.19 or later or Microsoft IIS.
  • PHP scripting language version 4.3 or later, and support for MySQL and Zlib has to be compiled. Zlib is a library that enables PHP to read file packages that have been compressed with a ZIP procedure.
  • The database system—MySQL from version 3.23.x on or with Unicode character sets MySQL from 4.1.x on.
0 Comments
Read More
Jul

19

How do I Exchange a Picture (Logo) in the Joomla Template?

Filed Under (CMS, Joomla) by Ramin on 19-07-2009

Tagged Under : exchange joomla logo, Joomla, joomla logo

To switch a logo, you first have to examine the source code of the respective template. Graphics and images can be defined in the HTML and in the CSS structure. The size of the graphics is usually harmonized for the template.
If you want to exchange one of the images, you can do so by various methods.

Method 1
1. Create a graphic in a resolution and a file size that fits the space.
2. Load the graphic into Joomla!’s Media Manager.
3. Click on the graphic to get a link to it.
4. Change the respective <img src= > tag in the source code of your template to the new image.

Method 2
1. Create the new graphic and give it the same name as the graphic in your template.
2. Simply overwrite the old graphic with the new one.

0 Comments
Read More
Jun

27

Why Javascript in .Net Web Site

Filed Under (Dot Net) by Ramin on 27-06-2009

Web developers are developing web sites with combination of server-side processing and client-side processing to help the limitation of browser.

Javascript is written within the designing part of a web page, enclosed within the script block. A web page is accessed by thousands or lakhs people. So if all codes are written in server side then the code is executed so many times in the server side that the server may become very slow. As javascript is executed at client side so that does not affect the server. This is the main use of javascript.

Asp.Net is a server side platform which indicates that the codes written in .Net will run in the server. This mainly ensures the security of the code. In .Net web sites Javascript is used mostly to meet the above points.

0 Comments
Read More
Jun

26

The What and Why of osCommerce

Filed Under (osCommerce) by Ramin on 26-06-2009

osCommerce has been around since March 2000 and was originally founded by Harald Ponce de Leon. The development of osCommerce is still overseen by Harald, but has also since become the domain of a full team of dedicated people. You can read about the osCommerce team on the http://www.oscommerce.com/about/team page/. At present there are about 6,000 live, registered osCommerce sites and about 70,000 registered community members. With the rising success and popularity of this remarkable piece of software, these numbers are all set to increase dramatically.

Open Source is defined as any program whose source code is made available—most often subject to certain conditions—for use or modification by users or other developers as they deem fit.

Well, let’s look at some of the advantages of the open source paradigm and relate it to what you can expect from the overall osCommerce experience:

  • Totally free: It might cost you tens or hundreds of thousands of dollars to get a software development company to build you a fully functional commercial site from scratch. Not having to pay for this development removes one of the largest obstacles that retards e-commerce growth for the small to medium enterprise.
  • Secure and stable milestone releases: The osCommerce core has become a secure and stable environment for online commerce due of the large amount of community participation. This doesn’t mean it is impervious to attack—like any other software, it has weaknesses—but you can be sure of a swift community response to any new threats that may appear.
  • Large development community: osCommerce’s source code is readily available and free to modify and so there are thousands of developers who test and improve it on a daily basis. osCommerce effectively has an unlimited development team, and with the software gaining in popularity, new code will be produced at a faster rate.
  • Large support community: osCommerce has a large support community. This is due to the fact that the open source paradigm encourages the development of communities that feel a collective responsibility to aid others within that community

Apart from the previously listed advantages that have been automatically bestowed upon osCommerce users, it is also fair to say that this is one of the world’s truly valuable pieces of software that is leveling the playing ground between enterprises with large pockets and those with tighter budgets. This is because it empowers people to act on their ideas and bring their services and products to the world, via the medium of the World Wide Web, without being subject to high development costs. Removing obstacles in doing business stimulates growth and helps everyone in the long run. Hopefully, you will embrace the spirit of open source and encourage others to join in the future.

0 Comments
Read More
Jun

18

DOTNETNUKE

Filed Under (Dot Net) by Ramin on 18-06-2009

DOTNETNUKE is a leading Framework for Website Content Management and Web Application
development on Microsoft .NET. DNN (DOTNETNUKE) is an ASP-based CMS which provides excellent
solution for developing various projects like portals, commercial websites etc.

CMS makes management of web content much easier.
DNN is open-source software and freely-available for both commercial and
non-commercial use.

In DNN framework various users are allowed to access various parts so it provides
high level of security.

Very interesting part of DNN database update.
You can always add a module to perform some functionality. The database will automatically be updated when a module is added. User can create template in DNN by using the modules as well.

For more information you can always search internet.

0 Comments
Read More
May

28

NHibernate for .NET

Filed Under (Dot Net) by Ramin on 28-05-2009

NHibernate can be considered as a link between relational database and .Net objects. An XML description of the entities of the object and their relationships is given, NHibernate automatically creates SQL statement to fetch records from the database. NHibernate is capable of doing insert and update as well. Let us understand the matter by an example:
Suppose we have following two tables and in .net classes are created for these two with same entities:

Address

AddressType

Field Name

Type

Field Name

Type

AddressID

Int

AddressTypeID

Int

Address1

Text

AddressType

Text

City

Text

State

Text

AddressTypeID

Int

The XML will be like:

<class name=”Address” table=”Address”>

<id name=”AddressID” column=”AddressID” type=”int”>

<generator class=”assigned”/>

</id>

<property name =”Address1″ column=”Address1″ type=”String” />

<property name =”City” column=”City” type=”String” />

<property name =”State” column=”State” type=”String” />

<many-to-one name=”AddressTypeID” class=”AddressType” column=”AddressTypeID” />

</class>

Using this XML a programmer can easily fetch, insert and update data into Address table by NHibernate without writing a single line of SQL statement.
Now if you are getting interest in NHibernate and want to know more about the same, you can always search on net or open the following links:

https://www.hibernate.org

http://www.amazon.com

0 Comments
Read More
May

25

Sql Server 2005 Reporting Service

Filed Under (Dot Net) by Ramin on 25-05-2009

A major part of any application software / web based application is reporting part as the end users always search for output. The easy and popular way of creating reports is sql server 2005 reporting service. It provides a very nice and easy to understand look of reports. Creating reports using this service is very easy as well.

Subreport, Link between two reports, exporting report to separate application like Excel, PDF all can be easily implemented through this beautiful and upgraded reporting service.

For it’s above mentioned and more nice features the same is becoming very popular day by day to the programmers. Moreover beautiful look of the reports, created in sql server 2005 reporting service attract the end users as well.

1 Comment
Read More
« Older Entries
  • Category

    • CMS (4)
    • Dot Net (4)
    • Joomla (3)
    • osCommerce (1)
    • Smarty (1)
    • Uncategorized (2)
    • Website design (1)
  • Services

    • Joomla Web Design and Development
    • Affordable Web Site Design
    • Joomla E-Commerce Websites
    • Custom Software Development
    • Shopping Cart Websites
    • Business Websites
    • Joomla Maintenance and Updates
    • Joomla Sites Redesign
    • PHP Web Development
    • .Net Development
    • Database Programming
    • Professional Joomla Templates
    • PSD to Joomla Template Conversion
    • Joomla Template Customization
    • Wordpress Template Customization
    • Hire Professional Joomla Developer
    • Hire PHP and MySql Developer
    • Hire Dedicated .Net Developer
    • Hire Database Designer
    • Wordpress Blog Design and Development
    • Create Shopping Cart by osCommerce
    • SQL Server2005 Reporting Service

    Writing Services

    • Website Content Writing and Editing
    • Keyword Articles
    • Sales Copy Writer
    • Hire a Blogger
    • Writing a Blog

    Our Products

    • Club Joomla Templates
    • Popular Joomla Extensions
    • Selling Freelancer Site Script
    • Free Joomla Templates
    • Free Joomla Extensions
    • Free Club Joomla Templates
    • Free Club Joomla Extensions

    Our Joomla Book Shop

    • Joomla Template Design
    • Building Websites with Joomla 1.5
    • Begining Ajax with PHP
    • Web Development, Asp.net Ajax
    • osCommerce: Professional Edition
    • Pro Drupal Development
    • Packt.Publishing.Drupal.5.Themes.Dec
    • Smarty PHP Template Programming
    • Wrox.Beginning.JavaScript.3rd.Edition.May
  • Archives

    • September 2009
    • July 2009
    • June 2009
    • May 2009
Joomla Web Design & Development | Shopping Cart Websites | Business Websites
© All Rights Reserved. Joomla Site 4ME