Servage Magazine

Information about YOUR hosting company – where we give you a clear picture of what we think and do!

Archive for June, 2014

Some simple web-performance tricks

Monday, June 30th, 2014 by Servage
Web Page Performance Optimization Here, in the user experience era, our fundamental responsibilities are to maximize convenience and deliver excellence for each aspect of our website projects. The most prominent measure of website performance is that it loads rapidly, or loads just before our cherished visitors lose their patience. Diligently, web designers and developers make every effort to reduce the weight of loading documents while and increasing visual optimization. Our community of web designers handles the optimization aspect collectively and continuously, while web programmers aim for increased performance among dozens of other tasks. Web programmers are able to reduce document loading times by utilizing clean, compact, and comprehensive coding techniques. This includes adopting standard coding ...

Wireframes are the background grid for websites

Friday, June 27th, 2014 by Servage
Wireframe designing Websites are our live shops on the Internet, akin to brick-and-mortar shop in real life. When you are building a physical shop, you consult an architect and desire a blueprint of your establishment. This allows you to see the layout of the rooms, partitions, and other items proposed for construction. A rough plan, drawn on paper, is called a wireframe of the actual house. Similarly, when web designers create your online shop or identity, they never jump directly to the development stage using graphic design software or code editors. Instead, they take pen and paper as a first step, drawing outlines of a web page layout. As professionals, they too utilize a ...

Global and static PHP variables

Tuesday, June 24th, 2014 by Servage
OOP_StaticVariable Global variables There are cases when you need a variable to have a global scope, because you want all your code to be able to access it. Also, some data may be large and complex, and you don’t want to keep passing it as arguments to functions. To declare a variable as having global scope, use the keyword global. Let’s assume that you have a way of logging your users into your website and you want all your code to know whether it is interacting with a logged-in user or a guest. One way to do this is to create a global variable such as $is_logged_in: global $is_logged_in; Now your login function simply has to ...

Revive abandoned shopping carts with responsive design

Friday, June 20th, 2014 by Servage
Fear of Data Loss In the financial year 2013, Jumio ran an important study on mobile e-commerce. The results of their analysis indicate that payment friction accounted for a huge loss in revenue. In fact, about $16 Billion is the amount online retailers lost, according to the Jumio study, in just the past holiday season alone. This being attributed to poor user experiences with payment gateways, leading to abandoned shopping carts during checkout. Reading this news compels me, a web developer, to write on the topic of abandoned shopping cart rates by mobile e-commerce shoppers. According to major surveys, 66% of mobile shoppers experience a problem with such transactions, which I find unacceptable. These ...

MySQL Commands – Part 2

Wednesday, June 18th, 2014 by Servage
www Let us continue from part 1. You also need to be aware that if you create a new user but do not specify an IDENTIFIED BY clause, the user will have no password, a situation that is very insecure and should be avoided. Creating a table At this point, you should now be logged in to MySQL with ALL privileges granted for the database publications (or a database that was created for you)—you’re ready to create your first table. Make sure that database is in use by typing the following (replacing publications with the name of your database if it is different): USE publications; Now enter the commands one line at a time. Creating a table called ...

MySQL Commands – Part 1

Monday, June 16th, 2014 by Servage
wThis will be an intro to the most important MySQL commands for your everyday projects. I’ll cover most of these as we proceed, but first, you need to remember a couple of points about MySQL commands: • SQL commands and keywords are case-insensitive. CREATE, create, and CrEaTe all mean the same thing. However, for the sake of clarity, the recommended style is to use uppercase. • Table names are case-insensitive on Windows, but case-sensitive on Linux and OS X. So, for portability purposes, you should always choose a case and stick to it. The recommended style is to use lowercase or mixed upper- and lowercase for table names. Creating a database Get the ball rolling by issuing ...

Futuristic web-design guide to legal sites

Sunday, June 15th, 2014 by Servage
Privacy Policy Web Page Designing Most web designers focus mainly on Home page and Services pages. Then give secondary consideration to their Portfolio page and whatever is left over goes to the Contact Us page as a third tier consideration. Rarely do these designers give much attention to the Privacy Policy page and/or Terms And Conditions pages. The reasons for this make some sense as the general perception for these type of pages is they are a standard sort of legal document. Omitting Privacy Policies and Terms And Conditions pages are unwise, especially where local and national laws require such information to be presented. Moreover, internet hackers, privacy breaches on mobile apps, and other ...

Common mistakes that hurt usability

Saturday, June 14th, 2014 by Servage
Information Architecture in Web Designing Information Architecture (IA) originated from the complex information systems developed by companies or enterprises for their intricate use on digital landscapes. Later, it became popular in web development where UX and Usability have prime importance. Today, we live in the highly complex Internet Era, where our content is dispersed across many devices and multiple platforms. Therefore, simple CMS is not enough to deal with a complex information structure. Modern web programmers have to cope with some or all of the following: large and sometimes multiple databases large numbers of pages where labeling and layout designing is challenging crafting a superior navigation system with good usability offering advanced site search Thus, taking help of information ...

Functions and commands in PHP – Part 2

Thursday, June 12th, 2014 by Servage
php-variable (Continued from part 1) To output today’s date using this function, place the following call in your code: echo longdate(time()); This call uses the built-in PHP time function to fetch the current Unix timestamp and passes it to the new longdate function, which then returns the appropriate string to the echo command for display. If you need to print out the date 17 days ago, you now just have to issue the following call: echo longdate(time() - 17 * 24 * 60 * 60); which passes to longdate the current Unix timestamp less the number of seconds since 17 days ago (17 days × 24 hours × 60 minutes × 60 seconds). Functions can also accept multiple ...

Functions and commands in PHP

Wednesday, June 11th, 2014 by Servage
figure2 The Difference Between The Echo And Print Commands So far you have seen the echo command used in a number of different ways to output text from the server to your browser. In some cases, a string literal has been output, in others, strings have first been concatenated or variables have been evaluated. I’ve also shown output spread over multiple lines. But there is also an alternative to echo that you can use: print. The two commands are quite similar to each other, but print is an actual function that takes a single parameter, whereas echo is a PHP language construct. By and large, the echo command will be a tad faster than print ...