5 Mistakes Every Beginner Make While Coding

5 Mistakes Every Beginner Make While Coding

Do you feel anxious and doubtful about your coding? Do you worry about how you are writing the codes?

This feeling seems to be exist in almost many of the coders/developers in their beginning phase. I also had this phase and it’s unlikely to change as we do sometimes feel insecure of our codes and it’s completely ok!

But , If you are a beginner in coding  then you should take care of some things which are very important for you to stay productive.

Hi My name is Manuj Sharma . I’m an Android and Web developer. In today’s post I will highlight  some key points to always keep in the mind while coding. I will tell you the 5 mistakes you probably doing it all the time while learning to code.

5 MISTAKES THAT YOU COULD BE DOING WHILE LEARNING HOW TO CODE.

NOT CHOOSING THE PERFECT IDE/COMPILER

Yeah it seems to be kiddish but that’s the truth. Many of  the guys code it in a compiler which is not idle. Let me make you understand by an example , Do you remember the old C/C++ language being code in Turbo C/C++? It’s not an idle compiler for that language. It’s a very old compiler but many of the universities/school still use them and that is where people go wrong. There are many other new IDE’s launched where we could code C/C++ and would save a lot of time as it would suggest you with code hints, more handy etc..

So have some research about the programming language which you are about  to get started with it and know it’s best IDE being used.

NOT CHOOSING A MENTOR

Learning on your own is a good thing and it has its own benefits but sometimes its necessary that you need a expert who could walk you through with your journey and also help you when your stuck. If you don’t want to opt for a mentor then at least learn from online tutors or courses as it will save your lot of time and thus increasing your productivity.

NOT BUILDING PROJECTS

It’s good to hear that you are learning how to code. You are solving programs on daily basis but wait are you even building projects ,applying those acquired skills to any framework? For instance if you learnt java for few months and now you know all the ins and outs of it but what you are going to do with that skill? So you need to research where JAVA could be used? The answer is simple ,you could make mobile applications , software applications and much more. So start with building projects now and apply your acquired skills. Building “projects” is the most essential part in mastering any skill.

If you feel that I can’t be building the projects only in a single stream as I want to learn other skills too, then follow my simple strategy – Build atleast 5 projects and then you are ready to go. By that I mean that 5 good projects which should involve CRUD operations and many more.

NOT BEING SOCIALLY ACTIVE IN PROGRAMMING/CODING COMMUNITY

You are coding day and night , you are building stuffs , that’s good and you should do that but wait you are just having it on your disk. How would I come to know about your stuffs and I know you’ll be thinking that those projects are mine and I don’t want to share it but then how would able to get to know about the problems in that project? How would you get more better ideas for updating the project?

You use tons of libraries and support from people online and think once that if they be like you, then how would you seek help? So if you have build projects/libraries then move it to online. There are many portfolio sites I recommend www.github.com .

By the way you could check mine on www.github.com/manujSharmaM

NOT BEING PATIENT

It’s great to your building stuffs and improving yourself much more and sometimes you  get stuck at something for a long time and feel like giving up coding and started to think that it’s not “My cup of tea”

That’s the time you have to be patient, you have to keep calm yourself. I know that it’s not that easy but remember it’s not that hard too. I have gone through these phases. I remember that I took nearly 15 days to solve a simple problem in my app that I worked on but it did solved and I was able to publish that app.

When you spend a couple hours looking at a bug that’s just a simple typo, nearly pulling your hair out, because it looks like everything should just… work… you might feel impatient.

Step away from the computer, come back after a few minutes, and start fresh. Back when I was first starting out this happened a lot more frequently than it does now, because now I’ve taught myself to slow down once I start feeling impatient and try and look at things with a clear mind. You’ll be surprised how often something that seems like a huge issue is really just a small error on your part. 🙂

“Think Twice ,Code Once!” Happy Coding.

Thank you for reading this post. Follow us on Instagram and Facebook.


To know more tips and tricks you can follow articles on this category :
https://blog.hiewpoint.com/off-topic/

To know about web development and WordPress follow
https://blog.hiewpoint.com/web/

To know about Android development and Android Studio follow
https://blog.hiewpoint.com/android/

installing wp

HOW TO INSTALL WORDPRESS ON YOUR DOMAIN

Hello Bunkers, Welcome to 8th chapter of web development series. Today we will learn how to install a WordPress CMS on your domain using different method. You can easily use any of the method to install WordPress by just following our article.

WordPress is known for being one of the most popular content management system (CMS) software options available to date. One of the main reasons for this is because WordPress is easy to use and meets the needs of almost any type of website and business.

Installing the CMS is a simple process that only takes about five minutes. But if you’re new to the software, installing WordPress may seem difficult.

That’s why we’ve created this guide to take you through the installation process step-by-step, so you can quickly get your website up and running.

We’re going to review four common WordPress installation methods together.

