
We lay the database foundation for every app in the course. You request a new shared schema (SHARED) and extra storage through Manage Service, then compare three ways to create tables: Object Browser, SQL Commands and Quick SQL. We build the users table in Quick SQL with data types, a primary key, default values and audit columns, then read the generated triggers and see how SYS_CONTEXT captures the current user.
Objectives:
Request a new schema and additional storage from the workspace settings.
Choose between Object Browser, SQL Commands and Quick SQL for a given task.
Write a Quick SQL table definition using vc, pk and default.
Add audit columns while avoiding reserved-word column names.
Explain how the generated triggers use SYS_CONTEXT to record the current user.
We build a template application to start every future project from. You define substitution strings for the app name and standard button labels, run the users-table script and fix its trigger errors, and set the application date format. Then we make the app bilingual: Arabic as the primary language, FSP_LANGUAGE_PREFERENCE, a language switcher in the navigation bar, an English translation through Seed, Translate and Publish, and a process that flips the layout between RTL and LTR.
Objectives:
Create a template app and define substitution strings for shared labels.
Run a Quick SQL script and debug a failing trigger.
Set the date format at application level and verify it in the session.
Configure globalization with FSP_LANGUAGE_PREFERENCE and application items.
Add a navigation-bar language switcher that keeps the user on the same page using &APP_PAGE_ID.
Translate the app with Seed, the Translation Repository and Publish.
A short fix for the issues left at the end of Lecture 2. You see why an application process set to Before Header with no condition loops, and restrict it to run only on the language request. We then correct the application language source in Globalization, publish the translation again and confirm the interface switches between Arabic (RTL) and English (LTR).
Objectives:
Diagnose why an unconditional Before Header process causes a loop.
Restrict an application process with a Request condition.
Set the application language source in Globalization.
Republish a translation and verify the RTL/LTR switch.
We replace the default font with an Arabic Google Font such as Cairo. You copy the @import code, create a CSS file in Static Workspace Files, apply the font to body and all elements, and register the file once under CSS File URLs so every page uses it. We also explain minified files and the #MIN# token, and confirm the result in the page source.
Objectives:
Import a Google Font with its @import code.
Distinguish Static Workspace Files from Static Application Files.
Write a CSS file that applies a font to every element.
Load a CSS file for the whole app through CSS File URLs.
Explain what #MIN# does in a file path.
We customize the app's look with icons and color themes. You import Google Material Symbols into a CSS file and control their size, weight and color, then use Universal Theme icons with size, animation and modifier classes on regions and buttons. We upload custom font files, create a new style in Theme Roller, and let each user pick their preferred theme such as Vita or Vita Dark.
Objectives:
Import Material Symbols and display them on a page.
Style an icon's size, weight and color with CSS.
Apply Universal Theme icon classes, animations and modifiers.
Add icons to region titles and buttons.
Create and save a theme style with Theme Roller.
Enable end-user theme selection.
We move the users table into the SHARED schema and let the app read it with GRANT and a synonym. You build a report and drawer form for users, turn IS_ACTIVE into a switch and lay out fields with column span. Then we write a custom authentication function that checks the username, password and active flag against the users table, attach it to login page 9999, and hide the password field on edit with a server-side condition.
Objectives:
Grant privileges across schemas and create a synonym.
Build a report with a drawer form and delete pages safely.
Convert a Y/N column into a switch item.
Write a PL/SQL custom authentication function and assign it to the login page.
Hide an item conditionally with a server-side condition.
We make the navigation-bar language menu show the current language name instead of a fixed label. You create an application item, fill it with an application computation before each page loads, and learn why every change needs a new Seed and Publish. We then map language codes to readable names in a database view built with WITH and UNION ALL, compare views with materialized views, and explore the APEX dictionary views.
Objectives:
Create an application item and populate it with an application computation.
Use substitution strings inside a navigation menu entry.
Decide when a translation must be seeded and published again.
Write a query with WITH and UNION ALL and save it as a view.
Choose between a view and a materialized view for a given need.
Search the APEX dictionary views for metadata.
We design a single lookup structure for all system constants, such as service types and statuses, instead of one table per list, and compare it with APEX Application Settings. You create CMN_LOOKUPS and CMN_LOOKUP_VALUES in the shared schema with audit triggers, a foreign key, grants and synonyms, then build a side-by-side master-detail page. We polish it with Arabic labels, icons, a YES_NO list of values that shows colored icons, Markdown help text, floating required items and button positions.
Objectives:
Design a generic lookups and lookup-values model for several apps.
Compare a lookup table with APEX_APP_SETTING.
Create a table in Object Browser and review its DDL and trigger.
Build a side-by-side master-detail page.
Create a static list of values that renders colored icons (u-success / u-danger).
Configure floating required items and button slots.
We stop storing passwords in plain text. You learn package specification and body, and why login logic belongs in the database. We write a hash function that combines the password, username and a salt and hashes it with MD5, call it from a Before Insert or Update trigger, and update the login function to compare hashes. We also compare built-in APEX accounts with a custom users table and fix default-schema and synonym issues.
Objectives:
Structure a PL/SQL package into a specification and a body.
Write a function that hashes a password with a salt.
Hash passwords automatically in a Before Insert or Update trigger.
Connect custom authentication to a package function.
Compare APEX workspace accounts with application-managed users.
Resolve package visibility problems caused by the default schema.
We hide audit columns from reports and show them only on demand. You build modal page 1000 with display-only items, add a virtual icon column to the report that opens it and passes the created and updated values, and arrange items with Start New Row. We add a Cancel button in the dialog footer with a Cancel Dialog dynamic action, and discuss why audit data matters when many users share a system.
Objectives:
Create a modal page and pass values to it through a link.
Add a virtual column that shows an icon instead of text.
Lay out display-only items with Start New Row.
Place buttons in the dialog footer.
Distinguish Close Dialog from Cancel Dialog.
We separate who can log in (authentication) from what they can see and do (authorization). You create authorization schemes for create, edit, delete and audit actions, and attach them to pages, regions, columns and buttons. We compare Once per Session with Always (No Cache) evaluation and explain why changes may not appear until you log out.
Objectives:
Explain the difference between authentication and authorization.
Create an authorization scheme of type Exists SQL Query or PL/SQL Function.
Apply authorization to pages, regions, columns and buttons.
Choose the right evaluation point: Once per Session or Always.
We create CMN_USER_ROLES to give each user one or more roles, and write a PL/SQL authorization scheme that checks the role of APP_USER so only an admin sees the Create button. You build a master-detail page for users and their roles, trace how the link passes the username into P5_USERNAME, and fix case mismatches with UPPER. We add FULL_NAME to the view, synchronize columns and hide regions when no record is selected.
Objectives:
Design a user-roles table with an identity key.
Write an authorization scheme based on the current user's role.
Build a master-detail page and trace values through links and page items.
Inspect values with View Session State and Page Items to Submit.
Handle case differences with UPPER.
Hide regions with a No Record Selected server-side condition.
We improve the master list on the users page. After seeding and publishing the new page, you explore the Media List template, its options and placeholders such as #LIST_TITLE#, #ICON_CLASS# and #LIST_BADGE#. We add an AVATAR column so each user shows their own icon, count roles in the badge with a subquery, and color icons by status with CASE. We inspect and override CSS with theme variables, then replace the old search with Smart Filters.
Objectives:
Seed and publish translations for newly added pages.
Map query columns to Media List template placeholders.
Display a per-row icon from a database column.
Show a count in a badge with a correlated subquery.
Color icons conditionally with CASE and Universal Theme classes.
Override theme CSS using var(--…) variables.
Build Smart Filters with search, radio group, date and computed facets.
A short look under the hood of the master-detail page. You see how the master list builds its link with APEX_PAGE.GET_URL, passes the username into a hidden page item and reloads the page, and how the detail reports filter on that item with a WHERE condition.
Objectives:
Build a link with APEX_PAGE.GET_URL and its parameters.
Pass values between pages through page items.
Filter a detail report with a WHERE condition on a page item.
We link to a page in another application and see why the user must log in again, then fix it with session sharing through a custom cookie. Along the way you back up an app and restore it as a new one with its own name and icon. We protect a hidden helper item with Quick Edit and Value Protected, and widen the side menu first with CSS and then with JavaScript in a common.js file loaded on every page.
Objectives:
Navigate to another application by passing its app and page numbers.
Configure session sharing with a custom cookie.
Back up an application and restore it as a new app.
Protect a hidden item with Value Protected.
Find classes and template variables with Inspect.
Load an application-wide JavaScript file.
Instead of typing "No record selected" on every page, we store it once as an HTML substitution string. Then you learn the better way: text messages with one name per language, used on pages, in JavaScript and in SQL through APEX_LANG.MESSAGE, applied to show Mr./Mrs. by gender and language. We finish with UX polish: a helpful No Data Found message, a breadcrumb with title and icon, a collapsible search region and grouped buttons.
Objectives:
Store reusable HTML in a substitution string and reference it with &NAME.
Create multilingual text messages and call them in pages, JavaScript and SQL.
Use CASE in a view to show text based on gender and language.
Customize the breadcrumb and navigation menu.
Group buttons with a Button Set and restyle template icons with CSS.
We add an eye icon next to the password field so users can check what they typed. You place an icon or button from Universal Theme with Pre Text / Post Text, set the pointer cursor with style, and write a page-level JavaScript function, showPass, that switches the input between password and text and swaps the icon on click.
Objectives:
Add an icon or button next to an item with Pre Text / Post Text.
Generate button markup with the Universal Theme Button Builder.
Attach an onclick handler and inline style to an HTML element.
Write a page-level JavaScript function with if/else.
Toggle an input's type between password and text.
We add a Help button that explains the current page. First on the global page: an inline dialog or popup opened by a dynamic action shows the page's help text, formatted with HTML and video, and we try callouts using the Sample Workflow app and data-callout. Then the better design: a dedicated help page (1100) that receives the current page number from the navigation bar and renders HTML with a PL/SQL Dynamic Content region reading APEX_APPLICATION_PAGES.
Objectives:
Add a navigation-bar entry that opens a page.
Display page help text in an inline dialog or popup with a dynamic action.
Use a Static ID and custom attributes such as data-callout.
Reuse code from Gallery sample apps.
Generate HTML with a PL/SQL Dynamic Content region.
Read page metadata from APEX_APPLICATION_PAGES.
We move the password toggle function into the shared common.js file, then build a Change Password modal dialog with three password fields: current, new and confirm. You add it to the user menu in the navigation bar, put Cancel and Save in a footer buttons container, move the title to the dialog header, and improve fields with icons, placeholders and inline help text. We start validating the current password against its stored hash.
Objectives:
Share JavaScript functions through an application-level file.
Create a modal dialog page and open it from the navigation bar.
Arrange dialog buttons in a footer buttons container.
Improve items with icons, placeholders and inline help text.
We finish the change-password page. You write a PL/SQL validation that hashes the current password with SECURITY_PKG.HASH_PASSWORD and compares it to the stored value, runs only on the Save button and shows a translatable error. A second validation checks that the two new passwords match, and a process updates the table while the trigger hashes it. We generalize the show/hide function for three fields, debug JavaScript in the console and tidy the user menu.
Objectives:
Write a PL/SQL function validation and limit it to one button.
Call a package hash function inside a validation.
Display translatable error messages from text messages.
Update data with a process and close the dialog.
Reuse one JavaScript function for several items.
Debug JavaScript errors in the browser console.
We build a dynamic list of values from CMN_LOOKUPS and CMN_LOOKUP_VALUES that shows the Arabic or English label through DECODE on the app language and returns the code. You set the form's primary key, add an edit icon column and control Save, Delete and Create with server-side conditions. Then we create a developer tool: a Cards region that generates a ready LOV query for any lookup, hidden from end users with a build option.
Objectives:
Write an LOV query that joins master and detail lookup tables and filters on IS_ACTIVE.
Return a language-specific label with DECODE.
Configure a form's primary key and button conditions.
Generate SQL text with a Cards region.
Include or exclude developer features with build options.
Apply a team naming convention (_LOV) to shared components.
We tidy the lookup-values form: hide trigger-filled audit fields, correct column, trigger and view names, synchronize columns and turn the drawer into a compact dialog. Then you explore Application Settings with APEX_APP_SETTING GET and SET, and create a System Administration area from built-in features: configuration options, user feedback, theme style selection and activity pages that monitor usage, performance and errors.
Objectives:
Rely on triggers for audit fields and remove them from forms.
Synchronize report columns after changing a view.
Read and set values with APEX_APP_SETTING.
Add Configuration, Feedback, Theme Style and Activity feature pages.
Identify slow pages, errors and unused pages from activity reports.
We build a classic report of application settings read from the APEX views and render each value as a switch with APEX_ITEM.SWITCH, turning off Escape Special Characters so the HTML shows. You then write a process that loops through APEX_APPLICATION.G_F01, finds each setting by its ID and saves it with APEX_APP_SETTING.SET_VALUE, while debugging common PL/SQL errors with brackets, INTO and DECLARE.
Objectives:
Render form controls in a report with APEX_ITEM functions.
Decide when to turn off Escape Special Characters.
Loop through G_Fxx arrays in a page process.
Update application settings with SET_VALUE.
Debug PL/SQL syntax errors in a process.
We finish the settings screen. You store each setting's ID in a hidden item with a second index, save the new value with SET_VALUE, and filter to Yes/No settings with LIKE. We fix a hidden-column issue and add the app name. Then we show that APEX_ITEM is obsolete, copy the HTML it generates and write it directly in an HTML Expression bound to #SETTING_VALUE# with f01–f03 names.
Objectives:
Pair a hidden ID item with a switch on every report row.
Save row values from a process with SET_VALUE.
Filter rows with LIKE.
Replace APEX_ITEM calls with equivalent HTML in an HTML Expression.
Explain the limits of the G_Fxx arrays.
A four-minute recap of the language switch. You review the application process that runs on a specific request and returns the user to the same page, the Globalization settings with FSP_LANGUAGE_PREFERENCE as an application item, the navigation-bar link that passes APP_PAGE_ID and the request, a condition that shows only the other language, and the final Seed and Publish.
Objectives:
Configure an application process that runs only on a given request.
Set the primary language and the language-preference item in Globalization.
Build a language link that passes APP_PAGE_ID and a request.
Seed and publish the translation after changes.
We add a classification column (KP_CLASS) to users, linked to new lookups: employee and first- or second-class subscriber. To speed up data entry you build a Save and Add New button shown only when creating, adjust the database action and Close Dialog to skip it, and add a branch that reopens the form with the parent lookup code. We then debug the users form: synchronized columns, primary key, the DML process and button conditions.
Objectives:
Add a lookup-based classification column to a table and form.
Create a Save and Add New button with the right database action and condition.
Branch back to a form while clearing cache and passing hidden values.
Diagnose a form that won't save: primary key, DML process and conditions.
Show the password item only when creating a record.
We trace a "No data found" error when editing a user with Debug, check grants and find the cause: mixed-case usernames. You fix existing data with UPDATE and change the trigger to always store UPPER. A Dialog Closed dynamic action refreshes the report. Then we build a gender LOV with colored male/female icons as a radio group, and a customer-class LOV tried as Popup LOV, select list and radio buttons with a "Choose" placeholder.
Objectives:
Trace page processing with Debug mode.
Prevent case mismatches by normalizing data with UPPER in a trigger.
Refresh a region after a dialog closes.
Build an LOV with colored icons and display it as a radio group.
Compare Popup LOV, select list and radio group for the same data.
Translate new text with Seed, Publish and Translate Text.
We fix the app opening in English on first login, caused by the default value of the computation behind FSP_LANGUAGE_PREFERENCE. Then we add new roles and improve the user-roles form: audit fields via trigger, a roles LOV with consistent naming, a stretched modal dialog and session state protection. You separate an active-only LOV for forms from an all-values LOV for reports, add an audit icon column with an authorization scheme, and build a full-name users LOV.
Objectives:
Explain how a computation's default value affects the starting language.
Fill audit fields with a trigger instead of form items.
Size a modal dialog with the Stretch option.
Explain session state protection and checksums.
Use an active-only LOV in forms and an all-values LOV in reports.
Add an audit icon column protected by an authorization scheme.
We move the users LOV into Shared Components with an organized name, remove unused LOVs safely and make columns sortable. You add a checkbox column with an HTML Expression that carries each role's ID as f01, plus a select-all checkbox in the header, enlarged with CSS scale. A dynamic action with a jQuery selector checks or clears all rows, and a process loops through APEX_APPLICATION.G_F01 to update IS_ACTIVE for the selected roles.
Objectives:
Find where a shared LOV is used before deleting it.
Make classic report columns sortable.
Add row checkboxes to a classic report with an HTML Expression.
Distinguish tag, class (.) and ID (#) selectors in CSS and jQuery.
Build a select-all dynamic action with a jQuery selector.
Update selected rows with a FOR loop over G_F01.
We turn a button into a menu popup with Activate and Deactivate options. You create a list whose targets call javascript:fn1() and fn2(), render it in a Blank with Attributes region with a Static ID, and link it to the button through custom attributes. The functions fire custom events with apex.event.trigger and jQuery; dynamic actions catch them, set a hidden item to A or U and submit the page, and a process updates IS_ACTIVE. We debug with alert, console.log and APEX_DEBUG.
Objectives:
Build a list and render it as a menu popup attached to a button.
Call JavaScript functions from list targets.
Fire custom events and handle them with dynamic actions.
Set an item value and submit the page from a dynamic action.
Run a conditional bulk update in a page process.
Debug with alert, console.log and APEX_DEBUG.
We create the salon app from the template with Backup Management and Restore under a new application ID, refresh the theme after upgrading to APEX 24, and set the app's icon, logo and name. You learn Export/Import and deploying to a customer as Run Only to protect the source. Then we create KW_SERVICE_PRICE with an identity ID, a view of non-deleted rows and an Instead Of Delete trigger for soft delete, and build a report and drawer form on the view.
Objectives:
Copy an application with Backup and Restore under a new ID.
Refresh the theme after an APEX version upgrade.
Customize the app icon and text or image logo.
Export an app and import it as Run Only for a customer.
Implement soft delete with a view and an Instead Of trigger.
Build a report and form on a view with a Popup LOV and help text.
A design discussion with a student on splitting services into skin care and hair care: two tables, or one table with a parent/child relationship? We add a new lookup, KP_CARE_OF, with its values and improve the lookups screen with a Smart Filter and a repositioned Reset button. When changing a code hits a foreign key, you learn to disable the constraint, update the data, enable it again, and when Cascade is the better choice.
Objectives:
Compare separate tables with a self-referencing parent/child design for categories.
Add a new lookup type and its values.
Add a Smart Filter to a master list.
Disable and re-enable a foreign key constraint to update linked codes.
Decide when to use ON DELETE or ON UPDATE CASCADE.
We add KP_CARE_OF to the service prices table, create its list of values, rebuild and compile the view, and add the Care field to the report and form. Then we solve a common problem: an LOV filtered on IS_ACTIVE = Y makes the report show a raw code when a value, such as blow-dry, is deactivated. The fix is a second ALL_… LOV without the filter for reports, while forms keep the active-only one.
Objectives:
Add a column to a table and rebuild and compile the dependent view.
Create an LOV from the lookup tables.
Explain why reports show codes when an LOV filters out inactive values.
Use an ALL LOV in reports and an active-only LOV in forms.
We add salon services and default the active switch to Y. You build a Cards region on the home page from a services view with titles, subtitles and icons, and query the built-in APEX icon views. We create KW_CUSTOMER_TRANSACTION referencing shared tables through a public synonym and grants, link a card button to a drawer form that receives the service code, and build a customer Popup LOV with avatars. We compare Equi Join, Inner Join, Left Join and the Cartesian product to fetch each service's price.
Objectives:
Build a Cards region and configure its actions (button or full card).
Set a default value on a switch item.
Reference another schema's tables with a public synonym and grants.
Pass a value from a card action to a form page.
Build a Popup LOV from a SQL query with an avatar column.
Choose between Equi Join, Inner Join and Left Join, and avoid a Cartesian product.
We create KW_DISCOUNT, which links each customer class to a discount rate, with its view, trigger and a report and form using a percent format mask. You fetch the discount automatically when a customer is chosen with a Set Value dynamic action, and add a specialist (employee) list. We build a Customer Transactions report with cost after discount, Compute Sum totals and a print button, add a faceted search with computed Today, Yesterday and Modified filters, and test soft delete.
Objectives:
Model discounts by customer class and join them to transactions.
Fill an item automatically with a Set Value dynamic action using SQL.
Display percentages with a format mask.
Add calculated columns and totals with Compute Sum to a report.
Add a print button with a redirect URL.
Build faceted search with computed CASE facets.
Verify that a soft-deleted row leaves the view but stays in the table.
We build page 500, an icon picker that shows all Font APEX icons from the APEX views in a Cards region, sized with fa-2x and laid out five per row with Float. Clicking a card calls a JavaScript function through a redirect URL and passes the icon name with a substitution string to apex.item().setValue. We turn the page into a modal dialog with Choose and Back buttons, open it from User Management and try returning the value with Close Dialog and the Dialog Closed event. The lecture ends with that last step still unresolved.
Objectives:
Display APEX icons from the dictionary views in a Cards region.
Adjust card icon size and layout with fa-2x and Float.
Call a JavaScript function from a card action with a substitution string.
Set an item value with apex.item().setValue and quote text values correctly.
Configure a modal dialog with Close Dialog, the Dialog Closed event and the Chained setting.
ابنِ تطبيق أعمال حقيقيًا ومتكاملًا بـ Oracle APEX، من قاعدة بيانات فارغة حتى نظام إدارة صالون تجميل يعمل فعليًا.
هذه ليست دورة أمثلة متفرّقة. ستبني تطبيقًا واحدًا خطوة بخطوة كما تعمل فرق التطوير المحترفة: قاعدة بيانات مشتركة، وتطبيق قالب قابل لإعادة الاستخدام، ثم الأمان والصلاحيات، وأخيرًا نظام صالون فيه الخدمات وحركات الزبائن والخصومات والتقارير. كل ما تتعلّمه هنا يمكنك نقله مباشرة إلى أي نظام أعمال آخر: عيادة، متجر، مدرسة، أو شركة خدمات.
لغة الدورة: الشرح بالعربية، ومع كل المحاضرات ترجمة إنجليزية مصحّحة يدويًا. ومع كل محاضرة ملف PDF عربي فيه ملخّص المحاضرة، ومعاني المصطلحات الإنجليزية، وتمرين عملي، والنص الكامل للشرح.
ماذا ستبني وتتعلّم:
قاعدة بيانات مشتركة وجداول بـ Quick SQL مع أعمدة تدقيق تلقائية
تطبيق بالعربية والإنجليزية يتنقّل بين الاتجاهين (RTL / LTR)
تسجيل دخول مخصّص، وتشفير كلمات المرور في PL/SQL Package، والأدوار والصلاحيات
جداول الثوابت وقوائم القيم التي تتبع لغة الواجهة
واجهة احترافية: خطوط عربية، وأيقونات، وأنماط ألوان، وفلاتر ذكية، وصفحات مساعدة
صفحات إدارة النظام والإعدادات ومراقبة الاستخدام
الإجراءات الجماعية بـ Checkbox و jQuery والقوائم المنبثقة
الحذف المنطقي بـ Views و Instead Of Triggers
نظام الصالون: بطاقات الخدمات، وحركات الزبائن، والخصم التلقائي حسب فئة الزبونة، وتقارير تُفلتر وتُطبع
لمن هذه الدورة:
المطوّرون الذين يريدون بناء تطبيقات أعمال بسرعة بأسلوب Low-Code
مطوّرو SQL و PL/SQL الذين ينتقلون إلى تطوير الويب بـ Oracle APEX
كل من يحتاج تطبيقًا يعمل بالعربية والإنجليزية من اليمين ومن اليسار
المتطلبات: أساس في SQL فقط، ومساحة عمل مجانية