⭐ If you would like to buy me a coffee, well thank you very much that is mega kind! : https://www.buymeacoffee.com/honeyvig Hire a web Developer and Designer to upgrade and boost your online presence with cutting edge Technologies
Showing posts with label CSS frameworks. Show all posts
Showing posts with label CSS frameworks. Show all posts

Wednesday, March 25, 2015

How To Keep Framework Development Simple And Bug-Free

It’s just like that for your product, too: people rely on our products to work. Bugs erode trust, which in turn loses customers. So when we began updating Foundation, a responsive CSS framework, we wanted to ensure everything worked. Thoroughly. We know that many people rely on our software for their work, and maintaining that trust is paramount.
In this article you’ll learn our methodology for testing responsively, not just on a case by case, page-from-PSD comp. See, we’ve developed a certain system to make sure that nothing’s broken at launch on different devices.
Firstly, how do we define “broken”? There are degrees of problems. Parse errors are clearly bugs. But other issues were more difficult to classify. For example, we once had a download button on a busy page that no one seemed to find. We defined this as “broken user feedback,” and treated it as a bug, even though the button worked fine.
It’s not enough to look for blatant bugs. You have to be thorough: in execution, in accountability, and in direction.

Test Ideas From The Start — Even Before Code

Long before we reach a more organized review process, we work closely with our customers to test ideas before coding them out. They’re involved from day one in a project, contributing ideas and feedback as we decide how best to solve a problem.
Remember that “broken” isn’t just about parse errors. Bad ideas and broken user flows kill a project just as much as users reporting error messages. So we start with our favorite tools: Sharpie markers and Copic shaders.
We love sketching. It’s not unusual for a designer to sketch a few hundred ideas for each user flow or view, and visit a client with 30–50 pages in hand. They’re both easy to make and to throw away. Five minutes with a marker on an idea that doesn’t work is preferable to an hour on that same idea in Photoshop.
Sharpie sketches are surprisingly useful to help us prevent problems at a high level. Especially with responsive web design, each page must have different configurations for various screen sizes, device capabilities, or other factors. A few quick drawings show:
  • What appears (or doesn’t) on each page per configuration
  • How those elements are arranged
  • Our favorite hero pic will get sized down how small on mobile devices…?
Sketching the same site at different sizes gives us a rundown of design problems before they happen, at least in the broad strokes.

Use A Visual Checklist

As designers, we’re visual people. Our engineers are also known to sketch their ideas to communicate with others. And when we create responsive designs, we tend to sketch desktop-first — it’s visual, clients get a better grasp of the structure and style, and we’ve been designing for wide screens for much longer than mobile devices. We just feel more comfortable with the process this way.
Yet mobile matters, so we found a visual way you can stay accountable to yourself: with a visual checklist. Here’s how it works.
  1. If you’re working digitally, print your work. Nothing beats a hard copy for quick, disposable edits.
  2. Circle the point of the page: A call to action, a _____, or a _____.
  3. Cross out every element — except those that paint a direct path to that circled element. For example, on a marketing site we might keep a hero image, a paragraph of descriptive text, and… that’s about it. Kill the sidebar, zap the footer, and even the navigation bar. Show no mercy. It’s only a bit of paper.
Everything that’s left are the essential elements. The core of the page.
  1. Sketch out — yes, we recommend going analog with detail-defeating Sharpie and paper — a mobile version of the page with only the essential elements you defined earlier. Lay it out with the same considerations you’d use with any design.
  2. Once you have those elements roughed out, add back the elements you previously eliminated — but support the entire site. Navigation, for example, or the link-laden footer.
The visual checklist approach is tricky to learn, and worth the effort when paring down a website for mobile devices. But it’s just the beginning. After you code up your work, it’s time to test.

Test The Execution In Real-World Conditions… Or Else

In terms of responsive web design, simply resizing your browser window doesn’t cut it beyond a quick check. To be fair, it’s a rare day when we don’t play with our browsers’ window sizes for brief glances into responsive design. But we also we test on real devices. Our design thinking process involves quick iterations with lots of feedback. Soon after we begin to code, we begin to test.

