The above diagram shows their respective roles: the contract runs on the node, and the client accesses it.
When testing, also write assertions and test cases, using solidity as programming.
Example of online IDE (remix.ethereum.org)
: browser/GreetMeeting.sol
pargma solidity^0.4.19;
contract GreetMeeting {
string name;
function GreetMeeting(string _name) public {
name = _na