Tag Archives: web developement

HTML-Next-Version

HTML Next Version?

HTML(Hyper Text Markup Language) a markup language to create web pages, that keeps on rolling new versions, currently HTML 5 is used which is one of the most stable version of the HTML compare to all of the previous HTML versions, but what will be the next, will it be HTML 6 or new updates in HTML version 5.

Many people say that HTML5 is the final version of HTML and all new updates will come to the same version and some say a newer version of HTML will come.

What is HTML?

HTML is written in the form of tags, called HTML Elements. These opening and closing tags are enclosed in angle brackets(also known as opening tag and closing tag) like <h1> and </h2>.

In HTML some tags represents empty elements and are unpaired like <img>(image tag).

Web Browsers read these HTML tags, but they do not display the written tags or scripts, they compose the HTML files and display visible pages.

HTML5 the latest version:

HTML5 together with CSS3(cascade style sheet) Java Script and Jquery has given a new look to the design and development of web pages.

It brought many syntactic features like audio and video support, offline data storage, responsive/mobile optimized web pages,.
It also introduced tangs like <link> and <script> to integrate CSS and Scripts with HTML, giving us freedom from using type attribute.

More over it also helps developers to organize the content in a more better way than previous versions by introducing new tags like <article>, <section>, <header> etc.

But still it is underdevelopment and is not a truly semantic markup.

What will be next?

As HTML requires more upgrades, just imagine if we will be able to use tags like <logo></logo> for displaying logo of the web page, using tag <toolbar></toolbar> for creating menus, instead of assigning ID like wrapper and container to the <div>, if we are able to use the tags <wrapper> and <container>, i.e. instead of using <div id=”wrapper”> we can simply use <wrapper>.

Lets create an example with using the above mentioned new tags and see how the code will look like:

HTML-6-Example

That will be even much more easier and content can be managed more precisely than the current version of HTML and there is possibility that sooner or later we will be able to use tags like this.

But the question arises what will be the next?
Will it be a whole new version HTML6?

Or

There will be upgrades in the current version i.e. HTML5?

What do you think?

Comment below to give feedback and also write your suggestions.

Thank you.

Note: The above code is just a sample code, we currently cannot implement it as these tags are not available, and I am not sure that these tags will be available in the future with the upgrades, it is just a suggestion, how the HTML in future will look like and how easy it will be.

Code Desk Blog CTA

Implementation of Search In Umbraco Using Examine

In this tutorial we will implement search in Umbraco, without using any plug-in. We will use examine and razor view in this tutorial. First let’s have a short intro to Umbraco and what is Examine.

Short intro to what is Umbraco?

Many Content Management System are used in the world today like (WordPress, Joomla, Prestashop Durapal etc.). One CMS that is not commonly well known is Umbraco.

Umbraco is an open source Microsoft .Net Content Management System (CMS) that runs some of the biggest site on the web. It has the flexibility to run from a small website like (small campaign or brochure sites) to full complex web application.

Umbraco has a very friendly CMS system but the best thing about Umbraco is that you can create any complex application using Asp.net (web forms or MVC).

Examine

Examine basically used lucene.net as its search engine. Examine using lucene.net provides very powerful and fast searching and it is also very simple to use.

We can perform quick search on very large data using lucene.net, Examine uses the lucene.net search/index engine and allows us to index and perform search easily.

This tutorial will show how to use examine to implement search.

Configuration of examine

For the configuration of examine we require these to config files.

/Config/ExamineIndex.config
/Config/ExamineSettings.config

ExamineIndex.config

Here we will create a new index set which contains the information of doctypes we want to index.

image-1

Place this indexset just below the other

SetName is the reference, or the alias if you like that we want to remember when were gonna call the index from our providers.

IndexAttributeFields defines all the default Umbraco fields that a node contains such as name, nodetype and more.

IndexUserFields is the alias of the custom fields you have added to your doctypes.

IncludeNodeTypes is the alias of the doctypes you want to search through.

Examine Settings.config

Here we want to do 2 things, adding index and search provider. This index our data and give us the search option.

  • Index Providerimage-2

Paste it before

</providers>

</ExamineIndexProviders>

  • Search Providerimage-3

Paste it before

</providers>

</ExamineSearchProviders>

Now go to Umbraco admin panel and in setting go to document types and create a new document type search. Now create a new tab “content” and add the following two generic properties using content tab.

image-4

Now do to the home document type or the main document type of your web and go to the structure tab and click the check box with search document type in “Allowed Child type nodes”.

Now we will create a new PartialViewMacrofiles (Search.cshtml) and paste the following code.

image-5-1

image-5-2

image-5-3

Using this macro partials we will create a macro, go to developer section in macro create a new macro Search

image-6

Now we create a search template. Go to setting in Umbraco Admin panel and in Templates under master layout create a new template, according to your design add the following two lines.

<h1>@CurrentPage.PageTittle</h1>

