Learn something new everyday

  • Introduction to Flutter

    Introduction to Flutter

    HelloWorld! In this article, you will learn about what is Flutter, why Flutter, then a comparison between Flutter with other frameworks, and finally Flutter’s pros and cons. What is Flutter Flutter is an SDK for UI development. It is developed by Google to build standard UI & UX for mobile, web & desktop applications from […]

  • Learn React Native with a Board Game (Part 1 of 4)

    In this tutorial, you’ll be learning about basic concepts, developing an application from scratch, state, props, and components. This tutorial is for both beginners and professionals. Introduction to React Native React Native is a JavaScript framework created by Facebook, Inc. It is used to develop mobile applications for Android and iOS. The mobile applications are […]

  • IntelliJ – Connect to MySQL running in Vagrant

    IntelliJ – Connect to MySQL running in Vagrant

    The Database feature of IntelliJ/PHPStorm is very powerful compared to the MySQL CLI. It allows your edit your data from the UI easily without writing any MySQL commands. Here is how you can connect your MySQL server running in a vagrant machine to the IntelliJ’s database feature and improve your productivity during development. Create a […]

  • React – Render String with HTML tags as HTML

    There are often times when you have a string with some HTML tags such as strong that you want to render as HTML on the DOM. Most solutions online recommend using dangerouslySetInnerHTML but that is dangerous as the name suggests. The proper way to render HTML from string is to use FormattedMessage from the formatjs […]

  • Debug slow PHP applications using IntelliJ or PHPStorm

    It is frustrating when your PHP application is really slow and you do not know which part of your code is taking up too much time. Google considers 2 seconds as the optimal loading time for a fast loading website. Enabling PHP XDebug Profiler PHP’s Xdebug extension can be used to profile your web requests […]

  • 5 Reasons MySQL Foreign Key constraints fail to create

    Finding out why Foreign key creation fail When MySQL is unable to create a Foreign Key, it throws out this generic error message: ERROR 1215 (HY000): Cannot add foreign key constraint – The most useful error message ever. Fortunately, MySQL has this useful command that can give the actual reason about why it could not […]

  • jQuery DataTable: Sorting dynamic data

    jQuery DataTable is a powerful library to super charge your HTML tables. By default DataTable can sort your data based on the content of the cells. But if you are loading your table data dynamically and want to apply a custom sorting based on the DOM data, you can use DataTable’s custom sorting code: data-sort […]

  • Avoiding Wildcard imports in Java/Kotlin with IntelliJ

    What is a wildcard import or a star import? When you want to import multiple classes from the same package like this: Java has an option to combine them into a single line using wildcard imports: Is it bad? Performance-wise, no. Using a wildcard import doesn’t actually import all the classes in the package. When […]

  • First look at HTML

    HTML is used to feed the content on the web page or web application. HTML = content. HTML is not used for styling the page if you want to style then you need to use CSS. HTML ≠ style. CSS = style. HTML Document Structure All HTML document must start with <html> and end with […]

  • How to run an HTML file?

    Many modern editors are available to create and modify web pages. But we recommend using simple editors like Notepad (windows) and Textedit (Mac). How to open Notepad in windows? Open start and type notepad at search. (OR) Open Start > Programs > Accessories > Notepad. How to open Textedit in Mac? press command + space enter Spotlight search will appear […]

Have feedback?