Einstieg in PHP 5 - Für Einsteiger in die by Alfred K. Treml

By Alfred K. Treml

Show description

Read or Download Einstieg in PHP 5 - Für Einsteiger in die Webserver-Programmierung PDF

Similar programming: programming languages books

Objektorientierte Programmiersprache C++: Vollständige Einführung anhand von Beispielen (VDI-Buch) (German Edition)

In diesem Werk werden alle Aspekte der Sprache C++ behandelt, deshalb ist das Buch ebenso für Einsteiger, mit oder ohne Vorkenntnisse über eine andere Programmiersprache, als auch für Umsteiger von anderen Programmiersprachen bzw. C-Programmierer geeignet. Die Darstellung der Sachverhalte erfolgt knapp und systematisch, die Beispiele sind kurz, prägnant und compiler- unabhängig und auf allen Rechnern mit C++ 2.

Extra resources for Einstieg in PHP 5 - Für Einsteiger in die Webserver-Programmierung

Example text

This shows the equivalence operator (double equals) as well as the return value constant false, indicating a Boolean “false”. =". Test the button in the browser. The alert displays true. The two variables are not equal. 58 Topic 3: Basic Language Elements Step 21 Action Add a line to the end of the existing code and enter these lines: var getNo1 = 1 , getNo2 = 2; alert( getNo1 + getNo2 ); You can create and assign more than one variable on a line using the comma operator. This also shows the assignment of number values to two variables.

Step 1 Action Back in Domino Designer, switch to the Forms List and create a new Form. Open Form properties and name the Form Topic2. 2 Expand the object events for the Form and click the JS Header event. 3 Select Web as the runtime client and JavaScript as the code type. Note: We are not going to assume that any JavaScript will be run the same way by Notes, so Common JavaScript is not a good option. Topic 2: Coding JavaScript in Domino Designer 35 Step 4 Action Enter this JavaScript in the Programmer's Pane: function saySomething(msg) { alert(msg); } This code shows two things: • The end of most lines is a semi-colon.

Set the Web access\Content as HTML on the Form properties Defaults tab: You must then hand-code the entire Form/Page, as Domino will perform no conversion and assume everything is HTML. Topic 2: Coding JavaScript in Domino Designer 31 Other sources of HTML In addition to HTML placed on Pages and Forms, there are two other places from which Domino can serve HTML: • HTML files stored as shared file resources. The advantages of storing HTML files inside the database are: 32 • The files are stored securely, with access controlled by the database ACL.

Download PDF sample

Rated 4.06 of 5 – based on 48 votes