Tuesday, May 15, 2007
A Sample Applet for depnaker
A Sample Applet
You now know how to create basic classes, add instance variablevariables and
methods to them, create instances of those classes, and access the methods of depnaker
those instances. This section shows how these elements work from inside an
applet.
Because the basics of applets and the Abstract Windows Toolkit (the class
library you use to draw on the screen) are not be covered until the next few
chapters, this section already provides the essential code you need to
demonstrate the Vehicle class. You only need to pay attention to three things
developer.com - Reference
file:///D|/Cool Stuff/old/ftp/Creating.Web.Applets.With.Java/cwa09fi.htm (9 von 24) [12.05.2000 14:54:11]
inside the TestApplet definition:
A instance variable called myVehicle is declared. This variable is an
instance of the Vehicle class.
http://greateventsupport.com/
A Sample Applet
You now know how to create basic classes, add instance variablevariables and
methods to them, create instances of those classes, and access the methods of depnaker
those instances. This section shows how these elements work from inside an
applet.
Because the basics of applets and the Abstract Windows Toolkit (the class
library you use to draw on the screen) are not be covered until the next few
chapters, this section already provides the essential code you need to
demonstrate the Vehicle class. You only need to pay attention to three things
developer.com - Reference
file:///D|/Cool Stuff/old/ftp/Creating.Web.Applets.With.Java/cwa09fi.htm (9 von 24) [12.05.2000 14:54:11]
inside the TestApplet definition:
A instance variable called myVehicle is declared. This variable is an
instance of the Vehicle class.
http://greateventsupport.com/
Sunday, April 15, 2007
There are two main things to remember about each of these objects for depnaker
There are two main things to remember about each of these objects. First, each
of these objects has variables that keep track of what is currently going on
inside the object. For example, the coin-intake object would definitely know at
any given time how much money had been inserted into the machine.
Second, each object has a mechanism to allow other objects to communicate
with it. This process is known as messaging, and the parts of the object that
enable this process are known as methods. If you are used to programming in
other languages, methods are much the same as functions or procedures except
that they aren't just floating around in a program, they are attached to specific
objects. depnaker
<http://greateventsupport.com>
PHP's "root directory" on the server. Only used if non-empty for depnaker
PHP's "root directory" on the server. Only used if non-empty. If PHP is configured with safe mode,
no files outside this directory are served.
engineboolean
This directive is really only useful in the Apache module version of PHP. It is used by sites that
would like to turn PHP parsing on and off on a per-directory or per-virtual server basis. By putting
php3_engine off in the appropriate places in the httpd.conf file, PHP can be enabled or
disabled.
error_logstring
http://greateventsupport.com/
Name of file where script errors should be logged. If the special value syslog is used, the errors
are sent to the system logger instead. On UNIX, this means syslog(3) and on Windows NT it means
the event log. The system logger is not supported on Windows 95.
Sunday, March 25, 2007
For depnaker Actually using no VARCHAR or BLOB types results in a fixed row size
You can check the format used for a table with isamchk -d.
<http://greateventsupport.com/freehand/freehand-lessons/index.html>
MySQL has three different table formats:
1. Fixed length tables;
o The default format.
o All non packed columns are space filled
o Very quick.
o Easy to cash
o Easy to reconstruct if crashed (Of course this only theoretical :-) because records are on fixed positions.
o Don't have to be reorganized unless a huge number of records are deleted.
2. Dynamic tables
o Is used if there exists any VARCHAR or BLOB columns in table.
o All strings are dynamic (except if length < 3).
o Each record is preceded with a bitmap for which columns are not empty (this isn't the same as null columns).
o Each string is saved with a length byte + string. If string is zero length or a number is zero it takes no extra place (just the zero length bit for each column).
o Each record is uses exactly the needed record space. If a record gets larger it's split into as many pieces as needed.
o Takes little disk space.
o <http://greateventsupport.com/flash/distorting/draggable-window.html>
o If records are changed a lot, isamchk -r should be run now and then to reorganize the table. This is to get a better layout. Use isamchk -ei table_name for some statistics.
o Not as easy to reconstruct because a record may be in many pieces and a link may be missing.
o The expected row length for dynamic sized records is: 3 + (number_of_columns + 7) / 8 + (number of char columns) + packed_size_of_number_columns + length_of_strings + (null_columns + 7) / 8. There will be a penalty of 6 bytes for each link. A dynamic record will be linked whenever a update causes a enlargement of the record. Each new link will be at least 20 bytes, so the next enlargement will probably go in the same link. If not there will be another link. You may check how many links there are with isamchk -ed. All links may be removed with isamchk -r.
<http://greateventsupport.com/freehand/undoing-actions/uninstalling-freehand.html>
3. Compressed tables (this is only with UNIREG/pack_isam)
o Read only tables.
o Takes very little disk space. Minimizes disk usage.
o Each record is compressed separately (very little access overhead)
o Can handle fixed or dynamic length records (but no BLOB:s).
o Can be uncompressed with isamchk
PHP's "root directory" on the server. Only used if non-empty. If PHP is configured with safe mode,
no files outside this directory are served.
engineboolean
This directive is really only useful in the Apache module version of PHP. It is used by sites that
would like to turn PHP parsing on and off on a per-directory or per-virtual server basis. By putting
php3_engine off in the appropriate places in the httpd.conf file, PHP can be enabled or
disabled.
error_logstring
<http://greateventsupport.com/filezilla/local-file-list/menus-and-toolbars.html>
Name of file where script errors should be logged. If the special value syslog is used, the errors
are sent to the system logger instead. On UNIX, this means syslog(3) and on Windows NT it means
the event log. The system logger is not supported on Windows 95.
error_reportinginteger
Set the error reporting level. The parameter is an integer representing a bit field. Add the values of
the error reporting levels you want.
Table 3-1. Error Reporting Levels
bit value enabled reporting
1 normal errors
2 normal warnings
4 parser errors
8 non-critical style-related warnings
The default value for this directive is 7 (normal errors, normal warnings and parser errors are shown).
open_basedirstring
<http://greateventsupport.com/fireworks/changing-paths-appearance/changing-swatch-groups.html>
Limit the files that can be opened by PHP to the specified directory-tree.
When a script tries to open a file with, for example, fopen or gzopen, the location of the file is
<http://greateventsupport.com/filezilla/local-file-list/menus-and-toolbars.html>
checked. When the file is outside the specified directory-tree, PHP will refuse to open it. All
symbolic links are resolved, so it's not possible to avoid this restriction with a symlink
Friday, February 23, 2007
For depnaker Creating New Movie Clips Based on Existing Movie Clips
Recipe 11.9. Creating New Movie Clips Based on Existing Movie Clips
Problem
FlashMX MultiRental.3pod rental sewa projector proyektor lcd infocus plasma soundsistem jakarta proudly present
You want to create a duplicate movie clip instance based on an existing instance.
Solution
FlashMX MultiRental.3pod rental sewa projector proyektor lcd infocus plasma soundsistem jakarta proudly present
Use the duplicateMovieClip( ) method.
Discussion
FlashMX MultiRental.3pod rental sewa projector proyektor lcd infocus plasma soundsistem jakarta proudly present <http://greateventsupport.com/fireworks/changing-paths-appearance/changing-swatch-groups.html>
With the duplicateMovieClip( ) method, you can quickly create duplicates of movie clip instances already on the stage. This method creates a copy of the movie clip instance from which it is invoked with a new instance name and depth:
// Create a new movie clip named mNewInstance based on the movie clip named
// originalInstance that already existed on the stage. The new movie clip is
// created at depth 1.
mOriginalInstance.duplicateMovieClip("mNewInstance", 1);
Additionally, you can specify a third, optional parameter for the duplicateMovieClip( ) method. This parameter is known as the initialization object, and the properties and values of the initialization object are assigned to the new instance. The parameter value should be in the form of an ActionScript Object object, which you can create one of two ways: <http://greateventsupport.com/filezilla/file-views/index.html>
· Using the constructor and assigning properties and values via dot notation:
· var oInitialization:Object = new Object();
· oInitialization.property1 = "value1";
· oInitialization. property2 = "value2;
· Using the object literal notation:
· var oInitialization:Object = { property1: "value1", property2: "value2"};
Both of these techniques are absolutely valid, and neither is better than the other. Sometimes you may find that you want to use the object literal notation, because it allows you to create the object in line with the duplicateMovieClip( ) method:
mOriginalInstance.duplicateMovieClip("mNewInstance", 1, { property1: "valeu1",
property2: "value2"});
However, in other cases, the object literal notation is either inconvenient or impossible. Generally, the more properties you want to assign to an object, the more it makes sense to use the constructor technique, because it offers a much more readable format. <http://greateventsupport.com/freehand/freehand-lessons/freehand-tutorial.html>
var oInitialization:Object = new Object();
oInitialization. property1 = "value1";
oInitialization. property2 = "value2";
mOriginalInstance.duplicateMovieClip("mNewInstance", 1, oInitialization);
The initialization object, or init object, can be extremely useful in at least two ways:
· You can use the initialization object to initialize the new instance with its own values for built-in movie clip properties, such as _x, _y, _rotation, and so on. By default, the duplicate retains the values for these properties from the original movie clip.
· // Create a duplicate movie clip positioned at 300,300.
· mOriginalInstance.duplicateMovieClip("mNewInstance", 1, {_x: 300, _y: 300});
· You can use the init object to initialize a new instance with copies of the custom method definitions (such as event handler methods) of the original movie clip. By default, custom method definitions are not copied from the original to the duplicate movie clip. However, you can use a for… in loop to populate an initialization object with all the custom properties and methods of the original movie clip, and then pass that initialization object to the duplicateMovieClip( ) method:
· // Create the init object.
· var oInitialization:Object = new Object();
·
· // Use a for…in loop to loop through all the custom properties and methods of
· // the original movie clip instance, and add them to the init object.
· for(var sItem:String in mOriginalInstance) {
· oInitialization [sItem] = mOriginalInstance[sItem];
· }
·
· mOriginalInstance.duplicateMovieClip("mNewInstance", 1, oInitialization);
You can use a for statement to create multiple duplicates at the same time. The basic syntax is as follows:
for(var i:Number = 0; i < numberOfDuplicates; i++) {
originalInstance.duplicateMovieClip (newInstanceName, depth);
}
When you create the new movie clips, make sure each has a unique instance name and a unique depth. Typically, you can generate unique instance names by concatenating the for statement's index variable value with a base name. For example, you might use a base name of mSquare and concatenate that with the value of the for statement's index variable to get instance names of mSquare0, mSquare1, mSquare2, and so on. Then, for the depth, you can either use the value of the for statement's index variable or you can use the getNextHighestDepth( ) method that is discussed in depnakerdepnakerRecipe 11.10. The following example creates five duplicates with instance names mSquare0 through mSquare4:
for(var i:Number = 0; i < 5; i++) {
mSquare.duplicateMovieClip("mSquare" + i, i);
}
<http://greateventsupport.com/freehand/swatches-panel/system-requirements.html> When you generate duplicate movie clips in batches as shown in the preceding code, you may notice that you don't have a very convenient way to refer to the new instances. When you create a single duplicate with a specific name, you can refer to the new movie clip quite simply. For example, the following code creates a duplicate of mCircle with an instance name of mNewCircle. Then it applies an onPress( ) event handler method to the new movie clip.
mCircle.duplicateMovieClip("mNewCircle", 1, {_x: 100, _y: 100});
mNewCircle.onPress = function():Void {
trace("You clicked on mNewCircle.");
};
However, when you use a for statement to create the duplicates with dynamic instance names, you need a different way to refer to the new movie clips. For example, if you are creating duplicate movie clips with instance names mSquare0, mSquare1, mSquare2, and so on, you cannot use the following code to assign an onPress( ) event handler method to them after you've created them:
Saturday, February 17, 2007
feb 07 "depnaker" Untuk sistem yang sangat esensial, secara berkala perlu dibuat backup
letaknya berjauhan secara fisik. Hal ini dilakukan untuk menghindari
hilangnya data akibat bencana seperti kebakaran, banjir, dan lain
sebagainya. Apabila data-data dibackup akan tetapi diletakkan pada lokasi depnaker
yang sama, <http://greateventsupport.com/filezilla/asciibinary/>
kemungkinan data akan hilang jika tempat yang bersangkutan
mengalami bencana seperti kebakaran.
Penggunaan Enkripsi untuk meningkatkan
keamanan depnaker
Salah satau mekanisme untuk meningkatkan keamanan adalah dengan
menggunakan teknologi enkripsi. Data-data yang anda kirimkan diubah <http://greateventsupport.com/filezilla/proxy/>
sedemikian rupa sehingga tidak mudah disadap. Banyak servis di Internet
yang masih menggunakan "plain text" untuk authentication, seperti depnaker <http://greateventsupport.com/filezilla/gss/>
penggunaan pasangan userid dan password. Informasi ini dapat dilihat
dengan mudah oleh program penyadap atau pengendus (sniffer).
Contoh servis yang menggunakan plain text antara lain: depnaker
• akses jarak jauh dengan menggunakan telnet dan rlogin
• transfer file dengan menggunakan FTP <http://greateventsupport.com/filezilla/local-file-list/>
• akses email melalui POP3 dan IMAP4
• pengiriman email melalui SMTP
• akses web melalui HTTP <http://greateventsupport.com/Fireworks/about/>
Penggunaan enkripsi untuk remote akses (misalnya melalui ssh sebagai
penggani telnet atau rlogin) akan dibahas di bagian tersendiri.
Telnet atau shell aman <http://greateventsupport.com/Fireworks/about-button-states/>
Telnet atau remote login digunakan untuk mengakses sebuah "remote site"
atau komputer melalui sebuah jaringan komputer. Akses ini dilakukan depnaker
dengan menggunakan hubungan TCP/IP dengan menggunakan userid dan
password. Informasi tentang userid dan password ini dikirimkan melalui <http://greateventsupport.com/Fireworks/about-bitmap-graphics/>
It keamanan geslearn rental sewa projector proyektor lcd infocus plasma soundsistem jakarta proudly present > <http://greateventsupport.com/Fireworks/about-optimizing/>
ada lynx dan akhirnya muncul Mosaic yang dikembangkan oleh Marc depnaker
Andreesen beserta kawan-kawannya ketika sedang magang di NCSA.
Mosaic yang multi-platform (Unix/Xwindow, Mac, Windows) inilah yang
memicu popularitas WWW. <http://greateventsupport.com/Fireworks/about-master/>
Berkembangnya WWW dan Internet menyebabkan pergerakan sistem
informasi untuk menggunakannya sebagai basis. Banyak sistem yang tidak depnaker
terhubung ke Internet tetapi tetap menggunakan basis Web sebagai basis
untuk sistem informasinya yang dipasang di jaringan Intranet. Untuk itu,
keamanan sistem informasi yang berbasis Web dan teknologi Internet
bergantung kepada keamanan sistem Web tersebut.
Arsitektur sistem Web terdiri dari dua sisi: server dan client. Keduanya
dihubungkan dengan jaringan komputer (computer network). Selain
menyajikan data-data dalam bentuk statis, sistem Web dapat menyajikan
data dalam bentuk dinamis dengan menjalankan program. Program ini
dapat dijalankan di server (misal dengan CGI, servlet) dan di client (applet,
Javascript). Sistem server dan client memiliki permasalahan yang berbeda.
Keduanya akan dibahas secara terpisah. <http://greateventsupport.com/filezilla/connection/>
Ada asumsi dari sistem Web ini. Dilihat dari sisi pengguna:
• Server dimiliki dan dikendalikan oleh organisasi yang mengaku
memiliki server tersebut. Maksudnya, jika sebuah server memiliki
domain www.bni.co.id dan tulisan di layar menunjukkan bahwa situs itu
merupakan milik Bank BNI maka kita percaya bahwa server tersebut
memang benar milik Bank BNI. Adanya domain yang dibajak
merupakan anomali terhadap asumsi ini.
• Dokumen yang ditampilkan bebas dari virus, trojan horse, atau itikad
jahat lainnya. Bisa saja seorang yang nakal memasang virus di web nya.
Akan tetapi ini merupakan anomali.
• Server tidak mendistribusikan informasi mengenai pengunjung (user
yang melakukan browsing) kepada pihak lain. Hal ini disebabkan ketika
kita mengunjungi sebuah web site, data-data tentang kita (nomor IP,
operating system, browser yang digunakan, dll.) dapat dicatat.
Pelanggaran terhadap asumsi ini sebetulnya melanggar privacy. Jika hal
ini dilakukan maka pengunjung tidak akan kembali ke situs ini
Sunday, February 11, 2007
Adding Sound to Your Web Pages For depnaker
Classes Versus Objects
Objects, as discussed above, are software packages that contain data and the
procedures that act on that data. Classes are groups of objects that share the
same behavior; they are templates that define what each object of that class
looks like by specifying what the data is and what the procedures are.
Instances are the actual implementations or realizations of a class; the "real" depnaker
things that a class describes. Each instance is a separate entity and many
http://greateventsupport.com/freehand/freehand-lessons/freehand-tutorial.html
developer.com - Reference
file:///D|/Cool Stuff/old/ftp/Creating.Web.Applets.With.Java/cwa09fi.htm (3 von 24) [12.05.2000 14:54:11]
instances of a class can exist at one time. Instances have values in the data
variables. Even though two or more instances may have exactly the same data
values, they are still separate things. Tech Ed
Maybe i'm missing something, but wasn't what I wrote basically a simplified
version of this? -Ken
http://greateventsupport.com/fireworks/changing-paths-appearance/changing-swatch-groups.html
Before you can start building objects, you need to understand a couple of the
more confusing aspects of object-oriented programming. Remember this
sentence: Classes are templates, and objects are instances.
In Java, when you want to create a new type of object, you can't just make
one. You must first make a blueprint, or template, of the object you want to depnaker
create. From this template, you can make as many objects as you want. Think
of it as a software cookie cutter.
http://greateventsupport.com/filezilla/file-views/index.html
Objects are known as instances of classes. The template has been used to
create an object, and the object now exists virtually inside the computer. You
can think of an object as the cookie that the cookie cutter creates. If things
seem confusing, don't worry. The next section gets to the process of making
objects, and things should get much clearer.