Four Ways to Install WordPress

  1. Choose a hosting provider with automatic installation
  2. Install to your computer
  3. Use the cPanel and auto-installers
  4. Manually install with FTP

5 Steps to Prepare You to Install WordPress

Before you get started with the installation process, you’ll need to see these five simple steps. These steps will help speed up the installation process and ensure you are completely ready to go.

1. Obtain Web Server Access

One of the most popular web server software options is Apache. It’s possible to create your own web server to install WordPress on, however, it’s more common for users to purchase a hosting provider that runs on a web server, such as Bluehost or SiteGround.

If you are using a hosting provider, you’ll need to make sure it meets Wordpress’ three requirements prior to installation. These requirements include:

  • PHP version 7.2 or greater.
  • MySQL version 5.6 or greater OR MariaDB version 10.0 or greater.
  • HTTPS support

2. Obtain a Text Editor

You’ll also need to make sure you have a text editor, such as Notepad. Text editors allow you to open, view, and edit plain text files without any formatting. This is how you will edit your WordPress files. If you use a word processor such as Microsoft Word, which comes with its own formatting, you could potentially cause damage to your files and code.

3. Obtain an FTP Client

FTP, or file transfer protocol, is the method in which you will upload, download, and manage your WordPress files on your server. If you choose a hosting provider, this should be taken care of for you.

4. Choose a Web Browser

You can choose any web browser (e.g. Safari, Chrome, Firefox) of your choice to download and install WordPress.

5. Download the Latest Version of WordPress

You can always make sure you have the latest version of WordPress by visiting their website and downloading their most recent update. 

Now, let’s review your WordPress installation options.

How to Install WordPress

WordPress keeps installation simple — no matter which method you choose, the process should only take about five minutes. We will discuss the four WordPress installation options below and who they are most beneficial for.

We recommend the simplest option — finding a hosting provider that offers automatic WordPress installation. But, really, it’s up to you.

  1. Choose a Hosting Provider with Automatic WordPress Installation. There are a number of website hosting providers that offer automatic WordPress installation, such as Bluehost, WP Engine, or Dreamhost, making this the easiest installation method. This is a great option if you’re new to WordPress or don’t have a background in web development. If you’re unsure whether your provider offers automatic WordPress installation, check out their website — that information is typically listed on their support page.
  2. Install WordPress on your computer. You can install WordPress directly to your computer. This method is uncommon because, although you’ll have a fully-functioning website, WordPress will only be accessible locally. This method is typically only useful if you’re just looking to play around with the CMS on your own and don’t want a website that others can access. You can read our article on how to install Local Server on your computer
  3. Use the cPanel and Auto-Installers
  4. Using FTP for manual installation

Installing WordPress through the cPanel is a good option if you want a bit more of a hands-on experience. This is more common for web developers or people who have some sort of technical background who want to tailor the installation process.

Installing Through Cpanel

The cPanel is a dashboard that many hosting providers give you access to upon sign up. Once you login to your panel with the credentials provided by your host, you should see a section in your cPanel called “auto-installers”. All cPanels look something like this:

cpanel-dashboard
\

Under the auto-installer section in your cPanel, click on the WordPress icon.

WordPress-cpanel

You should be redirected to a page where you can click “Install Now”. Once you have clicked that button, you will be asked to enter the domain name where you want WordPress to be installed. No matter the cPanel or auto-installer you are using, this page should look similar.

wordpress-software-setup

SUnder “Protocol”, the default is “http”. We recommend you stick with this unless you have installed an SSL certificate — in which case, you should use “https”. You’ll also be asked if you want to enter a “Directory”. In most cases, you’ll want to leave this blank to ensure WordPress is installed to your main domain. If you leave the field blank, your URL will look like this: www.mysite.com. If you enter a directory, your URL will look like this: www.mysite.com/blog, meaning WordPress will only be installed on a portion of your site.

You can also enter the name of your website (read: business name) and description (read: purpose of your website) under “Site Settings”. If you want to change these later, you can always go back in and update them.

WordPress-site-settings

The last thing you’ll need to do is complete your admin page information. Enter your admin username, password, email address, and anything else required — there may be a few more questions to complete based on the auto-installer you chose. Then, click “Install”.

add-a-new-user-in-wordpress

You should now be able to access the backend of your site on WordPress at www.mysite.com/wp-admin. This is also where you can edit your admin details if needed.

Manually Install With FTP

Between the number of website hosting providers that automatically install WordPress for you, as well as the auto-installers available in your cPanel, there isn’t really a need to manually install the software with an FTP. However, if you do choose this installation route, you can follow the steps below. 

First, you’ll need an FTP program such as SmartFTP or FileZilla (as mentioned in the five tasks you need to complete prior to beginning installation).

Next, head to the WordPress website and download the latest version of the CMS.

download-WordPress

SThen unzip the WordPress file and upload it to your public directory, which should look something like this: public_html.

wordpress-public-directory

S

