EWD JS – Introduction



EWD JS – Introduction

2 0


EWD-JS-Introduction-Part-I

Introduction to EWD JS - Part I

On Github SUNY-Albany-CCI-LearningEncounters / EWD-JS-Introduction-Part-I

EWD JS

Introduction

Created by Luis Ibanez

Introduction to EWD JS by Luis Ibanez is licensed under a Creative Commons by Attribution 4.0 License Apache 2.0 License

Directories

We can start with the following directory structure

/opt/
/opt/ewdlite
/opt/ewdlite/www
/opt/ewdlite/www/ewd
/opt/ewdlite/node_modules

Client / Server

EWD applications are split into

  • Client
  • Server

Client

The client code is HTML and Javascript.

It goes in the directory.

/opt/ewdlite/www/ewd

Under its own directory name, for example.

/opt/ewdlite/www/ewd/helloworld/

Client

Here is a helloworld example

of the Client HTML code.

HTML file

Select the option "View Source" in your browser.

Slide #1

Slide #2