Installing Apache Tomcat on MacOS Mojave using Homebrew
Arits Blog » Backend Development
by Fahim Hossain
1y ago
ARITS Limited :: In order to install Apache Tomcat on MacOS, we firstly need to install Java Development Kit(JDK). To check if java installed, open up the terminal and run the following command: java -version If the JDK is not installed, then you will be prompted with the following message No Java runtime present, requesting install. On the other hand, if JDK is installed, you will be promoted a message which will look similar to the following: openjdk version “12.0.2” 2019–07–16 OpenJDK Runtime Environment (build 12.0.2+10) OpenJDK 64-Bit Server VM (build 12.0.2+10, mixed mode, sharing ..read more
Visit website
5 Useful Elasticsearch Queries
Arits Blog » Backend Development
by Arifur Rahman
1y ago
ARITS Limited :: Elasticsearch is NoSql Database. It stores data in an unstructured way as an Index and to retrieve data need to follow it’s own query pattern rather regular SQL query. There are several types of query pattern are used in Elasticsearch. We will talk 5 most useful queries are used in Elasticsearch. 1- Bool Query The AND/OR/NOT operators can be used to fine tune our search queries in order to provide more relevant or specific results. This is implemented in the search API as a bool query. The bool query accepts a must parameter (equivalent to AND), a ..read more
Visit website
Easily Integrate ElasticSearch in Laravel Application
Arits Blog » Backend Development
by Arifur Rahman
1y ago
ARITS Limited :: On an Application, Searching is one of the useful features to retrieve data quickly in real-time. Elastic search is an open resource and RESTful search engine index. ElasticSearch provides a scalable solution and performs a real-time search. It can easily integrate with Laravel. What is Elastic Search Elasticsearch is the distributed search and analytics engine at the heart of the Elastic Stack. Logstash and Beats facilitate collecting, aggregating, and enriching your data and storing it in Elasticsearch. Kibana enables you to interactively explore, visualize, and share insigh ..read more
Visit website
Creating a Custom Facade in Laravel 6.0
Arits Blog » Backend Development
by Fahim Hossain
1y ago
ARITS Limited :: In this article, we will discuss on creating a custom facade in Laravel 6.0 application. Why use a facade? A facade can help reduce code duplicity and make it easier to use, understand and test throughout an application. Usually facades are used to reduce dependencies of outside code on the inner workings of a library. Thus, by creating a custom facade you will be able to create your own custom library to allow more flexibility in developing your application. Implementing a Custom Facade in Laravel 6.0 In order to create a facade in Laravel 6, we will need to follow the follow ..read more
Visit website
Convert DateTime string to Carbon Object
Arits Blog » Backend Development
by Fahim Hossain
1y ago
ARITS Limited :: When working on Laravel there will be a time when you would have to parse a datetime string to a Carbon object for further processing. Carbon provides a very simple to use method to achieve it for a datetime string of any format. Following is an example – $start_date = "2019-12-10T15:03:01"; $carbonObject = Carbon::parse($start_date); //Now print the object to visualise the results dd($carbonObject); Here is what you will see in your output – Carbon\Carbon @1575968581 {#144 date: 2019-12-10 15:03:01.0 Asia/Dhaka (+06:00) } If you have any questions, do let us know in the ..read more
Visit website

Follow Arits Blog » Backend Development on FeedSpot

Continue with Google
Continue with Apple
OR