|
just another regularban.info web blog |
| MEMBERS: | Using Functions
Functions are used to perform a well defined task that is normally repeated at various places within a web site, web application, or other software application. The function sometimes needs certain information before performing its task, and sometimes returns a value to the calling page or program. An example of how to use a simple function in PHP: function showMessage() {The above example shows a very simple function that displays the contents of a session variable called 'message'. The idea being that while a user is using a web site, etc, various messages are generated and stored in the 'message' session variable. Whenever the showMessage function is called, the contents of the session variable are displayed. So, for example, when the user logs on, you could display a message saying that they have done so. Likewise, when they log off, a different message could be displayed. Calling a function To call the showMessage function, you would just need to include the line: showMessage() in the web page (wrapped in php tags to distinguish it from normall HTML). Passing values to a function Often, a function requires one or more input values in order to perform its task. For example, take the following example that takes two numbers as input, and adds them together. The result is then returned to the calling web page or program. function addNumbers($number1,$number2) {In the calling program we would have something similar to the following: $number1 = "5"; Obviously, in a real program you would not have the numbers hardcoded like this, but they would be obtained from user input or by some other means. Notice also that although the name of the returned variable is $answer, the calling program makes no reference to that. We could, if we wanted to, change the calling program to: $answer = addNumbers($number1,$number2); which might make things slightly easier to understand.
Content Management System And Its Different Types
A system that can be used to manage the content of a website is called content management system (CMS). In other words, CMS is a tool to create, edit, and remove details/information in a website. The definitive advantage of the CMS being that you can carry out most of the task without any technical expertise. The contents managed can be of various types that include web contents, media files, e-documents, online transactions, etc. and they are classified based on the requirements. Types of CMS The different types of CMS are as follows, Browser based CMS: The most convenient and the cheapest CMS is the browser based CMS. It is easy to access and can be edited from anywhere in the world. Most of the other CMS require software to be installed but whereas this CMS does not require any software and can be simply logged in by using a username, password and the contents can be edited. Transactional based CMS: This type of CMS can be employed by E-commerce organization where they need to manage large data of transactions though online. Digital based CMS: Information is also stored in digital format, hence the digital equipment needs to be organized and kept in a system that is effective and functions properly. For this purpose, you can use a digital asset management system which will help in organizing all the media files. The digital media may contain audio, video, stills, graphics, and other media related files. Business Process CMS: This is a CMS which is related to transaction details such as invoices, sales order, application forms, etc. Further, the system offers the businesses to integrate and expand in the corporate environment and also provides the support to organize the work steps systematically and improve better communication among the users. Enterprise CMS: This system offers the users to access, scan, store and manage all information within an enterprise. The system supports all types of functions, it can be web based or E-commerce based or CRM. The enterprise CMS is designed in a way that can integrate with client server and hosted solutions. Finally, it is very essential that you need to understand the various types of CMS which enable you to decide on the one that best suits your business. If you are not sure about the CMS that works cost effectively and efficiently for your business, contact us and we are happy to offer you the best possible help. Vijayakumar Palaniappan
Entrepreneurs - Who Gets to Keep the Website After You Divorce Your Webmaster?
Attention all business owners! Do you know the answer to this question: Who gets to keep the website after you divorce your webmaster? Just like in a marriage, it all depends on the pre-nuptial agreement (contract). Do you have one? My personal disclaimer: Some of this information may be about legal issues; however this article is not intended as a substitute for legal advice. I am not an attorney nor do I play one on webTV therefore you should consult with an attorney familiar with the laws concerning internet and intellectual property. Ok, now on with the story, the short version. . . Here's the situation, for whatever reason the client decided not to pay their annual bill for web hosting services. Even though there were several attempts to reach the client the bill went unpaid for more than 90 days. As a result, the hosting was cancelled and the site was removed from the server. Several months later the client sent this exact message: "you have my website and I need you to let me know how to get it back, like I said before I paid you money to build it so....? that money had nothing to do with hosting or anything". Just because you paid for the development of your website does not mean you own it. There are Intellectual Property laws designed to protect the creator and to encourage the creator to create. If you hired a company they own the software development and website design produced by its employees. If you hired an independent contractor you must obtain a written "assignment" of the copyright in the commissioned work from them. Most business owners unknowingly give their webmaster complete control over their business website. Even if you don't have a pre-nuptial agreement (contract) or own your website you can still maintain some control. While you and your webmaster are honeymooning be sure you can document the answer to these questions: 1. What software was used to develop the website?
2. How to access the code? 3. Where is the code located on the server? 4. How to change the content?
5. How to create a weekly back up? 6. How to grant access to additional users? 7. How to obtain the master copies of your website design? As a business owner, how many people realize their webmaster is like their spouse? Voluntarily joined for life (or until divorce), not many! Just like in marriage a prenuptial agreement (contract) is a practical solution to dealing with the risks and problematic topic of who gets to keep the website after your divorce.
|
* About Archives
Categories:
Last Updated: |
| regularban.info
is proudly powered by WordPress MU running
on regularban.info.
Create a new blog and join in the fun! Entries (RSS) and Comments (RSS). |