1 / 28

Delphi

Delphi. Az előadás célja. A Delphi megkedveltetése és megismertetése alapszinten A Delphi változatosságának bemutatása A Delphi egyszerűségének megmutatása, és az hogy benne tényleg könnyedén lehet programozni a gyakorlatban. Bevezetés.

cora-grant
Download Presentation

Delphi

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Delphi

  2. Az előadás célja • A Delphi megkedveltetése és megismertetése alapszinten • A Delphi változatosságának bemutatása • A Delphi egyszerűségének megmutatása, és az hogy benne tényleg könnyedén lehet programozni a gyakorlatban

  3. Bevezetés • A Delphi szervesen a Pascal nyelvre épülPascal, 1972 Dr. Niklaus Wirth • Borland Turbo Pascal 1985 – a Pascal népszerűsége, főleg PC-n • A Delphi sikere nyomán reneszánszát éli • Objektum orientált változata Object Pascal, ami a Delphi nyelve

  4. A Delphi történetének rövid áttekintése • Delphi 1 – 16 bites, Win 3.1 • Delphi 2 – 32bites, teljes körű win95 támogatás, több rekordú objektumok,, továbbfejlesztett adatbázisrács, OLE Automation támogatás, variant típus bevezetése, long string adattípus és Visual Form Inheritance

  5. Delphi 3 • interface-k és COM támogatás • ActiveForm-ok • komponenscsomagokat használó technológia • hálózati és Internetes fejlesztések támogatása • a TeeChart és Decision Cube megjelenése • QuickReport • BDE Acces meghajtó ab-kapcsolatok megteremtésére • Coolbar komponens, komponens sablonok, dll hibakeresési lehetősége … • Code Insight technológia (Code Templates, Code Completion, Code Parameters)

  6. A Delphi Linuxos változata • ... • Delphi 6 – Office, Indy, COM+, XML… komponens gyűjtemények, fejlettebb ab támogatás, VCL, CLX (Borland Component Library for Cross-Platfrom),… • Kylix 1 • Kylix 2 • Kylix 3A Kylix és a Delphi – így a Windows és a Linux – között a kompatibilitást és így valamelyest platform függetlenséget a CLX komponensgyűjtemény biztosítja.

  7. Delphi = Pascal • Típusok, változók, konstansok • A Delphi ugyanúgy mint a Pascal nagy hangsúlyt fektet a típusosságra • Egyszerű • Sorszámozott (ord,pred,succ,high,low) • Integer (byte,word,int,in64(20szamjegy)) • Character • Boolean • Enumerated • type Size = (Small = 5, Medium = 10, Large = Small + Medium); • Subrange (type subsize = small..medium) • valósreal,single,double,extended(10byte!),real48)

  8. String • shortstring 2-256 byte • ansistring 4 byte - 2 GB • widestring 4byte – 2GB (unicode) • Összetett • Set/halmaz (type letters = Set of Uppercase;) • Array (nyitott tömb) • Record • File • Class,class reference • interface • pointer • procedural • variant

  9. Vezérlési szerkezetek • Elágazások • If • Case • Ciklusok • For • While • With • Eljárások és függvények • Cím szerinti, és konstans paraméterátadás

  10. Hogy is néz ki a DELPHI?

  11. Menüsor bemutatása • A File Menü • New • New application, clx application, data module, frame, form, unit…(activex, xml, Web server appl) • Open, Open Project • .pas,.dpr

  12. Edit Menüpont • Align to Grid • Rácshoz igazítás • Tab Order • Creation Order • Non Visual components • Flip – forgatás • Lock Controls

  13. Search menüpont • Incremental Search • Folyamatos gépeléssel • Find error • futási idejű hibák keresésére • Browse Symbol • Object Browser

  14. Project Menü • Add/Remove to/from Project • Form, pascal forrasfájl • Compile -> Memóriába • Build -> HDD-re • Web - ActiveX

  15. Run Menüpont • Run • Parameters • Mint parancssori paraméterek • Inspect • Evaluate/modify • Add Watch • Add Breakpoint • Source, address, data, module load bp

  16. Component Menü

  17. Window Menü • egyszerűen a meglévő ablakok közül tehetjük aktívvá amit szeretnénk • Database Menü • adatbázis kezelés • Tools Menü • Help Menü

  18. Ismerkedés a komponenspalettával • Standard • Frame, Main menu, Pop menu, Label, Edit, Memo, Button, CheckBox, Radio Button, ListBox, ComboBox, Scroll Bar, Group Box, Panel • Additional - StringGrid • Win32 – Progressbar • System – OLE, DDE, Timer • Data Acces – XML • Data Controls –DBGrid • BDE – Table, Database, Query • Internet • ClientSocket, ServerSocket, TCPClient, TCPServer, UdpSocket, Xml document, Webbrowser

  19. Komponensek folytatása • Servers – mindenfele Office server • Indy • Client • IdTCPClient, IdUDPClient, IdFinger, IdFtp, IdGopher, IdHTTPClient, IdICMPClient, IdPOP3, IdSMTP, IdTelnet • Server – ugyanezekhez szerver • Dialogs • Open, Save, Print, Find • Win 3.1 • ActiveX • COM+

More Related