<?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[On Professional Software Development - Medium]]></title>
        <description><![CDATA[Development for web, mobile and embedded. Architecture of applications and services. - Medium]]></description>
        <link>https://medium.com/on-professional-software-development?source=rss----792d9a0a3778---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>On Professional Software Development - Medium</title>
            <link>https://medium.com/on-professional-software-development?source=rss----792d9a0a3778---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 03:17:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/on-professional-software-development" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Good API is …]]></title>
            <link>https://medium.com/on-professional-software-development/good-api-is-50d6c69de560?source=rss----792d9a0a3778---4</link>
            <guid isPermaLink="false">https://medium.com/p/50d6c69de560</guid>
            <dc:creator><![CDATA[Vasyl Pasternak]]></dc:creator>
            <pubDate>Sun, 16 Mar 2014 18:55:56 GMT</pubDate>
            <atom:updated>2014-03-16T18:43:51.722Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/847/desat/multiply/grey/60/overlay/grey/1*HmMA1S3brVhm76xRtJ3uAA.png" /></figure><h4>What makes good API good.</h4><p>As a mobile developer and architect, I always work with different APIs. Unfortunately, usually they are not good and require a lot of hacks and compromises to implement flexible and powerful application.</p><p><em>The API design heavily affects how the application will look and work. It also affects application’s performance and data usage. While someone thinks that our powerful phones and high-speed mobile networks will compensate the bad API architecture, I should state that this is not true. Usually ugly API is the result of ugly design and in long-term development and support it will produce more and more troubles.</em></p><p>So what is good API? Below are my thoughts about how it should look, without digging into specifics of different frameworks and languages.</p><h4>… RESTful</h4><p><a href="http://en.wikipedia.org/wiki/Representational_state_transfer">RESTful</a> APIs are de facto standard for all APIs and all frameworks support it. The same is about clients. There are no need to invent a wheel. The data, could be returned in many formats — XML, JSON, HTML. JSON is the most common format, which has support on all platforms, easy to implement and use.</p><h4>… simple</h4><p>Under ‘simple’ I mean that each operation should be implemented in minimum API calls. The example of bad design is in order to obtain names of all users that are friends for the registered user is to get all user ids of friends and then obtain user’s name for each id in the list. The alternative is to make single request ‘<strong>getNamesOfFriendsFor</strong>’, which will return a requested data.</p><p>Such implementation allows avoiding huge request-response cycles inside client’s code, improves speed and minimizes data usage.</p><h4>… minimal</h4><p>Return minimum data set, requested. That means if the client requires only first 10 friends, than API should return only them; if the client requires only latest 5 messages sorted by date, than API should return them in proper order.</p><p>Usually all these operations could be done on the server-side without any additional efforts, while on the client-side it will require implementing additional logic and algorithms.</p><p>In addition, usually we have only one server-side and many clients, so moving some data processing out from client-side will greatly reduce effort implementing such functionality many times.</p><h4>… documented</h4><p>Well-documented API should include not only method descriptions with possible parameters, but also should explain the most-effective ways of use it, without exposing implementation details.</p><h4>… versionable</h4><p>All APIs evolve, some methods become obsolete, other starts supporting new parameters and use-cases. In this case, server-side should provide the stability of the old API for the clients that support it, while new clients could use benefits of the newer API.</p><h4>… secure</h4><p>This means, that through the API no one could gain access to the restricted data without permission, could harm the server, made it inaccessible. There are many ways to achieve the security, and its highly depends on the data, stored on the server side. I strictly recommend involving experts in computer security, when you deal with sensitive data.</p><p>No magic here, just the common sense. However I am constantly seeing how engineers break all these principles for faster delivery, and then ask us — client-side developers — to add hacks and overcome bugs of this bad design.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=50d6c69de560" width="1" height="1" alt=""><hr><p><a href="https://medium.com/on-professional-software-development/good-api-is-50d6c69de560">Good API is …</a> was originally published in <a href="https://medium.com/on-professional-software-development">On Professional Software Development</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[You can’t ignore API anymore]]></title>
            <link>https://medium.com/on-professional-software-development/you-cant-ignore-api-anymore-f6be172750f?source=rss----792d9a0a3778---4</link>
            <guid isPermaLink="false">https://medium.com/p/f6be172750f</guid>
            <dc:creator><![CDATA[Vasyl Pasternak]]></dc:creator>
            <pubDate>Sun, 16 Mar 2014 18:55:52 GMT</pubDate>
            <atom:updated>2014-03-16T18:43:26.294Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/desat/multiply/grey/60/overlay/grey/1*ErgF2lnopqcfhtp7JbiMAw.jpeg" /></figure><h4>Why start-up founder  should be focused on API-centered service and how to control its development. </h4><p>There are hundreds articles and books in the Internet that explain developers how to design good API. However, I am still seeing many projects where all these recommendations were ignored. Very often not because of developer’s mistakes, but shortsightedness of the founders and management.</p><p>API is essential part of any service today. It allows your services go far away from only desktop browsers to infinite number of other devices, which have access to the network.</p><p>As an entrepreneur or founder, you should check your API, its design and functionality in the same way as you checking the user experience, look-and-feel and graphic design. But what are the main criteria of the good API?</p><p><strong>Implementing API requires a discipline</strong></p><p>No matter how agile your team is, you should always have high-level architecture, which defines how different parts of the application should communicate. Ideally they should communicate only through the API.</p><p>User submits form and the data should be put into the database — do this through the API call. You need to show the page with some data that belong to the specified user — do it through API, instead generating the entire Web page on the server. You need to store users’ files on the server — again, use special API for that.</p><p>Of course doing everything through the API requires more work to implement the same piece of functionality, but is shouldn’t scare you, because implementing API on the running service will cost more.</p><h4>Good API is a document</h4><p>The easiest criteria whether your team have API, is to check periodically the documents, produced by the team, which describe an API. Usually each new functionality requires an API call for to implement it.</p><p>Other team members also use the API, your team produce, so documentation on the API should be always up to date and consistent.</p><h4>Good API is easy to read</h4><p>No matter who you are and whether you are experienced software developer or use your iPad only to check emails and post something into Facebook, you should be able to understand the API your team creates. It should be easily readable and understandable.</p><p>For example, if you need to obtain all friends for a single user, than API method could be named ‘<strong>getFriendsForUser</strong>’ but not ‘<strong>friendsMethod1Id</strong>’.</p><p>However please note, that <em>not all easy to read APIs are good, while all good APIs are easy to read</em>.</p><h4>Good API could be easily used by 3rd party developers</h4><p>The last but most important check is how your API is accessible from 3rd party applications. I am sure you are implementing a useful service, so there will be many parties, interested to integrate your service into their product, or make your service accessible from the different platforms, such as console Linux client, plug-ins for Firefox and Chrome browsers, integration.</p><p>You could also hire 3rd party developers to create mobile applications for your service. This is very good crash-test for your API which simultaneously adds more value to your service.</p><p>As I said — creating a good API is similar to creating good UI design. What do you usually do when you want to create unique user experience, attractive look and feel, and state of the art design? Correct — you engage best designers, selected by their portfolio and achievements, constantly checking the design by yourself, and verify it through user testing.</p><p>The same is with good API. You should involve first-class software architects to design it and engage users of this API to test and validate it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f6be172750f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/on-professional-software-development/you-cant-ignore-api-anymore-f6be172750f">You can’t ignore API anymore</a> was originally published in <a href="https://medium.com/on-professional-software-development">On Professional Software Development</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>