Jack is Here, asp.net findings

As a software engineer, I focus on .NET, especially asp.net, C#, WCF and so on, and I am also very interested in Search Engine Optimization.

Entries Tagged ‘Pattern’

Printed and Painted Fabrics

Printed fabrics are a development of the hand-painted fabrics of China and India, particularly the latter. The English and French, unable to compete with the cheap labor of the East in reproducing these cloths developed a system of reproducing the Eastern designs by means of hand blocks.

The making of patterns by this process became an art in itself. In England these printed upholstery materials were called chintzes, while in France they were given the name of cretonne.

In England it was the polished chintzes often, and this process was introduced in America, where demand for glass material had taken a sudden jump, due to past generations needed light and color, and printed fabrics, fit this need for wood frames (http:/ / www.ferche.com) and other parts more than other materials from a economical point of view.

The best known of all fabrics of this character were the toiles de Jouy, produced in France during the latter half of the eighteenth and the beginning of the nineteenth centuries. They surpassed by far everything that had gone before.

Philippe Oberkampf, Ansbach was born in Bavaria, Germany has become naturalized in France and opened up a Jouy workshop near the town of Versailles, where his work is almost all his. Buildings from the design and manufacture of sale of finished products, Oberkampf training, almost from the cradle to his profession. He was an apprentice in the dye, in the 11-year-old father's works.

