Get all cookies with Javascript

Its very common that we all still use HTTP or HTTPS cookies for storing various data on visitor’s browser. But in HTML5 , you can use local storing various data . I’m talking about the old school for getting all the cookies using the Javascript . Here as we still have old browsers to take care of the cookies.

The jQuery Cookie plugin (http://plugins.jquery.com/project/Cookie) is useful for getting the value of cookies when you already know the name of the cookies you want to query from the browser, but provides no way to get a list of all the cookies that are set already.

The following Javascript function loads them all into an associative array with the cookie name as the index and the cookie value as the value:

function get_cookies_array() {

var cookies = { };

if (document.cookie && document.cookie != ”) {
var split = document.cookie.split(‘;’);
for (var i = 0; i < split.length; i++) {
var name_value = split[i].split(“=”);
name_value[0] = name_value[0].replace(/^ /, ”);
cookies[decodeURIComponent(name_value[0])] = decodeURIComponent(name_value[1]);
}
}

return cookies;

}
var cookies = get_cookies_array();
for(var name in cookies) {
console.log( name + ” : ” + cookies[name] + “
” );
}

You could then get the cookies and write them out into the document like so:

var cookies = get_cookies_array();
for(var name in cookies) {
document.write( name + ” : ” + cookies[name] + “<br />” );
}

You can access cookie information in javascript using document.cookie function, but you will only be able to read the cookies that are on the same domain that the script is being run.

 

Share This!

How To Choose A Web Design Company

The website is the main driving factor behind whether or not people choose to do business with you. Your website is the online face of your business.It is the first point of contact for many of your business partners. Therefore it is very essential to choose the web designing company for making your website any ideal one with mobile responsive.

 

Here are seven things that you have to keep in mind while selecting a web designing company for your websites:  

 

  1. Take a look at the designer’s portfolio.

Like many of the artists, web designers have their own design styles. This means you found out a designer who can  create your website with the exact look that you want for advertising your company. If you have found out a web designing company, make sure that you browse through all the samples of websites on their portfolio.

 

  1. Communicate with the web-designer

 

You are the only person who know what you are selling. No one knows your business better than you. So share with the web designer at least the basic idea about your business. You may have some idea of how you need to present it to your customers. It’s important for your web designer to listen to you. The true sign of a good designer is that they will talk about your company, your services and products to gain a real insight on what angles to take when designing your website. Choose your web designing company who respects your ideas, observing them, and making successful websites by full-filling most of your needs along with bringing their own exciting ideas in front of you.

 

  1. Design your website with CMS in mind

 

It is very difficult to update daily changes for your website if it is designed in pure html way. Always remember that your website must be designed in the latest or most appropriate Content Management System (CMS). Some of them are WordPress, Drupal, Magento etc. Remember to choose your web designing company who does CMS for the websites.

 

  1. Choose a web-designer who knows responsive design:

 

While there are some cases where a separate mobile site might have some advantages, responsive design is generally the preferred solution. As mobile and tablet usage grow continuously, you need make sure your business is optimized for every device. Ask your designer that you need to have your website mobile responsive. It they agrees so, the wright designer is in front of you.

 

5.Select the web designing company who have experience in more than one industry:

 

A web design company who works with a wide variety of industries is most better ones to create a unique ideal website who can reach your websites to most people around the world. It is very important to make your website stand above the competition, not be identical.

 

  1. Good to choose a web designing company who have worked at both the local and national levels:

 

May be your business is local area oriented or abroad. It is necessary to choose your web designing company who works with both type of businesses.

If your designer has worked only with local businesses,then there is no guarantee to fulfill your business goals successfully. The more audiences your designer knows, better will be your website and it will definitely help you to reach your business goals. You need a designer who can think both big and small.

 

  1. Check whether they keep up modern design trends:

The last thing you want from a new website is a design that looks unique and should be the most better one. A web designer needs to keep up with the latest technology and modern design trends. Customers are much more likely to trust a business if their website looks modern. A web designer needs to be familiar updated design trends and responsive version. It doesn’t mean that the website which contains new design trends completely is the better one. It means there needs to be a balance between both. A website has to do more than just look fresh.

 

Share This!

Ecommerce Sites Things You Should Know

Ecommerce sites are the new trend these days. Before you talk to a Web Development agency or start investing a huge amount onto this new online business idea, there are things you must consider.

First Thing You Should consider is the Budget.

Based on the budget, we can opt for custom made ecommerce solutions or ready made ecommerce platforms.There are a number of ecommerce platforms/engines available like Woocommerce, Opencart etc which can be used if you have a limited budget. But these Platforms are not a scalable if you have a longterm plan. But they would be the best way to give life to your idea in an affordable rate. Maybe you can give it a try and then if things go well then you can switch to a custom solution.

Second important thing to consider is the volume of Products

If you plan to open a online shop with 50 products, then the best way to get it done would be Woocommerce or Opencart. But if you plan to start with 1000s of products then you should go for a custom made ecommerce application itself. I dont have anything against readymade ecommerce solutions, but most of these free open source applications carry a lot of weight and are not optimized, it can affect the performance of the site especially when you have a lot of products. But this is not the case if its 50-100 product website.

Custom ecommerce solutions will obviously cost more than readymade platforms like Woocommerce, Opencart or Magento.

Conclusion

So the conclusion is that you should choose a solution based on your budget and the volume of the products you intend to sell. so the next questions is, what will I do if I have 1000s of products to sell and my budget is low? I would say please try to increase your budget :).

