From 441cf67ba90da4a77a3fa9726f3f3fde3ff21365 Mon Sep 17 00:00:00 2001 From: aztech <> Date: Sat, 17 Feb 2007 17:33:33 +0000 Subject: QST GettingStarted Polish translation --- .../pages/GettingStarted/pl/HelloWorld.page | 57 +++++++++++----------- 1 file changed, 28 insertions(+), 29 deletions(-) (limited to 'demos/quickstart/protected/pages/GettingStarted/pl/HelloWorld.page') diff --git a/demos/quickstart/protected/pages/GettingStarted/pl/HelloWorld.page b/demos/quickstart/protected/pages/GettingStarted/pl/HelloWorld.page index 8ee8a8f1..821983cb 100644 --- a/demos/quickstart/protected/pages/GettingStarted/pl/HelloWorld.page +++ b/demos/quickstart/protected/pages/GettingStarted/pl/HelloWorld.page @@ -1,71 +1,70 @@ -

My First PRADO Application

+

Moja pierwsza aplikacja w PRADO

-In this section, we guide you through creating your first PRADO application, the famous "Hello World" application. +W tej sekcji, przeprowadzimy Cię przez proces tworzenia Twojej pierwszej aplikcaji w PRADO, słynną aplikację "Witaj świecie" (ang. "Hello World").

-"Hello World" perhaps is the simplest interactive PRADO application that you can create. It displays to end-users a page with a submit button whose caption is Click Me. After the user clicks on the button, its caption is changed to Hello World. +"Witaj świecie" prawdopodobnie jest najprostszą interaktywną aplikacją w PRADO, którą możesz stworzyć. Wyświetla ona użytkownikowu końcowemu stronę z przyciskiem, którego napis to Kliknij mnie (ang. Click Me). Po tym jak użytkownik kliknie na przycisk, jego napis zmienia się na Witaj świecie.

-There are many approaches that can achieve the above goal. One can submit the page to the server, examine the POST variable, and generate a new page with the button caption updated. Or one can simply use JavaScript to update the button caption upon its onclick client event. +Jest wiele dróg aby osiągnąć ten cel. Można przesłać (ang. submit) stronę do serwera, sprawdzić zmienną POST i wygenerować nową stronę z przyciskiem ze zaktualizowanym napisem. Można też przez proste użycie JavaScript zaktualizować napis podczas zdarzenia OnClick po stronie klienta.

-PRADO promotes component-based and event-driven Web programming. The button is represented by a TButton object. It encapsulates the button caption as the Text property and associates the user button click action with a server-side OnClick event. To respond to the user clicking on the button, one simply needs to attach a function to the button's OnClick event. Within the function, the button's Text property is modified as "Hello World". The following diagram shows the above sequence, +PRADO promuje programowanie sterowane zdarzeniami i bazujące na komponentach. Przycisk jest reprezentowany przez obiekt TButton. Hermetyzuje on napis na przycisku jako właściwość Text przycisku oraz wiąże akcję naciśnięcia przez użytkownika przycisku ze zdarzeniem po stronie serwera OnClick. Aby odpowiedzieć na naciśnięcie przez użytkownika przycisku, należy po prostu przypisać funkcję do zdarzenia OnClick przycisku. Wewnątrz funkcji, właściwość Text przycisku jest zmodyfikowana na "Witaj świecie". Poniższy diagram pokazuje powyższą sekwencję.

-Our PRADO application consists of three files, index.php, Home.page and Home.php, which are organized as follows, +Nasza aplikacja PRADO składa się z trzech plików index.php, Home.page and Home.php, które są zorganizowane w poniższy sposób, -where each directory is explained as follows. Note, the above directory structure can be customized. For example, one can move the protected directory out of Web directories. You will know how to do this after you go through this tutorial. +gdzie każdy katalog należy rozumieć następująco. Zauważ, że powyższa struktura katalogów jest rozszerzalna. Na przykład, można przenieść katalog protected poza katalog WWW. Będziesz wiedział jak tego dokonać, jeśli przejdziesz przez ten przewodnik.

-Tip:You may also use the framework/prado-cli.php -command line script -to create the Prado project directory structure. For example, type the command -php path/to/prado-cli.php -c helloworld in the directory -where you want to create the helloworld project. +Podpowiedż:Możesz również użyć framework/prado-cli.php +narzędzia linii poleceń +aby stworzyć strukturę katalogów dla projektu w PRADO. Na przykład, wpisz komendę +php ścieżka/do/prado-cli.php -c helloworld w katalogu gdzie chcesz stworzyć projekt helloworld (witaj świecie).

-The three files that we need are explained as follows. +Trzy pliki, krórych potrzebujemy, kolejno oznaczają

-The application is now ready and can be accessed via: http://Web-server-address/helloworld/index.php, assuming helloworld is directly under the Web DocumentRoot. Try to change TButton in Home.page to TLinkButton and see what happens. +Aplikacja jest teraz gotowa i jest dostępna poprzez adres http://adres-serwera/helloworld/index.php, zakładając, że helloworld znajduje się bezpośrenio w KataloguGłównymDokumentó serwera (ang. DocumentRoot). Spróbuj zmienić TButton w Home.page na TLinkButton i zobacz co się stanie.

-Complete source code of this demo can be found in the PRADO release. You can also try the online demo. +Kompletne źródło kodu dla tego demo można znaleźć w wydaniu PRADO. Możesz również spróbować demo online.

-
$Id: HelloWorld.page 1650 2007-01-24 06:55:32Z wei $
\ No newline at end of file +
$Id: HelloWorld.page 1704 2007-02-17 18:10:32Z aztech $
\ No newline at end of file -- cgit v1.2.3