He was 18 when I could teach the use of high-speed color printer. My goods, such as the establishment of his remarkable, he became the king ennobled are growing in popularity. Chinese tapestry window was a clear pattern of red TOPPERS earliest Jouy prints (http://www.ferche.com) was inspired from the original.

Later, peasant scenes were introduced, then allegorical and mythological subjects and scenes from contemporary history, including the beginnings of the French Revolution and the American Revolutionary War – subjects which were informative as well as interesting as motifs.

The name of Jean Baptiste Huet should be mentioned as one of the artists of the period who executed many sketches for the Oberkampf prints. Oberkampf spared no expense and effort in obtaining the best talent, and he employed as many as fifteen hundred workers, a great number for that time.

As he introduced the printing roller printing operation to the expansion of the continent. He also sent an agent to discover the secrets of vibrant colors to create an East of England and India. Jouy's reputation is not to live beyond the empire, Oberkampf, who died in the year 1815. Jouy superb job, however, has endured years.

Textile printing was known in India at an early date and spread over the near and Far East. Specimens of Indian cotton fabrics have been found in tombs and in ancient ornamental pediment.

Their printing technique was elaborate and forms the basis of our early textile printing. The pattern was not stained on the cloth but dyed into the cloth so that it could not be washed out. The pattern was applied either by hand painting, block-printing, or stenciling.

The colors were strong in tone, and the draft spoke of a new country, especially for people living in England, France, Holland and Portugal, where they were introduced by traders in the eighteenth century. The designs of the Indian textiles serve us today as a beautiful model for a modern work organization. One attraction of the Indian prints in Europe was the fact that they are made of cotton, a material that is not known in Europe at this time.

Europe has not totally dependent on India's design. We have seen the Italian pattern emerged, Louis XIV and Louis XV-style pastoral fairy-tale flowers. Printed fabrics in Europe have become so popular the great 17 century, the French government banned the import of silk weavers, because it is dangerous.

A similar law was passed in England, but this law did not seem to stop the appreciation of the Indian chintzes. Society was anxious for these forbidden fabrics and obtained them in spite of all restrictions.

Earl painted stencil material reality. Patterns are placed on paper and wooden photo frame and fabric colors are applied with a brush have been cut there. Batik originated in Java, has enjoyed enormous popularity in the United States during recent years. Complex obtained by the process of dyeing is one of the effects.

While parts are coated with wax to leave the plane, the effect will break down the wax burst and, in this state is obtained by soaking a cloth in the dye. The dye, irregular, giving an interesting pattern, however, penetrates the crack. Each color desired for the operation of another, must rely on his knowledge of the artist's ability and dyes.

How to use mod_rewrite to simplify URL Rewriting in Apache – A basic guide to the mod_rewrite module

Introduction

URL rewriting is the process of manipulating a URL or a link to send to a web server in a way that the link will be dynamically changed on the server to include additional parameters and information together with a server initiated realignment. The Web server performs all these manipulations on the fly, so that the browser of the loop on the change in the URL and the redirection is considered authenticated.

URL Rewriting can benefit your websites and web based applications by providing better security, better visibility or friendliness with Search Engines and helps in keeping the structure of the website more easy to maintain for future changes.

You can read about the theory and benefits of URL Rewriting from my Previous article, which can be accessed from here. In this article we will be taking a look at how we can implement URL Rewriting on an Apache based web server environment using the mod_rewrite module for Apache.

What is mod_rewrite?

Mod_rewrite is one of the most favored modules for the Apache web server and there are many web developers and administrators who will vote this module as the best thing to happen on Apache. This module has a lot of tricks up its sleeve so that it can be called the Swiss Army Knife of all Apache Modules. Apart from providing simple URL Rewriting functionality for an Apache based website, this module arms the website with better URL protection, better search engine visibility, protection against bandwidth thieves by stopping hot linking, hassle free restructuring possibilities and options to provide friendliest of URLs for the website users. This module due to its versatility and functionality can at times feel a bit daunting to master, but getting a through understanding of the basics can make you a master of the craft of URL Rewriting.

Lets Begin! – A look at all the stuff you need to have on your test environment to get mod-rewrite alive and kicking.

First of all, must be on your test machine is configured correctly for Apache Web server. mod_rewrite is usually installed with the Apache server, but if it is missing – this can be on a Linux machine, such as the case was not compiled mod_rewrite module installed along – you have to get it installed. Apache's mod_rewrite to use your box you must configure the module loaded by Apache's dynamic needs. In a shared server you have with your web hosting company to obtain the module installed and Apache from loading.

On your local machine you can find if the module is installed along with Apache by having a look at the modules directory of Apache. Check for a file named mod_rewrite.so and if it is there then the module can be made to load in to the Apache server dynamically. By default this module is not loaded when Apache starts and you need to tell Apache to enable this module for dynamic loading by making changes in the web servers configuration file, which is explained below.

How to Enable mod_rewrite on Apache?

You can make the mod_rewrite module load dynamically in to the Apache web server environment using the LoadModule Directive in the httpd.conf file. Load this file in a text editor and find a line similar to the one given below.

#LoadModule rewrite_module modules/mod_rewrite.so

Uncomment this line by removing the # and save the httpd.conf file. Restart your Apache server and if all went well mod_rewrite module will now be enabled on your web server.

Lets Rewrite our first URL using mod_rewrite

Ok, now the mod_rewrite module is enabled on your server. Lets have a look at how to make this module load itself and to make it work for us.

In order to load the module dynamically you have to add a single line to your .htaccess file. The .htaccess files are configuration files with Apache directives defined in them and they provide distributed directory level configuration for a website. Create a .htaccess file in your web servers test directory – or any other directory on which you want to make URL Rewriting active – and add the below given line to it.

RewriteEngine on

Now we have the rewrite engine turned on and Apache is ready to rewrite URLs for you. Lets look at a sample rewrite instruction for making a request to our server for first.html redirected to second.html at server level. Add the below given line to your .htaccess file along with the RewriteEngine directive that we have added before.

RewriteRule ^first.html$ second.html

I will explain what we have done here at the next section, but if all went well then any requests for first.html made on your server will be transferred to second.html. This is one of the simplest forms of URL Rewritting.

The point here to note that the redirection is completely hidden from the client, this is a classic and HTTP redirect are held differently. Client or browser content first.html second.html give the impression that we are fetching from. This website is awareness of the client, what is the URL you have been very powerful URL rewriting can be generated on the fly.

Basics of mod_rewrite module

Now we know that mod_rewrite can be enabled for an entire website or a specific directory by using .htaccess file and have done a basic rewrite directive in the previous example. Here I will explain what exactly have we done in the first sample rewrite.

Mod_rewrite module provides a set of configuration directive statements for URL Rewriting and the RewriteRule directive – that we saw in the previous sample – is the most important one. The mod_rewrite engine uses pattern-matching substitutions for making the translations and this means a good grasp of Regular Expressions can help you a lot.

Note: Regular Expressions are so vast that they will not fit in to the scope of this article. I will try to write another article on that topic someday.

1. The RewriteRule Directive

The general syntax of the RewriteRule is very straightforward. RewriteRule Pattern Substitution [Flags]

The Pattern part is the pattern which the rewrite engine will look for in the incoming URL to catch. So in our first sample ^first.html$ is the Pattern. The pattern is written as a regular expression.

The Substitution is the replacement or translation that is to be done on the caught pattern in the URL. In our sample second.html is the Substitution part.

Flags are optional and they make the rewrite engine to do certain other tasks apart from just doing the substitution on the URL string. The flags if present are defined with in square brackets and should be separated by commas.

Lets take a look at a more complex rewrite rule. Take a look at the following URL.

http://yourwebsite/articles.php?category=stamps&id=122

Now we will convert the above URL in to a search engine and user friendly URL like the one given below.

http://yourwebsite/articles/stamps/122

Create a page called articles.php with the following code:

$category = $_GET['category'];

$id = $_GET['id'];

echo “Category : ” . $category . ” “;

echo “ID : ” . $id;

This page simply prints the two GET variables passed to it on the webpage.

Open the .htaccess file and write in the below given Rule.

RewriteEngine on
RewriteRule ^articles/(w+)/([0-9]+)$ /articles.php?category=$1&id=$2


The pattern ^articles/(w+)/([0-9]+)$ can be bisected as:

^articles/ – checks if the request starts with ‘articles/’

(w+)/ – checks if this part is a single word followed by a forward slash. The parenthesis is used for extracting the parameter values, which we need for replacing in the actual query string, in the substituted URL. The pattern, which is placed in parenthesis will be stored in a special variable which can be back-referenced in the substitution part using variables like $1, $2 so on for each pair of parenthesis.

([0-9]+)$ – this checks for digits at the last part of the url.

Try requesting the articles.php file in your test server with the below given url.

http://yourwebsite/articles/coins/1222

The URL Rewrite rule you have written will kick in and you will be seeing the result as if the url requested where:

http://yourwebsite/articles.php?category=coins&id=1222

Now you can work on this sample to build more and more complex URL Rewritting rules. By using URL rewriting in the above example we have achieved a search engine and user friendly URL, which is also tamper proof against casual script kiddie injection sort of attacks.

What does the Flags parameter of RewriteRule directive do?

RewriteRule Flags offer us a way to control each of the mod_rewrite rule. These flags are defined separately in a single set of square brackets with commas, and there are about 15 flags to choose from. These flags range from those who are the way legislation is complicated and controls such as those specific HTTP headers sent back to the client when a match is found using the model.

Lets look at some of the basic flags.

  • [NC] flag (nocase) –. This makes mod_rewrite to treat the pattern in a case-insensitive manner.
  • [F] flag (forbidden) – This makes Apache send a forbidden HTTP response header – response 403 – back to the client.
  • [R] flag (redirect) – This flag makes mod_rewrite to use a formal HTTP redirect instead of the internal Apache redirect. You can use this flag to inform the client about the redirection and this flag sends a Moved Temporarily – Response 302 – by default, but this flag takes an extra parameter, which you can use to modify the response code. If you wish to send a response code of 301 – Moved Permanently – then this flag can be written as [R=301]
  • [G] flag (gone) – This flag makes Apache respond with a HTTP Response 410 – File Gone.
  • [L] flag (last) – This makes mod_rewrite to stop processing succeeding directives if the current directive is successful.
  • [N] flag (next) – This flag makes the rewrite engine to stop process and loop back to start of the rule list. A point to note is that the URL, which will be used for pattern matching, will be the rewritten one. This flag can create an endless loop and so extreme care should be given while using it.

There are other flags too but they are complex to explain with in the scope of this article so you can find more info on them by referring the mod_rewrite manual.

2. The RewriteCond Directive

This directive provides you with a range of specifications and conditions within the conditional examination of additional power. When combined with the RewriteRule will allow you to rewrite the conditions for success-based Web site with this statement. RewriteCond like if () statement in the programming language, but they can decide whether an alternative RewriteRule directives should be carried out or is not here. And so on to prevent the hot link and check whether the client meets certain criteria such as URL rewriting before, you can use this command to achieve.

The general syntax of the RewriteCond is:

RewriteCond string-to-test condition-pattern

The string-to-test part of the RewriteCond has access to a large set of Variables like the HTTP Header variables, Request Variables, Server Variables, Time variables etc so you can do a lot of complex conditional checking while writing directives. You can use any of these variables as a string to test by putting it in a %{string} format. Suppose you want to use the HTTP_REFERER variable then it can be used as %{HTTP_REFERER }.

The condition part can be a simple string or a very complex regular expression as your imagination is the only limit with this module.

Lets take a look at an example for conditional rewriting using RewriteCond directive:

RewriteCond %{HTTP_USER_AGENT} ^Mozilla/4(.*)MSIE
RewriteRule ^index.html$ /index.ie.html [L]

RewriteCond %{HTTP_USER_AGENT} ^Mozilla/5(.*)Gecko
RewriteRule ^index.html$ /index.netscape.html [L]

RewriteRule ^index.html$ /index.other.html [L]

This example used as a test string with the RewriteCond directive HTTP_USER_AGENT. It does is that it uses the HTTP_USER_AGENT header variable to find access to the user's browser and matching the known values for the pre-set detector and serve different pages based on the results of the competition of visitors. The first RewriteCond checks to find a match HTTP_USER_AGENT^Mozilla/4(.*)MSIE pattern. This match will occur when a user visits the page using IE as browser. Then the RewriteRule given just under that statement will kick in and will rewrite the URL to server index.ie.html page to the IE visitor.

Similarly a checking is made for mozilla specific browsers in the second RewriteCond and the RewriteRule will do the substitution for index.netscape.html when a positive match is made on the ^Mozilla/5(.*)Gecko pattern. The third RewriteRule is there to catch other browsers. If both the first and second RewriteCond fails then the last RewriteRule will be considered. A point to note in the above example is the usage of the [L] flag with all the RewriteRule directives. This is used to avoid the cascading of applying the rules when a positive RewriteRule is applied.

Two flags which can be used to further control the way the RewriteCond directive behave are [NC] – case-insensitive – and [OR] – chaining of multiple RewriteCond directives with logical OR.

By using these two directives – RewriteRule and RewriteCond – you can implement a lot of powerfull URL Rewriting functionality on your website.

Other mod_rewrite Directives

  1. RewriteBase Directive – This directive can solve the problem of RewriteRule creating non-existent URLs due to difference in the physical file system structure on web server and the structure of website URLs. Setting this directive to the below given statement can solve this problem.

    RewriteBase /

  2. RewriteMap Directive – This directive is very powerful as it allows you to map unique values to a set of other replacement values from a table and to use it in the substitution to generate on the fly URLs. This can be especially useful for huge e-commerce or CMS kind of applications where you need to replace each section name or category name in the URL with a corresponding id taken from a database.
  3. RewriteLog Directive – This directive can be used to set the log file that the mod_rewrite engine will use to log all the actions taken during processing on client requests. The syntax is:

    RewriteLog /path/to/logfile

    This directive should be defined in the httpd.conf file as this directive is applied on a per-server basis.

  4. RewriteLogLevel Directive – This directive tells mod_rewrite module the amount of information on the internal processing done while rewriting URLs to be logged. This directive takes values from 0 to 9 where 0 means no logging and 9 means all the information is logged. A higher level of logging can make Apache run slow, so a level above 2 is desired only for debugging purposes. This directive can be applied using the below given syntax.br/>
    RewriteLogLevel levelnumber

Conclusion

In this article we have taken only a brief look at the power of the mod_rewrite module. It is only a scratch on the surface but I hope it is enough to get you started on using this module on your web server environment.

What is the Best Way to Start and Create an Original Crochet Pattern?

Hello all you nifty crocheters,

Everyone who knows a little bit of anything wants to make money from it. There’s nothing wrong with that, except that you need to be sincere and careful about the means you follow to make money.

Crocheters are undoubtedly creative people full of ideas all the time. Some of these ideas are inspired by the work of others, while some ideas are completely original. Find the thought of creating an original crochet pattern rather confusing. And I agree with you. There are so many prints and patterns from the work.

For very specific things, to create the original pattern is difficult. For example, please Grandma's Square. Granny square pattern of the original is probably the first time about how one is created when the backup. This situation because of the lack of a comprehensive database of original knitting patterns become more complex in the world ever created!

Anyway, with so many variables, you can still create an original. Consider the following when doing so:

???? Crochet stitches are not copyrighted. You are free to use whatever stitches you like.

???? Understand the difference between original and inspired from. There is a fine demarcation between the two. Take care not to overlap them.

???? Maintain a crochet ideas journal wherein you can jot down all the ideas you come up with.

???? Develop your ideas one at a time. Some will turn into beautiful articles, while you will seriously question your creativity when working on others.

? To note the work of the pattern please. Patterns of type and amount of yarn, hook size, the final size, the capture and use information for the purpose of the pattern in a particular line of a needle, the average time to complete the one used so far , associated with the pattern of anecdotes and personal stories.

???? Use standard crochet abbreviations when writing instructions.

? Write down the details. To do this, you can see a well-written pattern, and take the title. Otherwise, the use of a number of templates available online. To download such a template:
http://www.lolaness.com/CrochetPatternTemplate.rtf

? written instructions for writing so then check pattern. If possible, a trusted friend of crochet is required according to your pattern. Rewriting the way, if you improvise or pattern, it is difficult to follow certain steps.

???? Include additional information such as photographs, abbreviations, tips, hints and alternate uses.

? determine the direction of the extra size, if your model is a wearable. For example, if you come up with a sweater, make it in different sizes, so readers can be the size they want it.

???? Double-check the written pattern for any grammatical or spelling errors. Even a single language related mistake is a complete turn off for many. It immediately diminishes your credibility.

???? Submit the pattern along with its details to crochet web sites or magazines. Some pattern submission links are:

http://www.crochetme.com/submit.html

http://www.leisurearts.com/customer_care/la_information/designs.html

http://www.maggiescrochet.com/pages/designer_guidelines.htm

http://www.breakthroughcrochet.com

Creating and detailed instructions, guidelines published in the original knitting patterns, http://www.associatedcontent.com/article/229853/how_to_create_publish_crochet_patterns.html available

Good luck being creative!!

Apparel pattern design: Three Manufacturing rules for perfect fitted Garments Los Angeles CA

In the design of a garment, and the creation of a first sample a sound clothing design studio house, the rules of the inspection below garments should be perfectly equipped to follow. The process is shown below to eliminate all the work and the problems that may arise in the manufacture of a garment with the assurance that the design patterns have accurate information, correct classification of data, professional sample cutting and sewing the highest quality to achieve 100% customer satisfaction.

Base sketches and samples if they are submitted to the house design studio will be hard on your pattern. After testing this pattern in your fabric, they can determine any problems with shrinkage and fit. All modifications are included in the fit is often a pattern to make a full price of the package.

After your approval of this standard will digitize the tracks on a standard computer system in preparation for grading and marking.

?1) Pattern card design

