Monday, 19 March 2012

TECNOLOGY

Application Creation
Here we will explain to you how to
create a simple HyperNext
program in just a few actions.
If you are new to programming
then the believed of creating
your own software might be
confusing but there are really
just two primary factors to
consider :
The system.
The rule.
Most software has an interface
that customers can socialize with, so
allowing them to management and
receive details from the
program behind it. As a well
designed person interface can make
software both simple to use and
easy to system, many
programmers therefore develop
the person interface first and later complete in
the rule. This is the
approach we recommend for
beginners to HyperNext.
Some development tutorials
suggest developing a user
interface on papers but with
HyperNext it is often simpler to
place your manages such as
buttons on the style window
and basically perform around with
them until their location looks
about right.
Filling in the rule is
more crucial because whereas a
badly placed management will not
crash a system, a programming
error can. For both beginners
and professionals it is often better to
write down the primary functions
of the system on papers before
typing them in. However, for
small applications it is possible to
type them immediately in and then
run them to see if they perform.
Creating your own software
therefore includes following
these actions :
Create your applications person interface.
Fill in some rule.
Run and analyze the application.
Repeat the above actions.
The next area will temporarily cover
the HyperNext style person interface.
HyperNext Designer Interface
The HyperNext system has
been kept very simple with just a
main style display, one
toolbar and a function switcher :
Main style display.
Toolbar.
Mode switcher.
The primary style display is
called a card in HyperNext and
when the system is managing it
is the display a person recognizes and
interacts with. A HyperNext
program can have many credit charge playing cards,
thousands actually, and in Design
mode they are utilized via the
Toolbar.
The HyperNext plugin is very
simple, having places for
Properties, Control choice and
the Card Record. In Design mode
HyperNext also has a control
mode particular to the management type
being modified, for instance:
button, area, material etc.
The Mode Switcher allows rapid
switching between HyperNext's
three settings of Design, Preview
and Run.
HyperNext Designer Interface
"Hello World" Program
A "Hello World" system is often
the first system beginners try to
implement and it basically instructs
the pc to display a "Hello
World" concept. Although this
might now seem simple, it wasn't
always so because some
languages had complex
frameworks to expert before
even a simple concept could be
displayed. However, in HyperNext
it is very simple as you will soon
see.
Your first system will display a
window containing a single
button, which when forced will
display a "Hello World" dialogue
box. This system can be
implemented by first developing the
interface and then including the
program value.
User Interface
Our aim is to create a window
(card) containing just one button
and your career is created easier
because when HyperNext Creator
starts a new venture its design
window is empty so requiring
you to just add one option. Even
better, HyperNext begins up in
button function and is prepared to
work with control buttons.
(1) To create your interface:
Create a New venture via the File
menubar.
Name the venture "Hello".
On the Toolbar media the button
"New Button".
Click on the card to position the
button.
It doesn't really issue much
where the option was placed but
you can research by dragging
it around.
(2) To see the person interface as a user
would you can use HyperNext's
Preview function :
Press the "Preview" option on
the Mode Switcher.
The card will appear as it would
at playback.
(3) To come back to "Design" mode:
Press the "Design" option on the
Mode Switcher.
Now that the person interface is ready
you can add some system code
to it.
Program Code
To add some value to your
button :
Select the option on the card.
On the Toolbar Qualities click
the "Script" option.
... the Program Writer will start.
Place the pointer on an clear range.
Type in: Message 'Hello World'.
Close the Writer using the "Close"
button.
Now that the rule has
been joined it can be run and
tested.
Running the Program
To run your program:
Click the "Run" option on the
Mode Switcher.
The system should now
compile and run.
If you created one entering in
the "Message" control then
the compiler will automatically
open the Writer at the right place
so helping you to appropriate the
mistake.
Once managing, your system will
display a Rush display that can
be easily ignored by simply
clicking into it after which the
card display will appear.
Now you can media the single
button and "Hello World" should
appear.
Congratulations - your first
HyperNext program!.

0 comments:

Post a Comment