This is especially true as we work on new versions of the framework. We know that we need to support about a dozen different devices to catch the majority of use cases. While we don’t have a full-on device lab, we do test upcoming versions on about 16 devices, both iOS and Android, plus the major modern desktop browsers. Services like Litmus also play a role in our testing, though they don’t always provide that necessary hands-on experience. Pun intended.
Speaking of hardware, we also learned to test servers the hard way. Another framework we developed, Foundation for Apps, uses a command line tool for installation and updates. During development, the code worked fine in every test — well, maybe not every test, but that’s the development cycle for you.
Still, it improved. And with refinement, installing the framework became so reliable that we didn’t question it. The code just worked. Which is why, on the eve of launching it, we were shocked to discover it failed to load on our production server.
A minor difference between our development system and the live one would have spelled disaster at the last minute… except that we applied our test methodology to our products even as they move to different servers. Since then our best practice includes testing our work on live servers, but before deploying it — and certainly before announcing it.

Use A Spreadsheet Tracking System

Solving technical and design problems is hard enough without overhead, so we rely on a plain ol’ shared Google spreadsheet to keep track of what works and what doesn’t. Specifically, we track everything that can be clicked per page or view. The rules are deceptively simple.

Colored backgrounds indicate:
  • What works
  • What fails
  • What partially works
  • And what hasn’t been tested.
Every cell in the spreadsheet starts out default white. Then we color green every function that passes muster or — we admit — often red and yellow, which mean broken and questionable, respectively.
Each column describes a page or view per state — or circumstances under which each page is loaded. For example, administrators and users may see the same dashboard, but with different controls. Those are two different columns.
The spreadsheet is a great overview, but our developers use GitHub to track issues and report success. So we include GitHub issue numbers in the spreadsheet’s comments: every cell that indicates a code problem also links to the issue in GitHub. Thus our engineers, who refer to the same spreadsheet as our designers, can stay on top of issues and mark items green as they’re solved.
Over time, the spreadsheet steadily loses its red and yellow boxes in favor of green as we fix bugs. Of course, we also discover new problems, and sometimes invent new things that must be tested. Everything gets added to the spreadsheet.
Not only do we use this for client projects, but we also test upcoming Foundation versions this way. Each component and their functions have expected behavior. Each gets a column in the spreadsheet. Does it work under Internet Explorer for Windows 7? How about Chrome for Mac OS X 10.10? And so on.
For example, we provide many free starter templates to use with the framework. Every one of them failed in Firefox — a long red streak along our troubleshooting spreadsheet. We had accidentally pushed out code without first running its CSS through the Autoprefixer. The issue was easily resolved, but underscored to everyone here the importance of testing, testing… and testing again.

Going Forward (And Sliding Sideways)

When released off-canvas navigation component to make sliding menus a snap on any modern browser, ran into a number of unexpected issues. Obviously when it comes to complex components, you wouldn’t just list Internet Explorer, but you would list all the versions supported in the spreadsheet. That’s what we did, too.
It was a good thing, too, because to our surprise the initial off-canvas animations didn’t work in IE9. Instead, the panel just sat on top of the page, obscuring a good chunk of the layout and refusing to get out of the way. We had to rethink certain CSS techniques and — after ensuring it worked in our supported versions of Internet Explorer — ran it through the QA gamut again to be certain that solving for one browser didn’t break another.
Half of developing a tool isn’t the creative work — it’s the time taken to make sure the creative work works. We address different degrees of “broken,” from ill-considered ideas to implementing the good ones; testing under a variety of circumstances; and ensuring that we cover as many bases as we can. It doesn’t take complex tools to stay accountable. Our spreadsheet approach works because it’s simple and accessible.
Is it perfect? No. But when problems arise, our hands-on system makes solving problems relatively quick. The result is a solid foundation that many designers have come to rely on.

Thursday, September 11, 2014

CSS Frameworks is not that hard to understand

Web developers are often heard talking about CSS Framework and its applications. One might wonder what it is in fact? I mean web is crawling with discussions over the pros and cons of a CSS Framework and then Twitter, a social networking site launches Bootstrap which leaves you bewildered whats all the fuss?


To understand a CSS Framework one must know what a framework is. A framework can be defined as a compilation of codes arranged to make a particular job easier. It merely acts as a tool to accomplish your work likewise a CSS Framework is a pre-coded software that uses Cascading Style Sheets meant to create a web design which is in tandem with the global standards. Apart from the grid system and design oriented features many CSS Frameworks also use functions based on JavaScript.
A Framework can be divided into a Front-end CSS Framework and a Back-end Framework. To choose the correct framework one has to understand the nature of the work. Is it design oriented or is it logic oriented? Frameworks can be for varied applications such as connecting the database to the HTML page using PHP, Ruby etc.(Back-end) or making the design and layout of the web page using HTML/CSS, JS (Front-end). Due to reasons solely based on general popularity only Front-end Framework would be discussed.
Front-end CSS Framework -
Front-end CSS Frameworks are in fact functions made up of standard codes and structured files and folders(CSS, JS)
They comprise of:
  • CSS grid system which allows the web developer to arrange and manage the various element of website design in a simple manner.
  • A database of various styles of Typography for HTML elements.
  • Browser compatibility modules and codes so your website can be easily made compatible across different web browsers.
  • The standard CSS classes help the developers to invoke advance UI styling into there codes.
