|
just another regularban.info web blog |
| MEMBERS: | Page Titles and Meta Tags
Page titles To help obtain high page rankings with search engines, the contents of your page title are one of the most important things that need to be dealt with. The page title is the first amount of information provided to a search engine describing the contents of the page. You should also be aware that the page title provides information about the contents not only to search engines, but to visitors as well. The page title will show up at the top of the browser window. Your page title should include your keywords and should be no longer than 60 characters long. If it is too long, your visitor will only see the first part. An easy way to figure out the length of a page title is to type it into a word processor that contains a word count feature. Since your page title needs to be a certain length, it is important to make the best use of the space, and although some words that are not key, will use up that valuable space, the title itself still needs to make sense. A keyword in your title can be repeated, but having the same words more than two times is not recommended. Compare your page title to others and see what makes their content look appealing enough to catch a potential visitor's eyes. Your page title needs to stand out between the other nine titles on the search engine results page. As you design your site, remember the fact that visitors may be directed to somewhere other than the homepage because the search engine believes it is the best match for a keyword. With this in mind, all pages of your website should be considered unique and have their own title. Meta tags For your site to be effective, you need to develop Meta tags. These tags are a site description and a keyword list. It is important to note that not all search engines use these Meta tags. Starting with your home page, you will need to insert two Meta tags. The first is a Meta description sentence and the second is a Meta keyword list. The information you put here is for search engines to use when they review your site. This review process is known as crawling and is done with a program called a spider or robot. The description tag serves two purposes. The spiders search it for keywords and it is also displayed to a surfer as they view search engine results. The information obtained by the spiders is kept in a database that is used when a person types in a query to a search engine. When you create your Meta keyword list, order them from the most relevant to the least. The first part of your list should contain the keywords that best describe your site and are unique enough that when someone does a search, there is not a large amount of competition to go up against. Make sure that all the keywords used in the description tags are again listed. The words at the end of your list are known as wildcards and include synonyms and words that could have been spelled wrong when someone was doing a search. During your Meta tag creation process, do not be afraid to go to other people's websites and see what they have used. Type in the same words you would like to include in your lists and see what the search engines display. This is a very good way to help determine your competition.
Web Development and Full Integration
'Fully integrated' is a term used to describes websites that are progressive enough to include virtually every form of online media in their web presence. If you look at sites like Yahoo, Forbes and virtually any of the major television network sites you can gain some idea of what I am taking about. These sites contain either news of blog information. They also contain original video streaming sources and audio streams including podcasts. These sites tend to subscribe to the idea that the web user wants it all and should be able to find it all when they visit the business site. A fully integrated site will often use flash or other animated or moving text. The interesting dynamic is that the best of these sites understand navigation and ease of use remains a critical concern for guests. Forbes, for example is highly adept at slideshow type presentations on a multitude of topics. It could be top selling cars, entertainers, vacation hot spots, etc. These slideshows are optimized for search engines and are easy to breeze through. It seems as if a site like this has the potential to garner some of the same consumers of media that have been courted mostly by network television or traditional newsprint. Most fully integrated sites did not start off that way. In most cases they worked through issues they could easily address and then added features as their knowledge and confidence grew in relation to the their site development skills. That's something I have always suggested. Do the best you can at developing a site with the most comprehensive development techniques at your disposal. That doesn't mean you have to have a fully integrated site in order to conduct business, but it does mean that you do not simply wipe your brow, release a sigh and suggest to yourself that your work is finished. The truth is there are more skills in online web development that are being released than ever before. More programs are working with each other allowing a new robust platform for online use. The role of online web development is an ever changing - ever growing function in relation to how you manage your site and in the use of the most effective marketing tools available. Many sites will develop an internal compass that provides the date they want to upgrade the website to include new functions. In essence they treat their website like software developers treat upgrades. Some will even go so far as to indicate their website has gone from version 1.0 to version 1.1 or 1.5. The idea is to challenge their own thinking in relation to developing a website even after the website has been launched. This has the potential of keeping visitors interested in finding out what improvements you will come up with next. Perhaps the greatest development rule of thumb is that you should always strive to be more integrated by attempting to meet the real and perceived expectations of your site visitors. This mentality will always give you a new goal line in your race for the perfect business.
Passing Parameters In A Data Table Using JSF
Some working knowledge of J2EE or JSF is assumed for this article. Like some of you I've been frustrated with this technology known as JSF or Java Server Faces. There are several different flavors out there that are built on the shoulders of JSF. For instance Oracle's ADF (Application Development Framework). Oracle ADF Faces Components is a set of over a 100 JSF components that let you build a richer user interface for your Java EE applications. Oracle ADF Faces also includes many of the framework features most needed by JSF developers today. That is great, and in many ways it will make life easier to develop in a JSF environment. Some items you will find available in these "add on" packages have a real benefit. For instance, as of the date of this article, I was very surprised that a File Upload is a feature still not implemented in JSF in respect to using natural jsf tags. There are ways to accomplish this task in JSF but they are not native JSF approaches. The process is a "no brainer" in just about every other framework available today, including asp.net. Another simple task (I thought) was having a data table present the results of a query in an editable format. Possibly to update a user record or shopping cart. After working in other technologies it was very efficient to return a result set to a data table object and let that object take care of some of the trivial behaviors and characteristics of the table itself. When I started exploring JSF I was frequently and at every turn becoming more and more frustrated in trying to duplicate some of the most basic of processes similar to managing records through data tables. There are not a whole lot of resources out there yet on JSF although it is growing steadily, and I found that all too often the resources that I was finding on the internet either didn't apply to the more simple tasks or the information was just completely wrong. One example of that was that it was stated in one article I read that you cannot use command buttons inside of a JSF data table. The recommendation was to use JSF hyperlinks instead when trying to perform an action from a data table due to a bug in the framework that prevented command button actions to fire if the button resided inside of a data table. At first I thought "you've got to be kidding me"! Then I remembered that I've been finding a fair amount of "bogus" information in regards to JSF development so I decided to do further research and discovered that information to be less than accurate as well. I simply had to find a way to populate a data table through a result set and get a command button to fire an action and pass all of the data in the data table to the backing bean to update the record. Multiple command buttons would exist as well as hidden fields pertaining to id numbers and so forth. Pretty basic stuff and we've all done it before with relative ease. It turned out that the solution was in fact a simple one. "Binding". You've heard about it and read about it. But this approach was something a little different as far as I could find. Many of the blogs and articles that I read dealt with passing the values as parameters and following the steps to define the parameters in faces.config files etc., then retrieving the parameters in a backing bean. Processing the passed data required another set of procedures to utilize mapping to each of the field parameters passed and then processing could begin. That seemed like a whole heck of a lot to me just to retrieve form data. Then it occurred to me that I should be able to "bind" a text field component on a page to a backing bean. Once it is bound then all I have to do is extract the data. And that's all there is to it. My query returned results and pre-populated a data table including text fields with the values of the query pre-populated in the text fields. Each one of those text fields was bound to a "HtmlInputText" type in my backing bean. It was not a String type like other approaches define. Doing that does require you to map parameters and populate that String variable through your set methods once the form is submitted. What I found is that if I bind my text field to a property of text field type that it solved my problem of passing values from a data table, and I didn't have to define parameter fields anywhere in any xml file. Now that I had that figured that out I needed to figure out how to get the value of that property that I've bound my form field to, well why not getValue()? I personally hadn't seen any examples online or in books for retrieving the value from a form binding it to the type of form element it was and simply use the getValue() to pull out the value of the object. Used like this getParameterFromForm().getValue(). Let me clarify that I am NOT saying that trying this approach isn't documented anywhere, I find it hard to believe that I've had some stroke of genius that no one has had before in the world of java, especially since I'm coming from .NET and ColdFusion. After doing that I no longer had any problems passing form data to my backing bean. I was able to dynamically populate data tables with any number of records including any number of command buttons within that data table and I didn't have to concern myself with remembering to define parameters in any other areas of the application. So put simply you can bind your form fields to properties of the same type in your backing bean, and then extract the value of that object using getValue() if you prefer over utilizing parameter string mapping and similar approaches for processing form data. I found it to be easier and less time consuming which has costs associated to it as well.
|
* 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). |