<p>@CurrentPage.BodyText</p>

Now go to the content section, create a new page as name as search and in the boddytext call the macro.

image-7

Now the last step is to create a search box on your page, add the following code in master lay out

image-8

I have used a image as a click search button, you can create it your own way. Now to perform search on inner pages add the following java script code.

image-9

And finally here are the search results.

image-10

Blog-CTA

3 reasons why web development thrives the business of a company?

3 reasons why web development thrives the business of a company?

Regardless of how small, large, thriving or ‘business stagnant’ a company may be; they are considered to be physical entities and hence forth, possess an identity. That identity translates in to a quality product or service that customers are searching out for.

In a digitized world, where companies are able to make themselves and their brand recognized, web development serves as one of the portals that can enable the stagnant business of company, to be turned in to a thriving one.

Web development aids in creating a long lasting identity

Web development aids in creating a long lasting identity

As stated earlier, companies are physical entities and therefore possess an identity. While it may possess an identity, its real purpose is to create a long and lasting identity in the form of a positive image for customers. Now, as all things go, creating that positive image does not occur overnight.

However, web development provides a large and even platform that enables the business’ identity to grow with proliferation. In simple terms, what that means is that in addition to the logo, signage, clothes worn by staff personal, color of objects such as walls and furniture; all of those elements add up to building the identity of the business.

However, one element that differs from the rest in providing the whole package for an identity happens to be a website. A working website features a logo, the colors, photos, even the message and font present in the text that reveals the identity of the business.

A working website for a company ensures that the identity of your business exponentially increases in terms of popularity and quality in the eyes of customers.

Layout and design piques a customer’s interest

Layout and design piques a customer’s interest

There are several other factors that contribute to the thriving of a business. One of them happens to be a clean well organized design radiating from the company’s website. While people have gotten to know about your identity, it is time that they get a chance to get to know your brand at a ‘customer to business’ relationship.

This starts by visiting the website to acquire the necessary information. Unfortunately, making it too difficult for people to find that information can result in a quick exit for that individual.

Perhaps if users are feeling generous enough, they will make one last ditch effort to visit your website to see if the information present has changed in to a more ‘user friendly’ presented way. If it isn’t, then basic human behavior suggests that it will be last time they will visit your website. Web development offers perfectly customized layouts that ‘play ball’ well with the identity of your business.

A content management system present in web developing also helps you to manage and edit the content present on your website effortlessly.

Optimizing the website

Optimizing the website

Web development also plays a paramount role in ensuring that the website will be indexed by Google’s mammoth search engine, allowing the right form of eyes to view the kind of information they are looking for in a product or service.

In order for the right eyes to start viewing your wide array of products or services (it can also be a single product or service), website layout through proficient web development is imperative for proper search engine optimization.

Retaining a physical and a ‘positive impression’ identity is a great way for business to start pouring in. Web development lends out a dozen helping hands in ensuring that thriving business is made a reality.

How to Create Local Package in Umbraco 7

In virtually all open source projects that are particularly within the CMS i.e. content management system space, add-on modules are available that both the developers and editors can install to improve the system functionality. You’ve probably heard them being called as apps, modules, add-ons, plugins, and extensions.

Following is the guide to creating a local package in Umbraco.

1

1. Right-clicking the Packages node in the Developer section, as shown in Figure.
2. Name your new package xxxx by filling in the name field in the resulting popup.
3. Fill in all the fields in the Package Properties tab, as shown in Figure.
Package URL: The URL of the site where this package is described/documented.

Package Version: That is, 1.0 or 0.1 and so on.

Package file: This field remains empty until you publish the package.

Author Name: Full name of the author of the project. Contributors can be added to the project details when uploading to the community site, but only one author should be listed as part of the package details.

Author URL: Your blog or corporate site URL.

License Name: Researching the license model for the package is up to you. The default is MIT, just like the Umbraco core.

License URL: This would be the URL for the details of your license.

Read me: This field is your opportunity to educate the installer of what the package does and to include any special instructions.

2

4. Click the Package Contents tab and select the applicable elements to include.

3

 

5. .xslt and .ascx files for your macros will be added automaticly.Before publishing the package, all media objects, partial views, plug-in will be added manually in package file tab.

4

6. In addition to using the built-in tools for creating packages, you can extend the functionality by using the Package Actions tab. Package Actions are a means for you as a developer to execute common tasks during and after the installation process of a package. The actions are configured as instructions using XML. Examples of usage for these  actions include adding an <umbraco:macro /> tag to an existing template, allowing a document type as a child element of another, or moving nodes in the content tree. For example,

ACTION ALIAS: add Application
Description: Creates a new application and adds it to the database.
Sample Code: <Action runat=”install”
[undo=”false”]
alias=”addApplication” appName=”Application Name” appAlias=”myApplication” appIcon=”application.gif”/>

7- Once published you may download it from created packages.

5