Share This!

Will my Website be Hacked Or How can I prevent it?

Hi, Well everyone seems to worry about this one problem, about website hacking. And its true it is something we all should be worried about. We can see that hacking has become a popular method of breaking someone even if its just a difference or opinion between two groups. But its for real it happens and below are some points which will help you to make sure your website doesnt get hacked.

1. Use Strong Passwords

Make sure you use strong passwords for your websites. Strong passwords will always have special characters, Lowercase and Uppercase letters in them, so that it will be hard for hackers to find the right combination and break our credentials. Most people use simple passwords like their birthday info or just typing in 12345, all these are done just for ease of remembering them, but they do not understand the vulnerability of such passwords.

2. Make Sure you dont Share your credentials with anyone

Be it the cpanel detail of your server, or the credentials to your domain cpanel or the backend of the website, please make sure they are not shared with anyone.You may have to share it with your web developers, but you can always change them as soon as their tasks is completed.

3. Change Password Regularly

Make it a practise to change your credentials every month or every 3 months which is a very fine practise to safeguard the credentials. You must have noticed that Sites which involve financial transactions usually prompt us to change credentials of our account on regular intervals and their intension is also the same. To safeguard us from Hackers.

Share This!

How Good is Wix , Weeble or Squarespace?

Lately we see ads about a lot of free website building sites or companies, To name a few they are Wix, Weeble and Squarespace. I must say they have got quiet popular. Well how wouldnt want a free website especially when you can get it done in a few steps using the premade templates these Services offer.

But the sour truth we need to understand is that, nothing comes free. How do you imagine these websites make money. How can they exist without charging you? So lets understand the hard facts, What you receive for free will be a very simple version of what they offer. They just use the word free to navigate you to their website and make you understand their service.

The next bitter truth is the using such sites will not build any organic backlinks for your website or bring organic traffic. Well we all build websites so that they show up in Search engines when a target customer searches for a business.

The Next big issue is that when we subscribe for such services, we are just using templates that they have in their store not a custom design, nor do they offer custom designs. And the other thing is that once you spend money or their service , I mean for the advanced options, and then you go on and one day you want out. Let me tell you its not possible. You will not be able to migrate your site to a different provider. You’re stuck with them for the rest of your websites life.

Conclusion: Don’t waste your time and money subcribing for such services where you’ll have your business placed on, online presence in today’s business world is a requirement but you need the right one in order to be able to compete and grow on it’s basis, don’t make the mistake so many has already made believing on ad campaigns directed to all of us and representing the wrong message. Finding the right web design company is not always an easy path but still it is the right choice and the only one that can bring you what you really need without complications.

Best of the lucks in you online endeavor and avoid free website builders companies always!

Share This!

Web Design Trends For 2017

Here are some of the popular Design Trends we see in 2017.

1. Parallax

Parallax has become very popular, and that too for a good reason. It brings in a lot of visitor attention with every scroll. Well parallax has its own negative sides its true but its does grab a lot of attraction making it very popular these days.

Its the age were we websites are 50% or more with Graphic. Big Pictures, Large Sliders etc are the new trend. Great Photos with Some custom cool effects will always help your website and will certainly be an addition to the overall user experience.

2. Flat Designs

Not Sure how this became a trend but in the old days designers used to come up with complicated designs and to show off. But those are all changed now. Flat Design is has stolen the show now. Flat designs are simple but elegant, It brings in a minimalist feeling and user experience. Even Industry giants promote flat design concepts. This trend that came in 2017 is revolutionary.

3. Animations

Man Animations are back in business. Who wouldnt like some cool animations in their site. Animations saw a decrease in popularity after Adobe Flash went down and other compatability issues of flash player. But thanks to HTML5 , they are back and are once more stealing the show. HTML 5 animation can load without any other software installed into the browser. Designs have become more interesting with them coming back.

4. Video Background

This was something which was unthinkable in the past, but yes now its the new trend. Video background and Video loops will be used more in the days to come, The Days of static images might end as the Internet is getting faster and videos will replace images.

Share This!