A pattern card sheet is a sheet containing all the necessary information for the making of your design. This pattern card is created once your pattern has been made and must have a complete list of all the pattern pieces the make up your design. Sewing details, trim details and thread detail information if any should be written down to insure proper garment construction.

2) mode, balance, accurate cutting

Once your template document has now become the time to identify whether the special dotted paper for proper alignment line grain before your plan is to cut cloth to avoid losing the balance of your clothes when the garment is hanging on a hanger and to insure proper fit.

3) Pattern classification specification sheet

Finally, Once your prototype sample has been made, fitted, corrected and approved for production, Grading specifications should be recorded on a grading specification sheet were your design will be graded into the many size range categories according to the type of figure your are working with. A Grading Specification Sheet is a Sheet containing all the measurements for all your pattern sizes including your base size example (M) or (10) from which the pattern will be graded up or down according to your own in house specifications submitted or according to your client specifications

Latest Imformation of Noritake Patterns

There are only a few occasions when most people think about fine china and place settings. One of those is when a loved one passes away and people debate who is going to get Grandma’s china, and the other is when a bride to be picks out her pattern for gift registry. Beyond that china and its distinct patterns are usually forgotten about until the holidays or special occasions. While there are a wide variety of different styled patterns made by several manufacturers, many people are biased toward the look of Noritake patterns. For just over a hundred years, this Japanese company has been making china that has graced the tables of the famous and not so famous.

