Introductions

Hello my name is Niko, I will be demonstrating the Hack language to you.

Hack is a backend web language very similar to PHP. For those of you who are familiar with PHP you will know that Facebook uses it a lot. In fact Facebook developed Hack as an update to PHP. Backend web refers for operations for content retrieval. Unlike HTML which represents the front or surface of a webpage it is not very visual. Hack has some interesting features which include return types for functions,  TypeChecker, and HHVM. Throughout this blog I plan touch up on all these unique features.

If you are interested about learning the Hack language, comeback next week and visit hacklang.org for any additional information.

Next week I will show you just how similar Hack is to PHP with some simple code examples

 

5 thoughts on “Introductions

    1. PHP is a backend is for getting content from server to user. Backend web languages such as Hack and PHP work like this. If this intrigues you , you may setup hhvm as a web server on a free port. Once you have hhvm installed using the following command , hhvm -m server -p 8080. where hhvm is the package to target the parameter is the mode in this case I specify server and p is the port , I have chosen to run the web server on port 8080. I understand not many individuals have a linux machine but that is how I managed to install hhvm. I am using Ubuntu 17.1 for this demonstration.

      Like

    2. PHP is a backend web language that gathers content when you access various web pages. Unlike CSS it has nothing to do with how it looks, rather the information of the web page.

      Like

  1. I am not familiar with the acronym HHVM – what does it mean? Do you have an environment to execute Hack in? If so, share it with us and tell about any issues you had in installing it so that we can follow along at home if we’d like to.

    Like

    1. HHVM refers to the Hip Hop Virtual Machine. It is the environment in which hack runs, currently I have HHVM running on my linux machine (Ubuntu 17.1). I ran into issues installing HHVM on Windows and resorted to the Linux terminal for installation. The HHVM also can be a local web server if one puts it into server mode. Next week I shall in addition to explaining variables and constants go over starting up the Hip Hop Virtual Machine. For individuals who are having difficulties installing on Windows , I would suggest virtually running a linux distribution such as Ubuntu and installing it as so.

      Like

Leave a comment