Category: Design

  • Getting Started with WordPress (and Building a Website)

    If you wish to build a website, then WordPress is a great choice to build it with! One of WordPress’s stand-out features is its content management system (CMS): Content can be added and edited very easily on a WP site, and the site’s design and layout can be changed quite easily as well. It also is the most popular web framework on the internet (powering 45% of the world’s web domains), so your WordPress skills will come in handy at several points in your life1. It might even land you a job in web development, design, or content marketing.

    With that said, one of the shortcomings of the WordPress eco-systems is just the overload of Ads thrown at you — trying to sell you website-building services, plugins, and themes — if you search for anything related to “WordPress”. I don’t have to sell you any services, so here are some honest tips on getting started:

    Learning the basics

    These two links are more than enough to get started (don’t get into an endless tutorial hell):

    1. https://www.youtube.com/watch?v=37GGkoPNeXE – How to make a WordPress website start to finish (1 hr 20 mins video)
    2. https://www.namecheap.com/wordpress/how-to-install-wordpress/ (5 mins read)

    After you complete these, you would want to launch your website online, i.e. you will install WordPress on a web server2 and hook your domain name to it.

    Hosting your website online (wordpress.org vs wordpress.com)

    WordPress is free and open-source software that you can download from wordpress.org. “wordpress.com” is owned by a private company and provides commercial solutions to host WordPress websites. I find hosting on wordpress.com quite restrictive, and I think you’ll soon grow out of it if you choose it. It’s also costlier, and the company has been getting a bad rap3 for the last few years.

    So, in most cases, it will be better if you learn to use WordPress on a separate web hosting platform (for example Hostinger, a2hosting, BlueHost, WPEngine).

    Building websites on your personal computer

    You can also install WordPress locally on your computer to play around with the settings and build advanced sites. You can build any number of throwaway sites on your local system (say build a photography blog, a portfolio site, a writer’s blog, a travel site etc)! Check this video guide for installing the local XAMPP server – https://www.youtube.com/watch?v=CTNFZRdDotM 

    This website (nitinnain.com) has been running on WordPress for 10+ years now and WordPress has served me pretty well. I have even changed the site design thrice with very little effort. So Good luck with your project. Drop in a comment if you have questions.


    1 If you are not technically inclined, then you can use Wix, Squarespace, Webflow, etc. However, these platforms usually cost upward of $10/month for even the most basic site.

    2 A web server is simply a computer managed by some company where you host your website (They ensure power backup and internet connectivity to the server, so your website is accessible 24×7).

    3 There have been some controversies in recent years around the ownership of WordPress. It’s a complex debate that you don’t need to worry about if you’re new. WordPress isn’t going anywhere.

  • Chip Fabrication in India: Tata Electronics’ $14 Billion Investment

    After years of unsuccessful attempts by various players to establish semiconductor fabrication in India, it seems the tide is finally turning: Tata Electronics Private Limited (est. 2020) has started investments in four manufacturing facilities spread across India. There’s also the China + 1 strategy at play here, where countries are trying to reduce dependence on a single country.

    Let’s begin by putting these figures into perspective. The world’s top semiconductor fabrication company, TSMC, invests about $6 billion annually in semiconductor manufacturing technologies. Establishing a 3nm chip fabrication plant costs approximately $20 billion. Also, the U.S. government introduced the CHIPS and Science Act in August 2022, providing $52 billion in direct funding to support the construction and expansion of chip manufacturing facilities. Of this, $29 billion has already been allocated.

    The largest of these four Tata Electronics factories is a $10.9 billion (INR 91,000 crore) investment to build a semiconductor fabrication facility at Dholera, Gujarat. The project received approval in February 2024, with chip production expected to commence within two years. Taiwan’s Powerchip Semiconductor Manufacturing Corporation (PSMC) is the technology and execution support partner. This facility will do 12-inch wafer fabrication, for chips with node sizes of 28nm, 40nm, 55nm, 90nm, and 110nm. These chips can be used for applications ranging from power management ICs, display drivers, microcontrollers, and high-performance computing.

    I started writing this blog because I was excited to hear a new development from Tata Electronics two days back, as they laid the foundation stone for another project, this time in Assam. The planned investment for this facility is USD 3.25 Bn (INR 27,000 Crore). This facility will be focusing on chip packaging in three key areas – Wire Bond, Flip Chip, and Integrated Systems Packaging (ISP).

    Previously, in November 2023 Tata Electronics acquired Wistron’s iPhone assembly facility at Kolar, Karnataka for $125 million (INR 1,000 crore). Wistron started this plant in 2017 and decided to exit because the venture couldn’t become profitable and also due to a large employee strike over salaries (damages from the strike cost Wistron several crore rupees in losses).

    The company also has a plant near Hosur, Tamil Nadu, which they plan to expand with an additional investment of USD 835 Mn (INR 7000).

    Tata Electronics already employs 15,000 people, primarily in their Karnataka and Tamil Nadu facilities. They expect to generate approximately 100,000 jobs in Gujarat, 27,000 in Assam, and 10,000 in Tamil Nadu (this includes direct and indirect employment).

    Of course, such heavy investments were only possible by one of the bigger Indian conglomerates. The Tata Group has its huge revenues and operations in other sectors to back this project up. in 2022-23 the group’s ventures collectively generated $150 billion (INR 12 Lakh Crores) in revenues. They employ over 1 Mn people and the 29 publicly listed Tata companies have a combined market capitalization of $350Bn.

    (P.S. Rounded off the conversions/numbers for readability)

  • Air Conditioner (AC) Buying Checklist

    1. If you are buying an Inverter AC, check the warranty on the PCB (Printed Circuit Board), the electronic that does climate control.
    2. Look for a chemical coating on the condenser and fins (prevents salt deposit, rust etc.)
    3. If it’s a split AC, vacuum the system to evacuate moisture and air (Connect the pump to the service port on the outdoor unit and get the Copper pipe vacuumed before switching on the AC for the first time). The pump should run for several minutes (I read 30 mins somewhere). Check with the service person before they arrive to bring the vacuum pump.
    4. The installation charge is around Rs 1,500 (The company usually gives 3 Mts Copper pipe and electric wire).
    5. Use a voltage stabilizer with the AC (costs around Rs 2,000)

    P.S. – Inverter ACs are akin to climate control in cars, they automatically switch on/off to maintain a range of temperature. With traditional ACs, you might have to do this manually. IMO, one is not

    P.P.S. – On most online articles I found stuff like, “measure your room size”, “window vs Split AC”, “check energy star rating” etc. I think that is something that most people would have decided already and the above list might be more useful as a final checklist.

  • Signal App’s awkward copy-paste gesture

    The “Copy message” button in the Signal App on iPhone doesn’t show up when you long press the text (on the pop-up ribbon like other messaging apps).

    The copy icon is placed in the bottom Tab Bar. That seems like an awkward UX error for such a mature app! Or is it just me wondering about this?

    Overriding the given operating system’s native gestures, for basic tasks like copying and pasting, is a really bad idea. If you’re a designer/developer: there are plenty of other ways to add character” to your apps, but just keep the look, feel, and gestures for regular tasks close to the native OS ways.

    I wish more people embrace Signal in coming days still: https://signal.org/install/

  • MongoDb Quick Reference Sheet (Printable)

    I created a MongoDB pdf reference sheet. Here’s the link to the PDF (my only Medium post as of now, it’s got some ‘likes’) — https://medium.com/@nitinnain/mongodb-quick-reference-sheet-printable-a30435e191ac

  • Quick Monitor Buying Guide

    Deciding the screen size

    You ought to consider the right physical size in inches with the screen resolution — deviating too much from the following chart would either make the screen too pixelated or you might find the default font size to be too small. (more…)

  • Essential Tips for WordPress Admins and Editors

    (This post supposes that you have a working WordPress site already and now want to improve the content and design for the site.)

    You’ll first need a login for your WordPress site. The login is most probably at example.com/wp-login.

    Most articles on “Getting started with WordPress” begin with setting up WordPress on a server, or talk about core WordPress concepts like creating themes, and get into the minute technical details. That’s alright, but there are plenty of such tutorials all over, what a new WordPress user often requires is how to handle the WordPress Admin Dashboard. So here’re some essential things that a non-technical WordPress Admin, who want to manage, beautify, or add new content to the website need (most of these articles are quick 2-3min reads, except the the Block Editor link):

    1. Managing images, videos, pdfs and other files:
    https://wordpress.org/support/article/media-library-screen/

    2. Understand what are Posts vs. Pages:
    WordPress started as a blogging platform, so “Posts” get a prominent tab for themselves which you use for blogging/newsletter etc:
    https://wordpress.org/support/article/posts-screen/
    Static content like “About Us”, “Contact”, “Privacy Policy”, “Product Features”, “Specific Product” go into:
    https://wordpress.org/support/article/pages/

    3. Learn how the WordPress Block Editor works:
    https://wordpress.org/support/article/wordpress-editor/#how-does-the-block-editor-work

    4. Learn how to modify the Menu (Top links bar on the website):
    https://wordpress.org/support/article/appearance-menus-screen/

    5. See what are WordPress Widgets:
    https://wordpress.org/support/article/wordpress-widgets/

  • Designing the Apple Watch UI – a quick guide

    Designing the Apple Watch UI – a quick guide

    The Apple Watch is releasing in a month! Here’s a list of important things you need to know, if you’re interested in designing or developing an Apple Watch App:

    1. Layout and Screen Sizes

    38mm: 340 pixels x 272 pixels
    42mm: 390 pixels x 312 pixels
    That’s an aspect ratio of 4:5.

     

    2. Icon and Image Sizes

    Unlike the Rounded Square icons on iPhones, the icons on the Apple Watch are round.

    Icon Sizes Required:
    38mm Watch: 48px, 80px, 172px
    42mm Watch: 55px, 88px, 196px

    Tips on designing the Icons (designers take note!):
    – Create all of your image resources as @2x images.
    – Create your icons as full-bleed square images using the given dimensions. The system applies the circular mask automatically.
    PNG format is recommended (for images and icons). Avoid using interlaced PNGs.
    – The standard bit depth for icons and images is 24 bits—that is, 8 bits each for red, green, and blue. You can include an 8-bit alpha channel but doing so is not required. You can also use PNGs with indexed colors to save space in your image files.
    – While designing these, also note that you’ll need the accompanying icons for the iPhone app. (i.e. Watch App can’t work without the iPhone App)
    More information on Icons and Image Sizes.

    3. Color

    “A black background blends seamlessly with the device bezel and maintains the illusion of there being no screen edges. Avoid bright background colors in your interface.”

    “Every app defines a key color. The system uses this key color for the title string in the upper-left corner of the screen and in notification interfaces to highlight your app name or other key information. You should similarly use the key color as part of the branding of your app.” More on colors.

    4. Typography

    There’s a system font “designed specifically for legibility on Apple Watch”. (the San Francisco Font). “Use San Francisco Text font for text that is 19 points or smaller; San Francisco Display font for text that is 20 points or larger.”
    You can chose another font, but be careful to go for a dynamic font (that adjusts well to size — since the watch interface is so small). With Dynamic type, you get automatic adjustments to letter spacing and line height, text that responds appropriately to changes the user makes to text-size settings and more. More on Typography.

    5. Two ways of navigating an App – Hierarchical Vs Page based navigation

    From the start, you have to decide which type of navigation you want. A single App can’t behave as Hierarchical at one point and Page-Based at another point.

    The two types are quite different in look, feel and the way they function. For instance, Horizontal swipes are only available for Page-Based Apps. More information on navigation types.

    6. The three ways of presenting information

    I. via the Main App

    You can reach the App by launching the App from Homescreen. The ways of interacting with your Main App are rather limited right now.
    Here’s what you can do:
    a) Taps (selection)
    b) Vertical Swipes (scroll through the screen)
    c) Horizontal Swipes (go between pages – only available in page based apps.)
    d) Force Touch:
    Pressing the screen with a small amount of force activates the context menu (if any) associated with the current interface controller; this is the only thing a Watch app can do with force touch feature. More information on context menus.


    Design of the Force Touch Context Menu can display up to four actions. The image for the context menu must be a template image — where the alpha channel defines the shape to draw on top of the background. Opaque portions of the image show up as black and fully or partially transparent portions let the background color show through.
    e) Digital Crown: Only ‘scrolling’ support available to third party apps.

    II. via Notifications

    The wearer feels a gentle tap on the wrist when the Notification arrives.
    Notifications are displayed up in two formats.
    a) The “Short Look” is only seen briefly when you raise your wrist — it’s an app icon, an app name, and some brief information.
    That is, the Short Look provides a discreet, minimal amount of information — preserving a degree of privacy. If the wearer lowers his or her wrist, the Short Look interface disappears.

     

    b) The “Long Look” interface appears when the wearer’s wrist remains raised or when the user taps the Short Look interface. It provides more detailed information and more functionality — and it must be actively dismissed by the wearer.
    For Long Looks, the app icon and name move to the top of the screen, and wearers can scroll down through the interface to use custom actions (such as “comment” or “favorite”) or dismiss the notification.

    Read More about notifications.

    III. via Glances

    Glances from all the apps are viewed together at a common swipe-able place. User can tap on a glance to enter the App. All the information on a ‘glance’ must fit on a single screen and is read-only. As the name suggest glances are there to provide the user useful information; don’t use them to spam the user. The area at the bottom of the glance is reserved for the page indicator dots. Read more about glances.

    7. Image Cache

    You can store upto 20MB of image resources in cache on the Apple watch. As with webpages and Apps managing caches efficiently is a hallmark of good front end; so plan your cacheing strategy well. Needless to say use very optimized images. More information on how to use images in the App.

    8. Animation

    To create animation you can loop through “sequentially named images”, infinitely or till a specific count. There’s no mention of support for videos or UIKit like animation.
    These links have good info on how to show animations on Apple Watch:
    http://natashatherobot.com/watchkit-animate/
    http://www.raywenderlich.com/94672/watchkit-faq

    9. Handoff

    Handoff feature can transfer the user action from the watch to the iPhone. Handoff can also be used to dynamically send some information to the main Watch App interface using Notifications or Glances.

    10. Fullscreen Support (Not available)

    There’s no mention of fullscreen support for an app. (The only few seconds that your app will have the fullscreen of the watch to itself is during the short look notification.)

    11. Settings Bundle

    Works the same way as the iOS settings bundle. “Preferences are pieces of information that you store persistently and use to configure your app. Apps often expose preferences to users so that they can customize the appearance and behavior of the app.” More information on the settings bundle on the Watch which complements the existing settings bundle on iOS.

    12. Date and Time

    Use Date and timer objects whenever you want to display a current day or time or implement a precise timer. Date and time labels come in variety of formats suited for the watch. Generally, it’s a bad idea to invent your own date time format. More info on date, time formatting here.

    13. Dependence on iOS App

    Apple Watch requires the presence of an iPhone to run third-party apps.
    “A WatchKit app complements your iOS app; it does not replace it.”
    “During installation of your iOS app, the system prompts the user to install the WatchKit app when a paired Apple Watch is present.”

    Further Reading

    • Apple’s Human Interface Guidelines (HIG) for the Watch (Approximately 2hrs read)
    WatchKit Programming Guide
    • WatchKit Framework Reference (for programmers)
    • Apple’s tips and best practices for developing Watchkit Apps.

  • Native Vs Hybrid Mobile Apps

    I was recently checking how the Hybrid App frameworks compare to Native iOS or Android Apps.  Here are my observations on few Phonegap Apps that I tried on my phone:

    • The size of Phonegap Apps is big: an app that should have been less than 10MB has a 40-50MB installer.
    • The Apps take longer to boot up.
    • There’s noticeable drop in scrolling performance (less fluid).
    • They lack significantly in giving the native feel.

    And then there are these major shortcomings when it comes to Design and Development Time itself!

    Hybrid Apps’ Design doesn’t match up

    There are different design guidelines for Android, iPhone and Windows Apps. You will observe that many iPhone Apps have a menu at the bottom, but that doesn’t work well with Android Apps. Android has fixed ‘menu’, ‘home’ and ‘back’ buttons at the bottom and it’s inconvenient to have more options there. Then there are subtle differences in icons, fonts etc. that you should take care of.

    You won’t save much (any) development time

    If you’re starting fresh, I don’t think it takes any longer to make a Native app than a PhoneGap, Cordova or Xamarin App. If you already have a Web App, starting with PhoneGap might give you the impression of progressing fast initially; but fixing everything later is definitely going to be very painful.

    I personally love highly optimized code. If something can make my software a bit faster, or use lesser space, within practical limits, I would do that. If you’re particular about have a beautifully designed app, that’s fast and can use your phone’s hardware in the best possible way, in my opinion you should go for the native apps.

    Reference:
    – Explanation of PhoneGap, ionic and Cordova – http://ionicframework.com/blog/what-is-cordova-phonegap/
    – A startup moves away from PhoneGap to Native platform – http://www.fastcolabs.com/3030873/our-html5-web-app-flopped-so-we-went-native-and-havent-looked-back