The company began Noritake first export of beautiful tableware in 1904 after Japan and the United States opened trade. Before long Noritake patterns were popular in the U.S. and the world. The tradition continues today and through the Internet, can be found even pieces of Noritake patterns that have been discontinued.

The people at Noritake not limited to one type of China. There Noritake patterns available in the bone white china, and China. Their formal designs are exquisite and come in such a wide variety of patterns to emphasize no formal dining table. A pattern that receives high praise is Noritake Sheer Ivory. This pattern adds a soft elegance to a special occasion. Another popular model in their line of Bone China Royal Piermont White. Noritake This pattern is pure white and shows the good taste of the owner, with its simple and refined appearance.

Fortunately, the graceful arms is not necessarily only in special occasions. The company also produces a strong, beautiful everyday tableware line. A more sought-after product is Keltcraft pottery. This model is actually produced in Ireland and rugged enough to withstand the lovely children, and enough for everyday use to find a special candlelight dinner. Another example of a leisure-Wu model is Versatone China. Again, this model is perfectly suited for everyday use, and look forward to doing so. With regard to the benefits of Wu casual tableware, all of this from the freezer to the oven or microwave oven.

For their accents different tableware patterns, Wu is also a fine home, crystal wine. Crystal Wu model is every mouth blown and hand-decorated with intricate perfect results every time. There are also crystal wine with 25% lead crystal content. Although the wine is beautiful itself, it is intended to commend the cutlery Wu model.

For a century now, Noritake pattern, the first choice for brides and porcelain have been collectors. The extensive selection and well-made products by the Japanese company's top picks for men made with sophisticated tastes. From formal to casual Noritake tableware his extraordinary crystal, each piece is carefully made for the beauty and durability.

University of Ife Mr. Moyo Ogundipe has a Bachelor of Art degree of art, from the Ile Ife, Nigeria, once Masutafainato Hoffberger School paintings, Karejjiobuato University of Maryland, Baltimore, is a painting from the United States.

One of Africa’s most celebrated and renowned cubism artists, Mr. Ogundipe has exhibited extensively in Africa, Europe and the USA. His paintings have been described as hypnotic, colorful and densely patterned.

In 1996, Ogundipe was awarded the Pollock, Chrysler scholarships. In 2005, he was invited to become Africobra, in the 20th century, 60 years to set up a member of the organization, its members well-known black artists.

Find and buy art online from Moyo Ogundipe at www.Maigida.com.