Skip to main content

Backend Developer & Development [ Part 1 ]



Backend developer is a develop who maintain the work users /  clients can't see such as processing transaction, data structure, data transfer. These works would contains in a API server and API server contains many endpoint that can call by anyone but only success when fulfill endpoint requirements so it is secured.

API Server

also know as REST API ( Representational State Transfer ). It's processing like client request to server & after server process return response to client.
API Server is develop by backend developer and this api server can be many type and different language, different framework such as
  • Ruby on Rails ( RoR ) using Ruby
  • Python
  • PHP ( Laravel & Yii2 )
  • Java ( Spring )
  • C# ( ASP.NET & NancyFX )
  • Node.JS ( ExpressJS, SailsJS, HapiJS, NestJS, FeatherJS )
Different framework have their own advantages and can be used on different projects based on their features and usage. In the development not only choosing frameworks also need to choose ORM / ODM for managing objects. ORM is object relational mapper and ODM is object document mapper. With these ORM / ODM you also need to choose what database to use such as
  • MySQL
  • PostgreSQL
  • MongoDB
  • Oracle
  • Microsoft SQL Database
  • Firebase ( realtime database )
After choosing a database you also can implements services that already completely work on production such as
  • Firebase ( Realtime Database, Authentication, CDN )
  • One Signal ( Notification )
  • Here WeGo / Google Maps ( Maps )
  • Docker ( Packaging apps )
  • Docker Composer ( Container for storing docker app )
  • Kubernetes [ k8s ] ( Container for storing docker app )
With these frameworks, orm, services can speed up your development speed. These api endpoints can testing & write tests by using Postman.

Backend Components

Most of the backend frameworks has almost same components / structures. They would have controller for processing datarouter for map api to url and middleware for pre-access of incoming requests ( means that will run before controller ). If framework come with some data mapper, they would have models / entities for database objects, migration for scripting table of database objects, and lifecycle for handling lifecycle of models like ( beforeAction & afterAction ). Some of the framework or data mapper still have extra features for this but i not going to explain that cause still have some different on all of the framework but these 6 is most common at all backend frameworks. Before move on to these components i will explaining about requests & responses.

Next part will talk about incoming requests & responses.

Popular posts from this blog

Flutter codebase sharing

# Clone For master branch come with example, you can clone and run `flutter doctor && flutter run` ``` git clone --single-branch --branch master https://github.com/Oskang09/Flutter-CB2019.git ``` For codebase branch just empty codebase, but setup done you can just start your development. ``` git clone --single-branch --branch codebase https://github.com/Oskang09/Flutter-CB2019.git ``` # Plugins * Dart as "Programming Language" * Flutter as "SDK" * Redux as "State Management" * Fluro as "Navigator Router" # pubspec.yaml ```yaml name: flutter_codebase description: A new Flutter project. version: 1.0.0+1 environment: sdk: ">=2.0.0-dev.68.0 (); Router router = Router(); routers.forEach( (route) { router.define( route.routePath, handler: Handler( handlerFunc: (context, params) => route.widget(params) ), transitionType: route.transitionType ...

Preparing some plugins for upcoming server

Since i still having a free server from mine friends who in Taiwan keep supporting me for server hosting. For long time busy, and he hope i would still operate and having a survival server so i coming to build up a survival server that not like before only enhance survival gameplay instead of new gameplay and make player doesn't even know how to play. Here come with some idea before i preparing: Custom Building Structure ( Make player easier for some basic works ) Custom PvP & PvE Mechanic ( Make item flexible with skill system and update-able, also work with entity ) Socialize Gamplay ( Guilds & Friends & Party & Mail System ) Daily Gameplay ( Questing, Events )  Any suggestion would be appreciated ( welcome to inbox me :] ) Some images about mine developments in these 2 days. Mine Structure API Skill API work with Items system & Status system And here is the video about the Custom Building Structure Part. As past exp...

Object & Container Object

Object / Class What is Object? Object can be people, can be animal, can be anything. Object only store his own data, attributes and property like house has price, size and animal has age and gender.  Object also store his own function or method like animal can eat(); and people can walk();. Try imagine an object is a people, what should it have and what should it don't have? Let's take this example. public class People { private: String name; int age; int hungry; public: void grow() { this->age += 1; } void eat() { hungry = false; } } People can eat, people will grow up so this is true but you try imagine a people can fly(); ? What other programmer see when want to use ur code? "WTF, WTF is this? Oh my godness." so just store whatever the object need, have is enough. When some attribute is too much and enable to split to another object,...