Posts

My Experience with CloudKasthiram 2020

Image
First, what is Cloud Kasthiram? I never knew what the CloudKasthiram is when I was registering for the challenge. So I think there might be students like me and this is the best time I can share what I know about this CloudKasthiram . Basically, CloudKasthiram is a challenge which is based on the Google Cloud Platform organized by GDG Sri Lanka. The challenge was to complete only 6 labs of 11 labs which were provided by the CloudKasthiram team within the given time period. After completing a lab they are providing a badge and that is the certification of completion. So that means to complete the challenge, six badges must be collected. Other than that, if anyone wants to get all the badges they can also complete all the quests. From where did I get to know about CloudKasthiram and how did I register for the challenge? I got to know about CloudKasthiram from the GDG Sri Lanka Facebook page. Then I registered myself for the challenge using the provided google form and received thei...

configure maria db to create crystal report (to get values from phpmyadmin to make crystal reports)

Image
'MUST' download version 2 of maria db connector (if it is 32 bit it will be helpful even your laptop supports 64bit) from https://mariadb.com/downloads/?showall=1&tab=connectors&group=mariadbconnectors&product=ODBC%20connector#connectors go to control pannel > Administrative tools >ODBC Data Sources (32-bit) then  go to System DSN add new select mariodb  odbc 2.0 driver  give a custom name like test or what ever you want add your server name add the user name and password of PHPMyAdmin login then select your database next, all the rest of the interfaces then finish now go to the visual studio create a crystal report then go to field explorer select database explorer right-click and select the database expert then create new connection select OLE DB (ADO) now add Microsoft OLE DB ODBC provider for ODBC driver now select the name of your created System DNS name (ex: test) give your User name and password of PHPMyAdmin login then finish keep in mind to down...

Setup Apache Tomcat Server on eclipse

Image
For specific project Create a new web project:  File > Dynamic Web project > Cerate new one Setup server: Go to Window > Preference > Server > Runtime Environment > Add  Then Select Apache Tomcat Server > Next > Add the source directory of pre-installed Apache Tomcat (not the bin folder) Comment : when starting server if it shows an error saying Starting Tomcat v9.0 Server at localhost has encountered a problem, like bellow 1) Double click on the server tab 2) Change the port numbers which you haven't used for other running servers 3)Start again

Express JS(Part 02)

Image
Express JS   ( Part 02) What I s   Express JS  ? Express JS  is a web application framework. It provides a simple API to build websites  ,  web apps and back  ends . This provides the minimal interfaces to build the applications . It is flexible with the numerous modules available on  npm . Express JS  was developed by  TJ Holowaychuk  and is maintained by the Node . js . How To Setup And Configure? As the very first step, we need to install the express-generator module on the system.  it is very simple. Type  npm install -g express-generator on command prompt and press enter to install. As the next step create new express project using newly installed express generator . For example, now you can try printing hello world in your project. Try An Example To Print "Hello World" In this image the first line has imported the express to our file . So that we have access ...

REST Services And Express JS

Image
REST Services And ExpressJS ( Part 01) What is  the REST Services? Simply it is the abbreviation of the  RE presentational S tate T ransfer P rotocol. This is the architectural style for distributed hypermedia systems. REST also has its own guiding constraints which must be satisfied if an interface needs to be referred as RESTful like other architectural styles. As guiding principles of REST, there are 6 principles. Those are   Client-server ,  Stateless,  Cacheable,  Uniform interface,  Layered system,  Code on demand (optional) Client-Server   :   Separates the user interface and services Uses URI to make the connection between the client and the user HTTP stack is the communication platform Client is portable S erver stands independent from different user interfaces. Stateless   :   Self-containing messages, no client state on the server For the pa...

React JS(Part 02)

Image
React JS (Part 02) In the previous blog, we were talk about the basic parts of React JS.In this blog post, I am planning to explain some advance concepts in the React JS. Components of Life Cycle In the previous blog post, I have discussed what does the meaning of the components in React JS. Here I am explaining to you what is the component life cycle in React JS. Basically, each and every component of React has to go through the life cycle of its own birth, growth, and death. So that, in R eact  these 3 stages are called using three different names. Those are, Mounting   -  Birth Update   - Growth Unmount   - Death Constructor This is the method that calls before anything else. This is the natural place to set up the initial state and the other initial values when the component is created. This method is called with the props as arguments. That means this constructor ( ) method helps to bind...

React JS(Part 01)

Image
React JS (Part 01) What is React JS? React Js is also called as React, react . js for simply. This is an open-source library that is created using JavaScript. The major functionality of react . js is making the single page UI s. This is used for handling the view layer for mobile and web applications (works according to the MVC architecture). This was first created by Facebook and now it's maintained by Facebook and Instagram. React allows reusability as one of its qualities. React allows the user to create large web applications. These applications can change a huge amount of data without reloading. Being fast, scalable and simple is the main qualities of react . js . This can be used combining  with the JS libraries or frameworks (Angular JS in MVC). Components/Building B locks of React JS These are a piece of user interfaces. These UI s contain the data. Basically, these components are JavaScript classes that ha...