Global Find and Replace in Dreamweaver Web Development

There are quite a number of web developers who experienced the previous techniques in performing global find and replace. They had to go into the web server and run scripts like sed and awk on their files. But methods like these can be quite complex especially when the regex is badly formed. Now, those days are over, thanks to the continuous evolving of technology. If you want to perform global find and replace on your website, there are web editors that will help you deal with this task. You can easily carry this one out and you will agree that this is pretty convenient. If you are not using global find and replace software, you ought to try one now.

Let us say that you would like to perform a global search and replace using Adobe Dreamweaver. This is actually one of the easiest methods that you can use. Whether you will be working on a current file or any other files that you have on your website, Dreamweaver will be able to assist you. After you have performed a global find and replace string or file using the software, you will make it to a point to use it anytime you can.

So the first step is to search in a certain file. To do this, open the file that you will use in Dreamweaver. Now, select the option that says “Find and Replace.” This can be found in the Edit menu or you can simply access this using the shortcut Ctrl+F or Cmd+F. Now, enter the words that you want to find in the search box and in the replace box, type the words that you want to replace the word in the first box. Ensure that you have selected “Current Document” before you proceed. Now, click on the Replace button. You can keep on clicking the button until you have replaced all the strings or files that you want to modify.

Now, if you want to perform a global find and replace task on an entire website, open Dreamweaver and select the predefined site. Highlight the files that you see in the folder list that you want to search through. Once again, click on the Edit menu and then “Find and Replace” or you can use the shortcut keys that have been mentioned earlier. Now, type the words that you want to find and replace in the appropriate boxes. Make certain that you have selected the option “Selected Files in Site” so that you can search the files in your website. Otherwise, select “Open Documents” in order to only search within the files that you have opened for editing. Another option is to select “Entire Current Local Site” to search all the pages in that website. Now, you can click on “Replace All.”

Just click on “Yes” when Dreamweaver alerts you that you will not be able to undo the changes that you have made. The results for the search will be displayed just below the window of the site in the Search pane.

Semantic Web Development

Semantic Web Modelling Centre of Excellence

Introduction

Semantic Web Development and dealing with complexity is a tricky issue. Representing information is a problem where complexity can preclude any single approach. In order to find our way around large quantities of information it needs to be structured. But the information already exists and is still being created, so this makes it a moving target.

I’m sure such matters will be covered at the www2006 conference at Edinburgh 23-26 May http://www2006.org/. Kurt Cagle refers to this in his article on complexity on his Understanding XML blog at http://www.understandingxml.com/.

The structuring of ontologies from the top down can be useful, but can only be achieved where the ontology developers have some control over the information. Much of web development and other creation of information is bottom up, in that there is no controlling authority. This is good for inclusiveness and speed of development, and something that encourages community, and encourages individuals to create their own content, which is a good thing. In his interview with the British Computer Society Tim Berners-Lee http://dig.csail.mit.edu/breadcrumbs/blog/4 answers a question on ontologies. He talks of a top level ontology that can be created to hold certain terms and the need to find out who is using these terms, so that other web pages and databases can be categorised. This would be achieved using URIs (Universal Resource Identifier) and RDF (Resource Description Framework). In answer to what Tim Berners-Lee hopes to achieve, he talks of this bottom up development that is going on, using blogs, and wikis etc and a possible approach of ‘web science’ – ‘the science and engineering of web based things that have a bottom up Web-like structure’.

I think this approach is highly relevant to my PhD research on user-driven programming, with University of the West of England (UWE – Bristol). Not everyone has the time to learn programming especially if their main expertise is elsewhere. They then have to ask others to do the development for them and this leads to delays and mis-understandings. The approach advocated here could enable visual creation of software by members of a community. Members of this community would not need advanced programming skills if other members with more advanced development skills could create a suitable interface for the creation of software. This could be achieved in a similar way to that used in visual web page creation tools, or word processor and spreadsheet software. Also the members who do possess advanced skills could provide ways of sorting, searching and navigating the programs created using the visual development tools. Members could work with either or both groups, according to their skills and interests.

A good first step would be to link communities and sites that have a mix of those with advanced software skills who want to encourage and enable others to learn to program, and of new starters who want to learn. This could involve those who are willing to try out new techniques to make it easier for new starters to train learn and gain experience.

Sir Tim-Berners-Lee’s interview – http://www.bcs.org/server.php?show=ConWebDoc.3337.

This talk by Nigel Shadbolt explains research about coping with diverse sources of information – http://www.bcs.org/server.php?show=ConWebDoc.3043.

This article by Bill Thompson for the BBC technology site examines new developments in Web 2.0 technologies – http://news.bbc.co.uk/1/hi/technology/4842498.stm.

9 Great Tips to Boost Your Web Development Skills

It’s undeniable that web development has become a sought-after service in the internet marketing business. Modern-day entrepreneurs want to have a website of their own to establish their brand online. If you want to get hired, you have to be one of the best in your field.

There may be no substitute for experience, but there are shortcuts to improving your skills. The following are great tips from seasoned developers on how you can boost your web development prowess.

1. Get rid of floated lists. Most web developers get stuck fixing the floated lists element. Sometimes, setting the right height can get complicated. You can prevent this from happening by adding two CSS properties to any container within the list – display: block; overflow: hidden; Doing so adjusts the height automatically.

2. Use web inspectors. When it comes to the use of web inspectors, developers differ on which one is best. If your website encounters some minor CSS problems, this tool works effectively. You can preview changes live in Safari or Chrome. Just right click on an element and choose ‘Inspect Element’.

3. Sandbox the clutter. Keep your experiments uncluttered by outside influences. If you want to try some new effects, transitions, or techniques, do it as a sandbox project. Following this can make the code easier to debug if it doesn’t work as expected.

4. Single responsibility principle. You may have heard web developers stressing the importance of this principle. The single responsibility function simply explains that every object in your code should contain one function. Splitting the structure and the style can actually benefit you in the end. Once something breaks, it’ll be easier for you to find which object is the problem.

5. Try the GitLab system. Most web developers use GitHub, but it’s more of a private tool. For an enhanced version, you should try GitLab. For one, it is an open source. It can also be made compatible with your own servers.

6. Always comment your code. This is highly recommended for those who work as a team offering internet marketing services. In order for others to understand your code, you need to properly comment on codes, organize PSDs and FLAs, and name layers. It’ll be easier for the whole team to find where things are.

7. Automate your unit tests. Deploying or manually running unit tests can be a waste of time. Be smart and automate it. This can help you find problems early in the development cycle. It can also watch over your code in both time and space dimensions.

8. Sprite to speed up. Speed up your page downloads by turning icons, buttons, and backgrounds into sprites. Once you use the attribute ‘CSS background-position’ the portion of the image you want to appear will be shown.

9. Security is important. When launching a new website, it’s easy to get carried away with design and content that security becomes taken for granted. Before going live, make sure that your site is secure. Run it through security checks to solve security concerns. Try to test your site’s security using asafaweb.com.

Whether it’s for blogs or an eCommerce website agency, entrepreneurs will need web developers to improve and maintain their website’s interaction. Practice these tips to also improve on your skills as a web developer!