1 Hello there!Nicy thing this
| ||||||||||||||||||
// A silly comment! |
2 Welcome to the first GWeb program!This is the first program using gweb sections. 2.1 The larchLets start with the main class: Look at this cool reference (Then we need a method) aint it cool?
|
class Goo
{
<Declarations> |
2.2 Then we need a method
|
public static
void sayHi ()
{
System.out.println ("Hello World!");
}
|
|
Talk a little bit more!
|
public static
void sayBye ()
{
System.out.println ("Bye World!");
}
|
3 The databaseA very complicated database, indeed! |
DROP TABLE IF EXISTS important_data;
CREATE TABLE important_data (
# unique id
data_key int(22) NOT NULL AUTO_INCR,
# The name is useful
name varchar(255) DEFAULT '' NOT NULL,
PRIMARY KEY (data_key));
# Thats all folks, remember to add keys if needed!
|
4 Chunks
<Declarations>
|