<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Shajed Evan on Medium]]></title>
        <description><![CDATA[Stories by Shajed Evan on Medium]]></description>
        <link>https://medium.com/@evanshajed?source=rss-6ca10f19daa7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*XbtTNY-u-Gr2od-7oMkq5w.jpeg</url>
            <title>Stories by Shajed Evan on Medium</title>
            <link>https://medium.com/@evanshajed?source=rss-6ca10f19daa7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 22:52:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@evanshajed/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Getting into Front-end workflow]]></title>
            <link>https://medium.com/@evanshajed/getting-into-front-end-workflow-4265261e652c?source=rss-6ca10f19daa7------2</link>
            <guid isPermaLink="false">https://medium.com/p/4265261e652c</guid>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[workflow]]></category>
            <dc:creator><![CDATA[Shajed Evan]]></dc:creator>
            <pubDate>Fri, 13 Mar 2015 10:25:38 GMT</pubDate>
            <atom:updated>2015-03-13T10:25:38.261Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8IcUyaLCo9bq1-7l6zLz8g.jpeg" /><figcaption>Shajed Evan</figcaption></figure><h4>Collaborating team members with automating task managers</h4><p>I work with Professional Services team at Escenic. Our main job is to do all sort of customization to our Escenic Content Engine according to client’s requirement and then deploy web publications. Along with the backend stuff most of the requirements relates to Front-end development processes. As a Front-end developer I have to make sure user front runs on both mobiles and desktops as well as all the major browsers.</p><p>Making a website all browser friendly, device friendly or even optimized are some of the very common “Must Haves” we all try to insure in production level. But when 2–3 developers collaborate together in a project and when all of them starts contributing into Front-end development; two things may happen. ‘Confusion’ and ‘Duplicates’!</p><h4>Common Trends!</h4><p>Most of the Apps or website users are using has a visual interface. It is our job to convert that visual design to a usable, accessible, and friendly website for native device browsers or apps.</p><p>Oh! Wait! That sounds easy! We have so many awesome, mind blowing frameworks now! We got <strong>Twitter Bootstrap</strong>, <strong>HTML5 Boilerplate</strong> or <strong>Foundation</strong>! We have <strong>Sass</strong>, <strong>Less</strong>, <strong>Stylus</strong> as <strong>CSS</strong> pre-processor. We also have thousands of JavaScript plugins of animations, auto suggestions, location or device detection. So no worries DUDE! <strong>Front-end development </strong>is an easy task. I would say easiest of all! I BET!!!</p><p>Is that so? — How you handle all those tasks and combine them together to get a smooth ride with your development process?</p><p>Let me guess a common, broadly followed <strong>Front-End Development Workflow</strong> scenario-<br>You received all the necessary resources to get started. You have the site wireframe, may be the final design of the website too. You want to use <a href="http://getbootstrap.com/"><strong>Twitter Bootstrap</strong></a> as the base HTML framework, which you will download. <a href="http://sass-lang.com/"><strong>Sass</strong></a> for better css authoring with <a href="http://compass-style.org/"><strong>Compass</strong></a> framework. <a href="http://mhs.github.io/scout-app/"><strong>The scout</strong></a> will make your life easier to kick-start a Compass project within seconds! <strong><em>Download Again!</em></strong> Some <a href="http://www.unheap.com/"><strong>jQuery plugins</strong></a> for better client side interactivity; into further extend you may also want to use <a href="http://www.smushit.com/ysmush.it/"><strong>Image Optimization tools</strong></a>. <strong><em>Download Again!</em></strong><br>While banging on CSS styling you found out you need to include a <strong>custom font</strong>! But you don’t have different Font Formats to make <a href="http://www.paulirish.com/2009/bulletproof-font-face-implementation-syntax/"><strong>Bulletproof @font-face Syntax</strong></a>! Ah, you have a solution too! <a href="http://www.fontsquirrel.com/tools/webfont-generator"><strong>FONT Squirrel</strong></a> is here to save your time! So get there, upload your custom fonts, click generate and Baaangggg! You have all the supported formats!</p><p>Ever realized how much time we waste following such manual <strong><em>Front-End Development Workflow</em></strong>? Those countless wasted time could be used for better code quality! You could waste that time somewhere else! ‘A quick nap may be?’ — ZZzzzzzz….</p><p>OK wake up! Time to get into ‘<strong>Smart Front-End Developers</strong>’ group! Shall we?</p><h4>Automate Repeating Front-End Processes</h4><p>Stop downloading each required <strong>front-end component</strong> one after another from their websites. Get rid of copy practices after downloading those into the project folder. Don’t hurt your fingers by clicking on different tools to start different tasks every time!</p><p>There is a better way to automate all these pains taking tasks. Install <a href="http://nodejs.org/"><strong>Node.js</strong></a><strong> </strong>on your machine once! Now sit down in front of your machine when you know you are in good mood and your wife is not going to bug you next couple of hours. Ok ready to do some reading? <strong>Good!</strong> Now browse these two sites. <a href="http://bower.io/"><strong>A package manager called Bower</strong></a><strong> </strong>and<strong> </strong><a href="http://gruntjs.com/"><strong>Grunt:The JavaScript Task Runner</strong></a>.</p><p><strong>Bower</strong> will download all the commonly used or project specific HTML, CSS or JavaScript related resources for you automatically right into your project folder. You have to edit <strong>bower.json</strong> file and define the packages you always use. <strong>“bower install”</strong> command check for the dependencies in bower.json and install them in your project.</p><p><strong>Grunt</strong>, on the other hand will automate the repeating tasks for you as you instruct them to do so. You will need to mention which types of tasks it will run in <a href="http://gruntjs.com/sample-gruntfile"><strong>Grunt.js</strong></a> file. Grunt.js file loads defined ‘<strong>tasks plugins</strong>’ to run for your project. Well, pretty strait forward! But how this Grunt.js will understand what types of packages it has to run defined tasks? We will need another file called <strong>packages.json</strong>.</p><p>If you are looking at them for the first time, you may find yourself ‘scratching your head’! Well, it’s a common scenario! But trust me! It is not that hard to understand the whole process. All it require is ‘Give Time’!</p><p>I will try to show you a practical example below along with code repository for you to download and play with. Before I start, I would suggest you to look at this wonderful slider - ‘<a href="https://speakerdeck.com/addyosmani/automating-front-end-workflow"><strong>Automating Front-End Workflow</strong></a>’ by <a href="https://twitter.com/addyosmani">Addy Osmani</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*znj2pwyvKWWoSgStpNEMeQ.jpeg" /><figcaption>A snapshot of Front-End Workflow package development</figcaption></figure><h4>Collaborating Front-End Workflow in practice</h4><p>When I joined Escenic, front-end development was pretty much the way I mentioned in ‘Common Trends’. I started using my own <a href="https://github.com/themestent/front-end-workflow"><strong>customized workflow</strong></a> using Grunt task runner from my very first project. But to introduce and adopt this process to my team members it took roughly a year and half. On our last project 4 of us worked together using the workflow that suits with our publications structure.</p><p>We realized some big differences. Our development time reduced a lot. Build processes were smooth and effective. Image optimization, css &amp; js files magnification and checking standard rules were very easy. Overall it went well!</p><h4>Confusion &amp; Duplicates</h4><p>But as I mentioned earlier, we faced problems like ‘ <strong>duplicated css rules</strong>’ in different style classes written by different person. Another big problem was ‘<strong>effective file structure</strong>’. We faced quite a lot of problems trying create a new file or wanted to know which <strong>.scss</strong> file does what?</p><h4>Workaround</h4><p>To get rid of confusions and duplicates we are now focusing on scalable css, maintainable sass files structure. Also defining better naming convention with stylegiude.I’m taking help from <a href="http://sass-guidelin.es/"><strong>Sass Guidelines</strong></a> &amp; <a href="http://cssguidelin.es/"><strong>Css guidelines</strong></a>. Just couple of days ago I read this wonderful article on “<a href="http://www.smashingmagazine.com/2015/03/05/automating-style-guide-driven-development/?utm_source=html5weekly&amp;utm_medium=email"><strong>Automating Style Guide-Driven Development</strong></a>”. I completely agree with the suggested method of ‘up-to-date representation and documentation of our website’ user interfaces’. It also drove me to play with <a href="http://warpspire.com/kss/"><strong>KSS Knyle Style Sheets</strong></a>. Hopefully I will be able to come up with some stable solution both for me and my team. Soon I Guess!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4265261e652c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>