Servage Magazine

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

Archive for August, 2014

Will we still use wireframes?

Monday, August 11th, 2014 by Servage
Create Wireframes It is true that we have high-tech software to help in our web as well as mobile development process. Therefore, we can seat with a client and directly prepare decent low or high fidelity prototypes for small to medium size projects with all possible interactions and animations. These high-profile tools explicitly save our time spent on getting ideas, preparing some paper sketch and converting them into the wireframes before jumping into the prototypes. Many of my colleagues do such practices and earn good amount of money and good wills of their patrons, but they are producing mediocre results. We have many creative and seasoned developers who still arrange first meeting with ...

Understanding the cubic-bezier() function in CSS

Saturday, August 9th, 2014 by Servage
Understanding Bezier CurveProgrammers have to routinely deal with graphic design software, which means we are quite familiar with graphic design terminology. One of the more ubiquitous terms, Bezier curve, allows designers to manipulate the control points of convex hulls to create smooth curves in vector drawing software. Corel Draw and Illustrator are 2 prime examples of software that utilize the Bezier curve tool. This article is less concerned with Bezier curve from the graphics designer perspective, and instead focusses on understanding Bezier curve with regards to animators using CSS. Yes, CSS has a “cubic Bezier() Function” and it operates on the parametric Bezier curve fundamentals. There are many kinds of Bezier curves, ...

Why natural-search-visitors are hard to convert

Friday, August 8th, 2014 by Servage
Natural Search Visitors Have you ever closely examined Google Analytics? If not, go and check out the types of visitors and their sources. You will find mainly three types of sources that visitors come from. The first source includes direct visitors, the second one are referrals, and finally, some come by way of natural search, through various search engines like Google, Bing or Yahoo! Direct visitors are those who have your website URL, either in memory of browser cache or in bookmarks. They may have visited your site before or could be newcomers. This type of visitor likely has a good idea what your site is about and your offerings. Thus, they have ...

Javascript functions explained

Thursday, August 7th, 2014 by Servage
JavaScript Function During web and software programming, sometimes we need to write a series of computer statements, to accomplish a particular task or function. Moreover, we have to repeat these lines of code whenever and wherever we want to execute that particular function. Therefore, we pack these series of statements into a single word or phrase which identifies the unique functionality during our programming. This process is referred to as defining function, and invoking function where it is needed with that single word or phrase. We need to define function before invoking or executing it. Defining function occurs at the beginning of programming. With web programming, we generally define function early via the ...

Two-dimensional arrays in PHP

Wednesday, August 6th, 2014 by Servage
ww   There’s a lot more you can do with arrays. For example, instead of being single-dimensional lines of matchboxes, they can be two-dimensional matrixes or can even have three or more dimensions. As an example of a two-dimensional array, let’s say we want to keep track of a game of tic-tac-toe, which requires a data structure of nine cells arranged in a 3×3 square. To represent this with matchboxes, imagine nine of them glued to each other in a matrix of three rows by three columns. You can now place a piece of paper with either an “x” or an “o” in the correct matchbox for each move played. To do this in PHP ...

Incorporating PHP within HTML

Monday, August 4th, 2014 by Servage
php In production, your web pages will be a combination of PHP, HTML, and JavaScript, and some MySQL statements laid out using CSS. Furthermore, each page can lead to other pages to provide users with ways to click through links and fill out forms. We can avoid all that complexity while learning each language, though. Focus for now on just writing PHP code and making sure that you get the output you expect—or at least, that you understand the output you actually get! Incorporating PHP By default, PHP documents end with the extension .php. When a web server encounters this extension in a requested file, it automatically passes it to the PHP processor. ...

CSS for beginners – Step 3/3

Sunday, August 3rd, 2014 by Servage
CSS selectors-2 In part 2 of this series, we discussed Class Selectors as a type of CSS selector. In this post, I will wrap up the discussion on CSS selectors by briefly exploring the remaining types. Unlike class selectors, ID selectors are unique to each page as we never want to duplicate ID tags. These target specific elements in HTML. However, just like class selectors, we must first define ID selectors in the HTML document. We can assign an ID attribute to nearly every HTML or XHTML tag. For instance: <p id=”margin”> Or <div id=”margin”> Once you define ID attributes in the HTML (above, the next step would be to define ID selectors in CSS. Generally, a ...

CSS for beginners – Step 2/3

Saturday, August 2nd, 2014 by Servage
CSS selectors In part 1 of this series we introduced the syntax of CSS and its components like selectors, declarations, and comments. In this second part we will look at the various types of selectors in more depth, along with some code samples. This helps in understanding the practical use of CSS selectors. The most fundamental selector is the type selector. As discussed in part 1, it names the HTML tags, which are desiring an applied style. In order to assign a style, you need to first write the name of the appropriate HTML tag. For instance, if you wish to change the color of a heading (h3) from default black to yellow, plus ...

CSS for beginners – Step 1/3

Friday, August 1st, 2014 by Servage
CSS SyntaxAs I am addressing novice programmers of CSS in this post, I presume they may have some knowledge of HTML. Hopefully, they understand that what I am providing here is just slightly more advanced than simple HTML coding. CSS strengthens web design, particularly for HTML 4.0 and on. In fact, CSS was specifically introduced to improve the performance of HTML, by reducing a lot of interference within the document and coding itself. To be clear, HTML defines the content of the documents with specific tags, such as: heading (h1,h2,h3…), paragraph (p), etc. But HTML is no longer necessary for defining style throughout a site, as styles often change as well as ...