Home » Cours Delphi
Showing posts with label Cours Delphi. Show all posts
Showing posts with label Cours Delphi. Show all posts
Delphi Cookbook Third Edition (Free)
Delphi Cookbook - Third Edition
Daniele Teti, Daniele
Spinetti
July 30, 2018
668 pages
Quickly learn and employ practical recipes for developing
real-world, cross-platform applications using Delphi.
Learn :
Develop visually stunning applications using FireMonkey
Deploy LiveBinding effectively with the right object-oriented
programming (OOP) approach
Create RESTful web services that run on Linux or Windows
Build mobile apps that read data from a remote server efficiently
Call platform native API on Android and iOS for an unpublished API
Manage software customization by making better use of an extended RTTI
Integrate your application with IOT
About :
Delphi Cookbook begins
with the basics of Delphi and gets you acquainted with JSON format strings,
XSLT transformations, Unicode encodings, and various types of streams. You’ll
then move on to more advanced topics such as developing higher-order functions
and using enumerators and run-time type information (RTTI). As you make your
way through the chapters, you’ll understand Delphi RTL functions, use
FireMonkey in a VCL application, and cover topics such as multithreading, using
aparallel programming library and deploying Delphi on a server. You’ll take a
look at the new feature of WebBroker Apache modules, join the mobile revolution
with FireMonkey, and learn to build data-driven mobile user interfaces using
the FireDAC database access framework. This book will also show you how to
integrate your apps with Internet of Things (IoT).
By the end of the book, you will have become proficient in
Delphi by exploring its different aspects such as building cross-platforms and
mobile applications, designing server-side programs, and integrating these
programs with IoT.
Download Rad Studio - Delphi | شرح تحميل وتثبيت برنامج الدلفي
ما هو دلفي؟
لغة البرمجة Delphi هي لغة باسكال الرسومية أو المرئية وتستخدم لتصميم وإنشاء تطبيقات تعمل تحت بيئة نظام التشغيل Windows.
تستخدم Delphi لتطوير البرامج والتطبيقات بشكل سريع ولذلك يشار إليها بأنها ذات صفة RAD وهذه الصفة تعني تطوير البرامج بسرعة أي Rapid Application Development وذلك يتحقق باستخدام مكونات وأدوات جاهزة تنسق بالشكل المطلوب ويتم برمجتها بكتابة عدة برامج مرتبطة بأحداث معينة خاصة بهذه المكونات أو العناصر ويشار إلي هذا النوع من البرمجة بالبرمجة بالأحداث.
Delphi 10
دلفي توفر عناصر تحكم VCL قوية لنظام التشغيل Windows 10 وتمكن
تطوير عبر النظام الأساسي لـ FMX لنظام التشغيل Windows و Mac و iOS و Android
Embarcadero للمطورين
تركز على أدوات للمطورين :
ستوديو RAD ، دلفي ، C ++ Builder
ExtJS، ExtReact، Sencha Architect
قاعدة بيانات InterBase
إنشاء برنامج تحويل العملة
/- إدراج مكونات المشروع :
1- المكون panel : من اللوحة standard ندرج المكون
panel1.
* معالجة
الخصائص:
- ننشط المكون panel1 . -
نغير في الخاصية align إلى altop .
- نغير في الخاصية color إلى رمادي clgray . -
نغير في الخاصية caption إلى convertesseur
de vise .
- نغير في الخاصية font (نوع النص: arial black- حجم الخط: 14 – لون الخط: أبيض) .
- نغير في الخاصية font (نوع النص: arial black- حجم الخط: 14 – لون الخط: أبيض) .
2- المكون edit : ندرج المكونedit1 من اللوحة standard .
التحكم في الخصائص: نغير في الخاصية text إلى فراغ .
3- المكون label : ندرج ثلاثة (03) مكونات label (1،2،3) من اللوحة standard .
التحكم في الخصائص:
- label1 : نغير في
الخاصية caption إلى العملة
بالدينار . -
label2 : نغير في
الخاصية caption إلى العملة بالأجنبية
.
* نقوم بتحديد المكونين label1 و label2، نغير في
الخاصية font : (حجم
الخط: 12 – نمط الخط: gras ).
- label3 : نغير في
الخاصية font إلى: (نوع
الخط: arial black - حجم الخط: 16 )، و نغير في الخاصية caption إلى "0" قيمة إبتدائية
4- المكون combobox1 : يسمح لنا بإظهار مجموعة من الإختيارات (قائمة)، ندرج
المكون combobox من اللوحة standard .
* التحكم في
الخاصية:
- نغير في الخاصية items بالنقر على ...
- تظهر نافذة ندخل فيها الإختيارات كما يلي: دولار أمريكي – ريال سعودي –
أورو أوربي – جنيه بريطاني .
- ننقر على موافق (ok). -
نغير في الخاصية indexitem لكي يظهر أول عنوان في القائمة items .
* معالجة الأحداث في المكون combobox1:
حدث onclick :
- ننشط المكون combobox1 .
- ننقر
على evenement .
ملاحظة1: لما يحدث خطأ في
التنفيذ ننقر على شريط الإختيارات exécuter ثم ننقر على réinisialiser .
ملاحظة2: ترك مسافة قبل
العملة مثلاً: ' SAR'
* التعليمة
الشرطية case
of: إذا تكرر الشرط بحيث تتغير القيمة التي نجري عليها
عملية المقارنة مثل:
IF X := 0
THEN
INSTRUCTION 1 ;
IF X := 1
THEN
INSTRUCTION 2 ;
IF X := 2
THEN
INSTRUCTION 3 ;
في هذه الحالة نستعمل
التعليمة
OF (متغير) CASE
لا يوجد BEGIN
تعليمة 1 : قيمة 1
تعليمة 2: قيمة 2
END.
* معالجة الحدث onclick للمكون combobox1 بإستعمال
التعليمة case:
CASE
COMBOBOX1. ITEMINDEX OF
|
0 :
LABEL3.CAPTION := FLOATTOSTR (STRTOFLOAT (EDIT1.TEXT)*0.00102550)+’
USD’ ;
|
1 :
LABEL3.CAPTION := FLOATTOSTR (STRTOFLOAT (EDIT1.TEXT)*0.0384600)+’
SAR’ ;
|
2 :
LABEL3.CAPTION := FLOATTOSTR (STRTOFLOAT (EDIT1.TEXT)*0.00966267)+’
EUR’ ;
|
3 :
LABEL3.CAPTION := FLOATTOSTR (STRTOFLOAT (EDIT1.TEXT)*0.00684825)+’
GBP’ ;
|
أكثر المواضيع مشاهدة هذا الأسبوع
-
RAD Studio 10.4.2 delivers considerably enhanced high-definition native Windows service, higher productivity using blazing-fast signal compl...
-
Of the multitude of parts that Delphi gives to help applications that trade information over an organization (web, intranet, and neighborho...
-
Tutorial Delphi-Database, Simpan, Edit, Delete, Cetak, dan Add foto
Labels
Cours Access
(1)
Cours Delphi
(6)
Cours Reseau
(1)
Cours SQL
(1)
Projects Delphi
(3)
SGBD
(2)
دروس
(5)
دروس بالفيديو
(1)
كتب
(7)
نتائج مسابقات التوظيف
(2)
أكثر المواضيع مشاهدة هذا الشهر
-
Of the multitude of parts that Delphi gives to help applications that trade information over an organization (web, intranet, and neighborho...
-
RAD Studio 10.4.2 delivers considerably enhanced high-definition native Windows service, higher productivity using blazing-fast signal compl...
-
Tutorial Delphi-Database, Simpan, Edit, Delete, Cetak, dan Add foto
-
MVVM in Delphi $28.41 (USD) 💵Free Architecting and Building Model View ViewModel Applications Download Download...
-
Delphi GUI Programming with FireMonkey: Unleash the full potential of the FMX framework to build exciting cross-platform apps with Embarcade...