Go to your cPanel and find the “MySQL Databases” button. All cPanel’s should have a similar look, although your MySQL button may be located in a slightly different location.

mysql-database

Source

Follow the prompt that asks you to enter your database name. Once you have done that, click “Create Database”.

mysql-database-wordpress

Now that the database has been created, you’ll be asked to create a “user” for your MySQL account. Complete your username and password and click “Create User”. 

mysql-users

Give that user access to your database by adding their information as well as the name of the database you’re adding them to.

mysql-add-user-to-database

On the following page, you’ll be asked about the privileges you want to provide that user — make sure they are all checked.

mysql-user-privileges

SBy now your FTP transfer should be complete and it’s time to visit your domain to complete the install. If the transfer was successful, WordPress will prompt you to choose your language when you visit your domain.

Pick your desired language and click “Continue”.

WordPress-select-language

You’ll then be asked to enter your Database “Name”, “Username”, “Password”, “Database Host”, and “Table Prefix”.

Once you’ve completed those fields, click “Submit”.

WordPress-database-name

Click the button that says “Run the Install”.You’ll be asked to give WordPress your admin information.This will include your “Site Title”, “Username”, “Password”, and “Email” that you created previously.

installing-wordpress

Finally, click “Install WordPress”.You should now be able to log into WordPress with your username and password.

Congrats! You’ve manually installed WordPress.


Final Thoughts on WordPress Installation

If you need help at any point during the installation process, you can check out the WordPress FAQ or troubleshooting pages. No matter your background, the WordPress installation process is quick and easy, allowing you more time to focus on the things that matter, such as customizing your website and creating 

android-1635206_1280

Upload Your First App In Play Store

Hello, welcome to bunkers point. In this post we are going to show you how to upload your app to play store in detail.
So let’s get started,
First you’ll need to register a developer account in Google play console. It will cost you a 25$ for registering as a developer in play console. Don’t worry it’s a one time payment. After that you could upload as many apps you want.

REGISTER FOR A GOOGLE PLAY DEVELOPER ACCOUNT:

⦁ Sign up for a google developer account using google account.
⦁ Accept the Developer Distribution Agreement.
⦁ Pay the registration fees.
⦁ And finally complete your account details.

GENERATE A SIGNED APK/BUNDLE:

Usually, you would have built the debug apk which could simply be built by selecting and clicking on Build Apk .This is a debug apk which developers build so that they could test their apps but if you want to upload the app to play store then you need to generate a signed apk/aab .

STEPS TO CREATE APK:

  • .Goto Build and select Generate signed Apk/Aab
  • Select APK and Click next.
PLAY STORE
  • Select create new keystore path and store it wherever you want
  • Enter the keystore password,key alias ,fill certificate details and click Ok.
  • Select destination and then select the build type as release , as google play store does not accept the apk/aab as type debug and check mark the signed versions v1 or v2 or both.
  • Click Finish and your done.

Android studio will now build the apk and you could locate or analyze the apk/aab after build is done.
One important thing you have to do as soon as your build is ready, always backup your keystore somewhere safe as it will be required at the time of updating your app. If you lose your keystore then nobody could help you , not even Google. As Google Play secures the app with key so it is necessary that you provide a key at the time of updating your app otherwise you will not be able to update the app in Play Store. If you don’t want to handle the key by yourself then no worries ,Google Play Console now has a feature that lets Google manage the app singing key .
The above steps were to create a signed apk but Google has launched Bundles .Now in Google Play Store ,app bundles can be uploaded instead of apk. Bundles helps in reducing the app size to about 50% and bundles are faster than apks.

STEPS FOR CREATING ANDROID APP BUNDLE:

  • .Goto Build and select Generate signed Bundle/APK
  • Select Android App Bundle and click Next.
  • Select create new keystore path and store it wherever you want
PLAY STORE
  • Enter the keystore password,key alias ,fill certificate details and click Ok.
  • Select the destination and then select build type as release as google play store does not accept the apk/aab as type debug and check mark the signed versions v1 or v2 or both.
  • Click Finish and your done.

UPLOADING THE APK/BUNDLE TO GOOGLE PLAY CONSOLE:

⦁ After registering to the Google Play Console, goto the All applications and select create application.

PLAY STORE


⦁ Enter your app Title and click ok.
⦁ Now you need to enter details of your app for store listing, Pricing and distribution, content rating.


⦁ And then in app releases , click on manage under production and then drag or copy your APK or AAB and wait for uploading.
⦁ If you don’t want to handle the key then you could opt in the app signing key and continue ,else opt out.
⦁ After everything is done ,your app will be under review and checks and when no issues found ,your app will be published in Google Play Store.


Note: You need to provide description,images,logo etc for your app.You’ll come to know it at the time of uploading the app. I’m pretty much sure you’ll be able to handle these things easily. If any doubt don’t hesitate to ask.

And don’t forget to comment,share and like. Thanks for reading.