Since advent of responsive web designs all the upcoming frameworks are responsive in nature i.e. they offer responsive websites.
Front-end frameworks can be further classified as simple and complex frameworks where the selection process is completely personal needs depending upon the versatility required.

Simple frameworks: Simply termed as “grid systems” these offer style sheets having column system which aids the arrangement of various elements pertaining to standard design. To name a few- Mueller Grid System etc.


Complete Frameworks: A potpourri of features like icons, buttons, forms, typography and many such elements built to provide a responsive web design having HTML templates, alerts, popovers, navigation, etc. To name a few- Foundation, Boilerplate, Bootstrap, etc.


Apparently, these CSS Frameworks rule the majority of internet and now that you have learned about them don't act naïve in front of your web designer and make your requirements clear.

Wednesday, September 10, 2014

CSS Frameworks : First Step to a Responsive Designs

As an aware consumer one always looks for products or services which offer best possible solutions at a reasonable price. The more he/she digs the better are his/her probabilities of making the right decision at the time of a judgment call. Hence the blog, my reason to impart whatever knowledge I have gained with time, an insight helpful if you are a web designer or a curious onlooker, to help you make an informed decision.
I present you CSS Framework, a set of codes meant to ease your work and give you the best of both the worlds. Aesthetics and performance embedded with responsive web design. Unlike the myth that ready made objects lack the substance of beauty and elegance a CSS Framework offers both, a simple front-end design codes which enables the developers to imbibe them into their main program and an aesthetic appeal, as relevant in generating leads as a responsive web design.
A CSS framework in short is:-
  • An intelligent set of codes to incorporate HTML, CSS and JavaScript in compliance with the standards of the industry.
  • They are used by front end developers to invoke the code of the framework into their main HTML code via classes.
  • Commonly known as Front-end framework it is divided into two categories- Simple frameworks and complete frameworks.
  • Simple frameworks consist of grid layouts and designs whereas a complete framework contains all the tools required to make a responsive web design.
  • A complete framework has many tools and widgets-
    • Typography
    • Grid Styles
    • Iconography, pagination, breadcrumbs, etc.
    • Type of forms, and styling tools.
    • Generate equal height with equalizer
    • GUI widgets, video or sideshow, modal dialogs, tabs, etc.
  • SASS or Syntactically Awesome Style-sheets and LESS are used by complete frameworks.
Granted, a CSS Framework is not the absolute authority on beautiful and sturdy websites with crisp code and high performance. One may argue when a back end programer can make a complete website out of scratch with all the above qualities then what is the relevance of CSS Framework over conventional Back-end programming?
  • Lets me put it like this, "If you wanna go hunting, there is no reason to make a spear."
  • If you do think about the necessity to make a unique spear for yourself mind you, this hunting trip is gonna cost you more than your camp gear and boots.
  • Okay, too much metaphors. It is cost effective to a large degree and the output is simply impressive.
  • Responsive web design made easy.
  • The code is well arranged and simple.
  • Cross browser comparability.
  • Saves a lot of time for both the designer and the customer.
Responsive Web Design is the need of the hour, I believe on this we all are on the same page . Having established the versatility of CSS Frameworks, let me offer you an insight on the best possible responsive frameworks available today.
  • Bootstrap: There is no such list of CSS framework around which does not talk about this versatile invention by Twitter.
  • HTML5 Boilerplate: An HTML5 framework that provides a solid ground to build your website and the ability to combine it with other frameworks.
  • Toast: It is literally a toast to simplicity be it responsive grids and box sizing the complete process feels like playing with a toy.
  • Gumby: Another soldier in the unit of responsive frameworks. With Gumby 2.6 build your websites with ease and agility.
  • Yaml: Build on SASS, Yaml is another marvel in the field of CSS Frameworks that make a responsive web design feel like another trivial code.
  • Foundation: No list can be complete with this product of Zurb built with SASS preprocessor is one of the most advanced responsive framework that present today.
Believe me, you will fall in love with your website once it is completed. One of the most satisfactory feeling in this world is to see the outcome of your own blood and sweat built into a beautiful and responsive website.