<?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 Saif Ebrahim on Medium]]></title>
        <description><![CDATA[Stories by Saif Ebrahim on Medium]]></description>
        <link>https://medium.com/@omgitssaif?source=rss-a9f846f2c137------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*EcnhKJyK3tb9z1nl.</url>
            <title>Stories by Saif Ebrahim on Medium</title>
            <link>https://medium.com/@omgitssaif?source=rss-a9f846f2c137------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 12:30:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@omgitssaif/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[Building a mobile application]]></title>
            <link>https://medium.com/@omgitssaif/building-a-mobile-application-dd72d8543821?source=rss-a9f846f2c137------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd72d8543821</guid>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[phonegap-apps-development]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[web-design]]></category>
            <dc:creator><![CDATA[Saif Ebrahim]]></dc:creator>
            <pubDate>Thu, 02 Feb 2017 20:31:58 GMT</pubDate>
            <atom:updated>2017-02-02T20:31:58.192Z</atom:updated>
            <content:encoded><![CDATA[<h3>Requirements</h3><p>Before even setting pen to paper, or designing a single thing, you need to figure out what it is you’re building, and what the scope is. It’s easy to get carried away with features and go down an endless path of “Oh wouldn’t it be awesome if the app did this! and also this! oh and people should be able to do this”, and before you know it, you have so many features that you can’t get an accurate feature versus cost model. Is your “cool feature #3” really worth an extra 25% development time and cost?</p><p>So bottom line, figure out what you want the app to do, what is the key functionality you’re trying to achieve with the app. Ask questions around that key functionality to get an exact idea of what you’re building. Focus on that and you will have an accurate baseline for exactly who you need to hire, what you need to code, and how long it’ll take. One thing I’ve learned from building websites and apps is draw a line in the sand, get there, then set the next set of goals, and work towards that.</p><p>Enough preaching, let’s look at a real example of an app I worked on for a large national retailer. We first defined the key functionality of this app:</p><ul><li>Users will upload pictures from their phone into the app, and within an hour, pick them up from the retail location nearest to them.</li></ul><p>We then asked questions around that central functionality to determine the scope of the application, how much time it would take, what type of engineers we need, etc. These questions included:</p><ul><li>What platforms will this app be for? iOS? Android? Web? All of the above?</li><li>Does it require an active network connection? (Some apps can function completely offline once downloaded. Other apps are worthless without an internet connection).</li><li>Will users pay for their order on the app or in store?</li><li>Will users be required to log in and have account management, or can the whole process be completed as a guest?</li><li>Will users be able to edit the photos inside of the app before placing the order? If so, how complex would the edit functionality be?</li></ul><p>The answers to these questions would determine the type of engineers/technology we would need. Since the budget for this project was relatively low and they needed a quick turnaround, we decided to focus on just the very critical functionality and ignore the nice-to-haves like account management, complex photo editing, etc.</p><p>Once we agreed on this scope, it was time to start building.</p><h3><strong>Design</strong></h3><p>Now you can pick up that pen! The first component to an app is design. In this context, design doesn’t just mean what shade of blue will the background of your application will be. It starts with the User Experience (UX). What will be the first thing the user sees when they open your app? What actions are available to the user from here? This is where you will build a flowchart of what your app has and where every button leads. The User Interface (UI) part can come later. It’s definitely important to have a nice UI, otherwise people won’t like using your app and won’t come back, but we can come back to the UI later.</p><p>For our photo app, here’s what we decided the flowchart to be:</p><ol><li>Splash screen — Just to give context to the user for what this app does, and a prompt to get started (and get geo-location permission, which i’ll discuss in the tech portion below).</li><li>Store locator — Once the user clicked on the button to get started, they would be presented with a list of available stores based on proximity to their location.</li><li>Photos — After a store is selected, time to do the real work! Upload photos from your device, select what sizes you want, and how many prints you want.</li><li>Checkout — In the final step, the order would be confirmed and when everything was processed successfully, the user would receive a confirmation letting them know they could pick up their photos in an hour.</li></ol><h3>Tech</h3><p>Here’s the weeds of it. The type of tech can vary GREATLY. A quick google search will give you thousands of results mentioning swift, java, react, native apps, web apps, blah blah. Let me give a high-level breakdown of what’s available and a few pros and cons of each option.</p><h4>Native Apps</h4><p>This is an app custom built for a platform. A majority of the major apps you use on your phone like Facebook and gmail are native apps. Most games are probably native, as they’re performance intensive.</p><p>Pros:</p><ul><li>Performance — Native apps have the best performance you can get for that phone.</li><li>Functionality — You have access to everything the OS manufacturer let’s you have access to. Your app can do pretty much everything you can fathom or have seen another app do, granted the phone has the technology to do it. You want a way for people to take pictures through your app? You can do that. You want to access the user’s contacts? You can do that ( With their permission of course - these are the prompts you will usually see when you first open an app ).</li></ul><p>Cons:</p><ul><li>Expensive — iOS uses Swift as their programming language, Android uses Java. What does this mean? You’re essentially writing the app twice, or writing it for one OS and translating it to another. You’re also maintaining two code bases. Released some awesome new functionality for your app? Great, now write it again for the other OS or have one version behind the other ( this gets more complicated if the app has peer to peer functionality, and one OS doesn’t have the feature ).</li><li>Complex — Writing native apps is complicated, and you’ll need an experienced programmer or a lot of research to create the functionality you want, which will oftentimes be multiplied x2 for each OS.</li></ul><h4>Web Apps</h4><p>Sometimes called HTML5 apps, these are apps that are written in the languages used to create websites ( HTML, CSS, Javascript ), and then ‘packaged’ into something that to the user will work just like an app. A surprising number of apps in the store are made this way.</p><p>Pros:</p><ul><li>Easier — Web apps are easier to build and maintain. There’s only one code base regardless of the operating system since the app will use the same rendering engine a website uses. It will look/feel/behave the same across every platform, for the most part.</li><li>Resources — Web technologies are extremely popular and you can probably find a solution or help with a solution no matter what problem you encounter while building your app.</li></ul><p>Cons:</p><ul><li>Limited — Web apps are more restricted than native apps, since the functionality is restricted by what is allowed on the web. Depending on the platform you use to build your web app, there may be existing plugins that give you the functionality you’re looking for. As technology evolves, more and more features are being implemented into the web ( Android can even support notifications from websites, for example ).</li><li>Performance — Web apps perform slower than native apps. This performance can vary from unnoticeable to unusable depending on what your app does, and how it’s coded. For games, this is a huge issue.</li></ul><h3>Code</h3><p>The code can be infinitely complex, but I’ll again try to keep it high level here. This is the actual building of the app once you have the flow and have decided the tech you will use.</p><h4>Front-end</h4><p>Also referred to as client side, this is what I do for a living. This is the term used for the part of the application that the user interacts with. It’s the code that is run by the user’s computer or phone. It includes all of the UX and UI interactions, what the app will look like, what will happen when the user interacts with it, etc. For web pages and web apps, this is written in HTML, CSS, and Javascript. For native apps, this is written in the respective language for the OS like Swift or Java. Lets look at a practical example of what this means:</p><p><em>My app has a button.</em></p><p>In a web app, the HTML would define what the button is and what it says, the CSS would define what the button looks like, the color, size, etc, and the Javascript would define what happens when the button is pressed.</p><p>The functionality of the app determines how much of it will be front-end versus backend, but at the very least, your UI will be handled in the front-end. In our photo app, most of the functionality was on the front-end. The back-end handled a few things like the uploading of the photos, and confirming the order.</p><h4>Back-end</h4><p>Or server side. This is the code that’s executed on someone else’s computer, usually a ‘server’, that’s faster and more performant than the user’s device. In most cases, the server also handles the interactions with the database, which is explained a bit more below. Again, depending on the app, the amount of front-end and back-end will vary.</p><p>The photo app simply accepted the photos sent from the front-end, saved them to the database, created an order summary, and sent that back to the front-end which then displayed the order summary to the user.</p><h4>Database</h4><p>Think of this as your notebook. Any records you need to keep go here. Databases are also complex, but if your app needs any kind of record-keeping, you’re gonna need a database. The type will again depend on the app. You can have your own database or use services which offer their databases for a fee. It is also important to know that there are lots of existing databases which can be used depending on your app. If for example your app requires addresses, you don’t need to build your own database with addresses, you can use Google’s database in your app.</p><p>For the photo app, we didn’t really require a database. There was no users, the retailer already had their own database of available stores, which we used to get a list of nearby stores. We simply took the photos, sent them directly to the retailer with the information the user entered, and the retailer printed the photos out and had the order ready. In the future, this app would definitely require a database so users could store their information, previous users, etc.</p><h3>Resources</h3><p>Okay, thats a lot to digest and there’s a lot to learn. Can one person do it all? Yes. Chances are however, unless you’re in the industry, that’s a lot of stuff to learn. Good news is, you can use existing resources to lessen the work. Or hire freelancers who know the tech to build the app for you (be prepared to have at least the flowchart done so the freelancer can give you an accurate estimate).</p><h4><a href="http://themeforest.net/">ThemeForest</a></h4><p>This is a site where you can find designs other designers sell for cheap. If you can’t afford a designer or developer, grab a pre-existing design or a pre-coded template and customize the parts relevant to your own app. The downside is the designs are mass-sold so they’re not unique, and are being used by other people. Also you’re using other people’s code so it may be complicated for you and other developers to work with it.</p><h4><a href="http://phonegap.com/">Phonegap</a></h4><p>If you decide to go the web app route, you’ll need phonegap to convert your web code to something that runs in a phone. Phonegap also has plugins to offer functionality that you could normally get only in native apps.</p><h4><a href="http://www.appcelerator.com/mobile-app-development-products/">Titanium</a></h4><p>This site offers a suite of tools that lets you build web apps with native functionality.</p><h4><a href="https://www.nativescript.org/">NativeScript</a></h4><p>Another language that lets you write web apps but actually converts them to native apps.</p><h4><a href="http://apigee.com/about/">Apigee</a></h4><p>If your app needs a database but you don’t want to keep it simple, Apigee offers databases as a service where your app can save and receive your data.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd72d8543821" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>