The text comprises excerpts from a .pdf file detailing the development of an invoicing application using Next.js, React, and various UI component libraries (such as Chakra UI and Lucid React). The author meticulously documents the creation of UI components, including tables, forms, and dropdowns, while implementing server-side and client-side validations with Zod and Form. The process covers building routes for invoice creation and editing, integrating email functionality using Mailtrap, and incorporating data fetching and display from a Prisma database. Finally, the author addresses the creation of a dashboard and landing page for the application, highlighting the transition from development to production deployment.
Project Review: Invoice Management Application
Quiz
What is the primary purpose of the package.json file in this project?
The package.json file lists all the dependencies used in the project and their respective versions. It also includes scripts to run different development processes.
Describe the relationship between layout.tsx and page.tsx in the Next.js app structure.
The layout.tsx file defines the overall structure of the page, and the page.tsx file represents a specific route within that layout. The layout renders its children, which are the routes.
Why is TypeScript used in the project, and is it required?
TypeScript is used to add static typing, which makes the code simpler and easier to maintain, especially in large projects. However, it is not strictly required and the project can be done with JavaScript.
What is the purpose of the .env file, and what does it contain in this project?
The .env file stores environment variables that are needed for the application to run. It includes a secret key used by the Auth.js library and the MailTrap token.
Explain the function of the off.ts file within the utils folder.
The off.ts file is a configuration file for off.js. It defines the authentication providers, specifies custom authentication logic and the adapter, like Prisma or Magic links.
What is a “W Handler” in the context of Next.js?
A “W Handler” is another word for an API endpoint that uses web request and response APIs to handle different requests, for example when signing in or out the user, or fetching data.
How does the requireUser hook secure routes in this application?
The requireUser custom hook checks if a user has an active session. If there is no session, the hook redirects to the login page.
What is the role of the useFormStatus hook and where is it used in this project?
The useFormStatus hook provides the status information for the latest form submission. In this project, it is used in the submit button component to track the pending state.
What is the purpose of the MailTrap API token in this application, and how is it used?
The MailTrap API token is used to authenticate requests to the MailTrap email service. It’s used to send transactional emails such as the invoice reminder emails.
Describe the primary goal of the PDF generation functionality in this application.
The PDF generation functionality generates downloadable invoices. This process creates a PDF with invoice details by fetching them from the database.
Essay Questions
Analyze the architectural decisions made in this project, particularly concerning the separation of client-side and server-side components and the use of custom hooks.
Discuss the role of third-party libraries (like Auth.js, Shadcn-UI, and jsPDF) in accelerating development and the potential trade-offs of relying on them.
Examine the implementation of authentication and authorization in the project, including the use of magic links and the protection of routes.
Evaluate the user experience design of the application, considering aspects like the login process, onboarding flow, and invoice management.
Describe the process of sending reminder emails and generating PDFs. Include the different tools and steps and how they integrate into the application.
Glossary
pnpm: A package manager similar to npm but known for being faster and more efficient.
TypeScript: A superset of JavaScript that adds static typing.
ESLint: A tool for identifying and reporting on patterns found in ECMAScript/JavaScript code.
TND: An abbreviation that refers to Tailwind CSS, a utility-first CSS framework.
App Router: A feature of Next.js that allows you to structure your application using a directory based routing system.
Turbo Pack: A high-performance build system optimized for web development, often used with Next.js.
vs code: A popular code editor.
TS config: A configuration file for TypeScript.
package.json: A file that lists dependencies, scripts, and other metadata for a Node.js project.
React: A JavaScript library for building user interfaces.
NextJS: A React framework for building web applications with features like server-side rendering.
deps: Project dependencies, such as libraries or packages that are required for it to function.
g ignore file: A file that specifies intentionally untracked files that Git should ignore.
EnV: A file used to store environment variables, like sensitive information such as API keys.
Def server: A local development server, often used during development of web applications.
Off JS: An authentication library for web applications.
Magic Links: An authentication method where users click a link sent to their email address.
Radex UI: a UI component library used to speed up the development process with pre-made styled components.
W Handler: An API route or endpoint that uses web request and response APIs.
Prisma: A database toolkit that provides an ORM (Object-Relational Mapper).
use client: A directive used to indicate that a component should be rendered on the client-side.
useFormStatus: A React hook that provides information about the latest form submission status.
Lucid react: A library providing icons for web applications.
International API: a JavaScript API used for formatting dates, numbers, and currency according to locale-specific conventions.
NodeJS: A runtime environment for executing JavaScript on the server-side.
jspdf: A client-side JavaScript library for generating PDFs.
MailTrap: A service for email testing and sending with API integration.
Sona: A library used for notifications, also known as toast messages, in the front end.
fetch: An API used for making network requests.
UI.shat cn.com: The website for a popular UI library which provides components.
Recharts: A charting library for React applications.
Cartesian Grid: A grid used to create a space for data visualization, such as a chart.
Invoice Management Application Development
Okay, here’s a detailed briefing document summarizing the provided source, with quotes included where relevant:
Briefing Document: Invoice Management Application Development
Document Overview: This document reviews a series of transcripts detailing the development of an invoice management application using Next.js, TypeScript, and various libraries. The excerpts cover project setup, authentication implementation, UI component creation, email integration, PDF generation, data visualization, and the deployment process.
I. Project Setup and Core Technologies
pnpm for Package Management: The developer uses pnpm for project creation, highlighting its differences from npm.
“here let me do a pnpm create and then widespace next Das app at latest so this is how you bootstrap a project with pnpm it’s a bit different than if you would use npm…”
Next.js as the Framework: The application is built on the Next.js framework, leveraging its features such as the app router and server components.
TypeScript for Type Safety: TypeScript is used to enhance code maintainability and reduce bugs. While not mandatory, it’s suggested.
“I use typescript it isn’t required you can use JavaScript that’s fine but typescript makes your life a bit simpler easier…”
Tailwind CSS for Styling: Tailwind CSS (referred to as “tnd”) is used to style the application. A tailwind.config.js file is part of the setup.
Project Structure:app folder: Contains most of the core application logic.
page.tsx: Index page.
layout.tsx: Application layout.
api: For API routes.
dashboard: Features dashboard-related routes.
invoices: Folder for invoice routes.
public: Static assets.
utils: Utility functions and configuration.
components: Custom and shared UI components.
II. Authentication with Auth.js
Auth.js Implementation: The application uses Auth.js for handling user authentication.
“for authentication as you all know there are a lot of options on the market but we will use off JS…”
Magic Links: The authentication method is magic links, where users enter their email, and receive a login link.
“in off JS or in combination with off JS we will use magic links this is the method we will use to authenticate the user…”
Environment Variables: An AUTH_SECRET environment variable is crucial for Auth.js to encrypt tokens and verification hashes.
“this means we have to add a environment vable which is the off secret this is a random value used by the library to enp tokens…”
API Route Handler: An API route handler /api/auth/[…nextauth]/route.ts is created to manage authentication API endpoints.
III. UI Component Development
Custom Components: The developer creates custom components within a separate components directory to distinguish between shared and custom components.
Shadcn/UI Integration: The project integrates components from shadcn/ui for a consistent and styled user interface. Many components are installed, including card, label, input, button, select, textarea, calendar, and popover.
Login Form: A login form is built using card, label, input, and button components.
“…I want to now render my card uh content and in the card content I want to render my label the input and then also our submit button…”
Pending States: The useFormStatus hook is used to display pending states on form submissions.
“to show the pending State for the user we will have to use a hook which is called use form status this is a hook provided by react…”
Custom Submit Button: A custom SubmitButton component is created to manage loading states.
IV. Email Integration with Mailtrap
Mailtrap SDK: Mailtrap’s Node.js SDK is used to send transactional emails.
“this is a relatively new feature with mail trap we have a mail trap client which we can now also Implement into our application and then we don’t have to use SMTP anymore…”
API Token: The Mailtrap API token is stored in an environment variable (MAILTRAP_TOKEN).
Email Templates: A no-code UI builder is used to create email templates. In this specific case, a “reminder email” template is used.
Email Sending Logic: An email is sent after an invoice is created.
“once the user creates an invoice I want to send a email and that’s what we will do inside of here…”
Email Template: The mailtrap HTML UI builder is utilized to craft a visually appealing reminder email.
V. PDF Generation with jsPDF
jsPDF Library: jsPDF library is used to generate PDF documents on the server side.
PDF Document Setup: The PDF is configured with orientation, unit (millimeters), and format (A4).
“let’s initialize JS PDF so let me do a constant PDF or you could call it DOC but I think PDF is a bit more uh what would you say explanatory if this makes sense and then this is equal to new jspdf…”
Dynamic Data Rendering: Data from the invoice is dynamically used to populate the PDF. This includes invoice details, sender and receiver information, and item descriptions.
Custom Layout: The PDF layout is customized with font sizes, text positioning, and lines.
Content Disposition: The PDF is returned with a header indicating inline display.
VI. Data Visualization
Recharts Library: Recharts, integrated through Shadcn/UI, is used to create a chart within the dashboard.
Graph Component: A separate graph component is made which utilizes a JavaScript bundle and is marked as use client. This component displays a line chart representing paid invoices over the past 30 days.
Data Preparation: The graph data is dynamically fetched and passed to the recharts components.
VII. Other Important Implementation Details
Server Actions: Server actions were utilized for form handling and data modification.
Custom Hooks: A custom requireUser hook was created to check if the user is authenticated for protected routes and a custom formatCurrency function was created to ensure consistency when displaying monetary values.
Toasts: Sonner library is used to display toast notifications when there is a success or failure of actions.
Empty State: A custom EmptyState component is displayed when no invoices are present on the dashboard.
Dynamic Routes: Dynamic routes such as dashboard/invoices/[invoiceId] are used to handle individual invoice pages.
Suspense Boundaries: Suspense boundaries are added for asynchronous components to improve user experience while data is loading.
VIII. Key Quotes and Takeaways
Focus on UI Consistency: The developer emphasizes importing components from the custom components folder rather than directly from shadcn/ui to avoid errors.
“please make sure that you import all of your components from the components folder please don’t import it from radex UI if you import it from redex UI you will get a lot of errors and you don’t want that…”
Code Organization: Importance was placed on a clean architecture, utilizing a utils folder, separate component folders for different component types, and a custom hooks file for reusable logic.
Importance of Error Handling: There is a consistent implementation of try-catch blocks to gracefully handle errors and display user-friendly messages.
Data validation: There is a consistent validation of data to ensure data integrity. This includes id validation, user authorization, and checks for optional values.
IX. Next Steps
Landing Page: The final step before deployment is creating a landing page.
Deployment: The application is prepared for deployment.
Conclusion: The transcript highlights a detailed development process for an invoice management application using a variety of modern web technologies. It emphasizes the importance of code organization, user experience, error handling, and consistent UI. This briefing document should serve as a comprehensive overview of the development process.
Building a Next.js App with pnpm and Auth.js
1. What is pnpm and how does it differ from npm when creating a new project?
pnpm (Performant npm) is a package manager that is similar to npm (Node Package Manager), but with differences in how it creates projects. When using pnpm, you would use pnpm create followed by the desired project template (in this case, widespace next), while npm uses npm create followed by the project template. Pnpm is known for its efficient disk space usage and faster install times.
2. Why is TypeScript used in this project, and is it required?
While not strictly required, TypeScript is used in this project to make development simpler and easier by providing static typing to JavaScript. TypeScript makes it easier to catch errors and maintain the codebase. However, JavaScript is also a viable option if you are not familiar with TypeScript. The project can be followed without any prior Typescript knowledge.
3. Can you explain the folder structure of this Next.js project?
The project structure includes the following key folders and files:
tsconfig.json: Configuration file for TypeScript.
twin.config.js: Configuration file for Tailwind CSS (tnd).
package.json: Contains project dependencies (e.g., React, Next.js) and scripts.
next.config.js: Configuration file for Next.js settings, including image whitelisting.
.gitignore: Specifies files and directories to ignore in Git.
public/: Stores static files like images and videos.
app/: The most important folder containing application routes and layouts.
page.tsx: The index page of the application.
layout.tsx: The main layout component that wraps all routes.
globals.css: Stores CSS variables.
fonts/: For storing custom fonts.
api/: Contains API routes, including the authentication route (/api/auth/[…nextauth]/route.ts).
utils/: Contains utility functions and custom hooks.
components/: Contains reusable UI components.
4. How does the layout component work in Next.js, and how is it connected to pages?
In Next.js, the layout component, typically layout.tsx, wraps the content of all pages within the app folder. The layout renders its defined elements and then inserts the content of the current page as children via children. This means that elements rendered in the layout are persistent across all routes unless specified otherwise.
5. What is Auth.js and why is it used in this project?
Auth.js is an open-source authentication library used to implement authentication for web applications. It provides an easy way to add authentication with various methods. In this project, it’s used with magic links, where users enter their email, receive a link, and are then redirected back to the application, thus validating them as the owner of the email.
6. How is user authentication handled in this application and what is a magic link?
User authentication is handled using Auth.js in combination with magic links. A user enters their email address, and the application sends an email to that address containing a unique link. The user clicks the link, and upon returning to the application, their session is established. Magic links provide a passwordless method of authentication.
7. How is the dashboard route protected and what is the requireUser hook?
The dashboard route is protected by a custom hook called requireUser. This hook checks if a valid user session exists. If no valid session is found, it redirects the user to the login page. The hook is used on server components to ensure that unauthorized users cannot access secured routes. The requireUser hook encapsulates the logic to check if a user is authenticated and handles the redirection if a user is not.
8. How is PDF generation implemented and what libraries are used?
PDF generation is implemented using the jsPDF library. The library is used to create a PDF document programmatically, adding text, lines, and formatted data. Once the PDF document is created, it’s converted into a buffer and returned as a downloadable file (or displayed inline in this example) via the HTTP response.
Card UI Component Implementations
The sources describe various implementations of Card UI components, often using a combination of custom components and styling utilities, particularly from Shadcn UI. These cards are used to structure content, provide visual separation, and create interactive elements in web applications.
Key aspects of card UI in the sources include:
Structure:
Cards are often built using a card component as a base, which may include a card header, card content, and card footer.
The card header typically contains titles, descriptions, and icons.
The card content houses the primary content of the card, such as forms, tables, or images.
The card footer often contains buttons or links for interaction.
Layout and Styling:
Cards use flexbox and grid layouts for positioning elements.
Classes such as flex, flex-col, items-center, justify-center, grid, and grid-cols-* are used for layout.
Spacing is controlled using utility classes like gap-*, m-*, p-*, and space-y-*.
Cards are given a maximum width using max-w-* and are centered with mx-auto.
Background colors, borders, and rounded corners are added using classes like bg-*, border, and rounded-*.
Text styling includes classes for size (text-*), weight (font-*), color (text-*), and alignment (text-center).
Custom widths can be set using array brackets, for example, w-[380px].
Components:
Custom components such as Card, CardHeader, CardContent, CardTitle, CardDescription, and CardFooter are used.
These components are styled using utility classes from libraries like Shadcn UI.
Buttons within cards are often styled using the buttonVariants method to maintain consistency.
Icons from libraries like Lucid React are integrated within card components using components such as MailIcon, AlertCircle, ArrowLeft, Pencil, DownloadCloud, Trash, CheckCircle, DollarSign, and Users.
Forms and inputs are created within cards, including labels, text areas, and select elements.
Images and GIFs are also incorporated into the card.
Specific Implementations:
Login Form: Uses a card to contain a form with labels, inputs, and a submit button.
Verification Page: Uses a card with an icon, title, and description to indicate email verification.
Invoice List: Displays a card with a title, description, and a table of invoices.
Invoice Creation Form: Uses a card to contain a multi-input form for creating new invoices.
Delete Invoice Confirmation: Shows a card with a warning message and confirmation buttons.
Mark Invoice as Paid Confirmation: Displays a card with a confirmation message and buttons to mark the invoice as paid.
Dashboard Blocks: Uses multiple cards in a grid layout to display key metrics and data.
Invoice Graph: Renders a card containing a chart to visualize invoice data.
Responsiveness:
Cards are designed to be responsive using grid layouts and media queries, like md: and lg: prefixes in class names.
Cards may use a maximum width, such as max-w-sm, to limit their size on larger screens.
The layout of card content may change based on screen size, for example using grid-cols-2 or grid-cols-3.
Interactivity:
Cards include interactive elements like links and buttons, often styled with the buttonVariants method.
Some cards have popovers or dropdown menus for additional actions or information.
Cards are frequently integrated with server actions to perform actions such as submitting forms, deleting invoices, and marking invoices as paid.
Theming:
Cards use CSS variables provided by Shadcn UI for consistent styling.
Color palettes are defined in CSS and used within utility classes such as bg-muted, text-muted-foreground, and bg-primary.
Custom colors and gradients are also implemented.
In summary, the card UI implementations in the sources are built using a combination of flexible layout techniques, custom components, styling utilities from Shadcn UI, and interactive elements. They are designed to be responsive and maintain a consistent look across the application.
Shadcn UI Button Styling Guide
The sources provide several examples of button styling, primarily using the buttonVariants method from Shadcn UI, along with other utility classes to achieve specific looks. The goal is to create consistent, accessible, and visually appealing buttons that enhance user interaction.
Key aspects of button styling include:
buttonVariants method:
This method is used to apply a consistent set of styles to button elements, whether they are <button> elements or <a> elements styled to look like buttons.
It is imported from the components folder and invoked with an object that specifies style variations.
The method allows for dynamic styling through variants and class names.
Variants:
The variant property is a key aspect of button styling using buttonVariants.
Common variants include outline, secondary, ghost, and destructive.
The outline variant creates a button with a border and transparent background.
The secondary variant provides a button with a muted background color.
The destructive variant is used to highlight potentially dangerous actions and often uses a red background color.
If no variant is provided, the default style is applied.
Class names:
The class name property is used to add additional styling, including width, margin, and other CSS properties.
For example, w-full makes the button take the full width of its container.
Other classes include rounded-full for rounded corners, and text-left for aligning text to the left.
Button components:
Buttons are typically rendered using the <button> component from the components folder or are stylized <a> elements using the <Link> component from next/link.
The asChild property is used to prevent the error of a button being a descendant of a button when using the Link component.
Icons:
Icons from libraries like Lucid React are integrated within button elements to enhance their visual appeal.
Icons are given class names for sizing (size-*) and spacing (mr-*, ml-*).
Dynamic Text:
Button text can be passed as a dynamic property, allowing for the text to be changed without creating a new component.
Styling links as buttons:
The buttonVariants method is used to style the Link component from next/link to look like buttons, which allows for navigation while maintaining a consistent button style.
Accessibility:
The button styles provided by Shadcn UI are designed to be accessible, with appropriate contrast and focus states.
Submit Buttons:The submit button component is designed to handle form submission and has a pending state with a spinner.
The text property renders dynamic text for the submit button, and the variant property allows for different styling variations.
In summary, button styling in the sources is achieved through a combination of the buttonVariants method, utility classes, and careful integration of icons and text. This approach allows for creating visually appealing and functional buttons that provide a consistent user experience across the application, which enables styling buttons with various backgrounds, borders, text alignment, and interactive feedback.
Shadcn UI Table Rendering
The sources describe a comprehensive approach to rendering tables, primarily within the context of displaying invoice data, using a combination of custom components and styling utilities from Shadcn UI. The process involves creating a responsive and visually appealing table that can handle dynamic data and user interactions.
Key aspects of table rendering include:
Structure:
A table component serves as the wrapper for the entire table structure.
The table is divided into a table header and a table body, each with distinct roles.
The table header contains the column labels, rendered using table row and table head components.
The table body houses the actual data rows, rendered with table row and table cell components.
Components:
Custom components like Table, TableHeader, TableRow, TableHead, TableBody, and TableCell are used to construct the table.
These components are styled using utility classes from libraries like Shadcn UI, ensuring a consistent look and feel.
The table header uses table head elements to define column labels, and the table body renders rows using table cell elements to display data values.
Layout and Styling:
The table is made responsive using flexbox and grid layouts.
Classes such as flex, flex-col, items-center, justify-center are used for positioning.
Spacing is managed using classes like gap-*, m-*, p-*.
Text alignment is controlled with classes like text-left and text-right.
Custom widths can be set using array brackets, for example w-[100px].
The table uses CSS variables provided by Shadcn UI for consistent styling.
Dynamic Data:
Tables are designed to display dynamic data fetched from a database or an API.
The data is typically mapped over to create table rows using the map function.
Each data item corresponds to a row, and each property of a data item populates the table cells within that row.
The key prop is used to uniquely identify each row when mapping over data.
Table Header:
The table header uses the table head component which serves as labels for the data below, for example, “invoice ID,” “customer,” “amount,” “status,” “date,” and “actions”.
Table head elements can be styled individually, for example with text-right, to control alignment.
Table Body:
The table body renders rows of data with table cell elements.
Each table cell contains a value from the fetched data, corresponding to the column it is in.
The content of table cells is rendered dynamically, often with the help of helper functions, for example to format a date, or format currency.
Actions Column:
The “actions” column often includes a dropdown menu for interactions with each row.
The dropdown is rendered with the DropdownMenu, DropdownMenuTrigger, and DropdownMenuContent components from Shadcn UI.
The dropdown menu items are links styled to look like buttons with the buttonVariants method.
These dropdown menus may contain interactive elements such as “edit invoice”, “download invoice”, “send reminder email”, “delete invoice”, and “mark as paid”.
The alignment of the dropdown menu content is controlled using the align property of DropdownMenuContent.
Responsiveness:
Tables are designed to be responsive and adapt to different screen sizes.
Layout changes, such as column widths, are often managed using media queries.
Integration with other components:
Tables are frequently integrated with other components such as cards and popovers to provide a structured user interface.
They are often used within card components to display data within a container.
Conditional Rendering
Tables can be rendered conditionally based on data availability. An empty state component can be rendered if there is no data.
A fallback can be rendered when loading table data, for example with the Suspense component.
Dropdown menu items can be conditionally rendered, for example, the “Mark as paid” item is only shown when the invoice is not already marked as paid.
In summary, table rendering in the sources is achieved through the use of a flexible and modular structure with custom components, styling utilities from Shadcn UI, and dynamic data mapping. The resulting tables are responsive, visually appealing, and integrate well with the other UI components of the application, providing users with a clear view of their data and the ability to interact with it.
Client-Side Validation with Conform and Zod
Client-side validation is implemented in the sources using the Conform library in conjunction with Zod. This approach ensures that form data is validated on the client side before submission, providing a better user experience with immediate feedback, and also ensures that the data is safe to store in the database.
Here’s a breakdown of how client-side validation is handled:
Zod for Schema Definition:
Zod is used to define the schema for form data. This involves specifying the types of fields (e.g., string, number, email) and any additional constraints (e.g., minimum length, required).
For example, a schema can specify that a “first name” field must be a string with a minimum length of two characters, and it can provide a custom error message if this rule isn’t met.
Schemas are defined in a separate file, for example, zortSchemas.ts.
The schemas are then imported in the components where the forms are rendered.
Conform for Validation:
Conform is used to validate form data against the Zod schema, on both the client side and the server side.
The useForm hook from Conform is used to manage form state and validation. This hook is initialized with the last result from the server action, to keep the client and server state in sync.
The useForm hook takes a validate callback that performs the actual validation using the passWithZod function.
The passWithZod function compares the form data against the Zod schema and returns any errors.
passWithZod Function:
The passWithZod function is imported from @conform/zod and is used to compare form data against the Zod schema.
It takes the form data and the Zod schema as arguments and returns a submission object that contains the validation result, including any errors.
useActionState Hook for Server Communication:
The useActionState hook from React is used to handle server actions and to get responses from server actions.
It takes the server action and an initial state as arguments. It returns the last result from the server action and the server action itself. This hook is used to make a connection between the client side and server side, so that if there are server-side errors, the client can render the errors below the input fields.
Form Setup:
The form element is connected to Conform using the form.id and form.onSubmit properties that are returned from the useForm hook.
The noValidate property is set on the form to prevent the browser’s default validation.
Input Field Integration:
Input fields are connected to Conform using the fields object returned from the useForm hook.
Each input field uses fields.[fieldName].name, fields.[fieldName].key and fields.[fieldName].defaultValue.
Error Display:
Errors are displayed using fields.[fieldName].errors. This displays any errors returned by the validation process.
Error messages are typically styled with a small red font.
Validation Triggers:
The shouldValidate property in the useForm hook is set to onBlur, which means the form is validated when an input loses focus.
The shouldRevalidate property is set to onInput, which means the form is revalidated whenever the value of an input changes. This provides real-time validation as the user types.
Reusing Schemas:
The same Zod schemas are used for both client-side and server-side validation, ensuring consistency between the two. This reduces the risk of discrepancies in validation logic.
In summary, client-side validation in the sources utilizes Conform and Zod to provide robust, type-safe, and user-friendly form handling. This approach not only enhances the user experience by providing immediate feedback on errors but also ensures data integrity before it’s submitted to the server.
Invoice Creation Process
Invoice creation, as described in the sources, is a complex process involving multiple steps, from designing the user interface to implementing server-side logic for data storage and email notifications. The process is designed to be user-friendly, with a focus on real-time validation and a seamless user experience.
Here’s a detailed breakdown of invoice creation:
User Interface (UI) Design:
The invoice creation form is built using a combination of custom React components and styling from Shadcn UI.
The form is divided into sections, each with relevant input fields, for example, a “from” section, a “client” section, a “date and due date” section and an “invoice item” section.
Input Fields: The form includes various input fields for capturing invoice details, including:
Text inputs for names, email addresses, addresses, invoice numbers, and descriptions.
A date picker component for selecting the invoice date.
A select input for choosing the due date (e.g., net 0, net 15, or net 30).
Number inputs for quantity and rate of invoice items.
A text area for adding a note.
A currency selector.
The form is structured using grid layouts to create a responsive design, adapting to different screen sizes.
The form is styled with utility classes from Shadcn UI, for example card, input, label and button to maintain a consistent look and feel.
Each input is linked to a Conform field, for data management and for client-side validation.
Client-Side Validation:
Client-side validation is implemented using the Conform library and Zod.
Zod is used to define the schema for the invoice data. This schema specifies data types and constraints, such as required fields, minimum lengths, and valid email formats.
The useForm hook from Conform manages form state and performs validation against the Zod schema using the passWithZod function.
Real-time validation is triggered on blur and input changes with shouldValidate and shouldRevalidate properties in useForm, providing immediate feedback to the user.
Errors from validation are displayed below each input field with the fields.[fieldName].errors property.
Server-Side Action and Data Handling:
A server action is defined to handle the form submission. This action is marked with the use server directive, indicating it will run on the server.
The server action uses the same Zod schema for server-side validation, ensuring consistent validation logic.
The server action first validates the data against the Zod schema using the passWithZod function. If validation fails, error messages are returned to the client.
If validation is successful, the server action proceeds to create a new invoice record in the database using Prisma.
Prisma is used as the ORM to interact with the database. The data is stored in the invoice model, which includes fields for all the invoice details.
The invoice model also includes relations to the user model, allowing for tracking which user created a particular invoice.
The server action returns a new invoice id, so the user can be redirected to the correct page.
Email Notifications:
After creating the invoice, an email is sent to the client.
Mailtrap is used to send emails. The application uses the Mailtrap SDK, which is easier to implement than a generic node mailer.
Email templates are created using Mailtrap’s HTML Builder with dynamic data rendering.
The server action sends a custom email with the invoice details, using the created template.
The email includes the invoice number, due date, total amount, and a link to download the invoice PDF.
The email also includes the name of the client, so that the email is personalized.
PDF Generation:
A PDF document is generated from scratch using the jspdf library.
The PDF generation process is initiated via a route handler that fetches the invoice data from the database and converts the invoice details to PDF format, enabling users to download it as a real PDF file rather than just a screenshot.
The PDF includes key details such as the invoice number, the names of the sender and recipient, as well as the items, quantity, rate and total.
Integration with Other Components:
The invoice creation form is integrated into the main dashboard of the application.
The form uses other components such as cards and popovers, to keep the layout clear and organized.
The invoice creation form fetches the user information, including the name and address from the database, using the user id from the session.
Error Handling:
Both client-side and server-side validation provide error messages when form data is invalid.
Errors are displayed next to the corresponding input fields, giving the user an idea of what needs to be corrected.
In summary, the invoice creation process is a carefully orchestrated flow involving form rendering, real-time validation, server-side logic, database interaction, and email notifications. It ensures data integrity, provides a smooth user experience, and delivers professional-looking invoices.
Create a Invoice Platform using Next.js, Mailtrap, Auth.js, Tailwind | 2024
Affiliate Disclosure: This blog may contain affiliate links, which means I may earn a small commission if you click on the link and make a purchase. This comes at no additional cost to you. I only recommend products or services that I believe will add value to my readers. Your support helps keep this blog running and allows me to continue providing you with quality content. Thank you for your support!
The provided text examines the business histories of three prominent companies: General Electric, Philips, and Nintendo. General Electric’s story highlights its rise as a dominant force, its restructuring under Jack Welch, and its eventual sale of its appliance division to Haier, a Chinese company that initially rejected a buyout offer from GE. Philips, known for its innovative products and global reach, chronicles its struggles with over-diversification and its successful pivot toward the healthcare industry. Finally, Nintendo’s narrative explores its evolution from playing cards to video game dominance, its battles with competitors like Sega, and its ongoing adaptation to the changing gaming landscape, including mobile gaming and the Nintendo Switch.
Navigating Tech Titans: A Study Guide
Short Answer Quiz
How did General Electric (GE) initially contribute to the development of American homes? GE played a pivotal role in bringing electricity and electrical appliances, like refrigerators, irons, toasters, and ranges, into American homes, fundamentally changing daily life. They also had to invent things so people would want to use electricity.
What were the key factors that led to Haier’s success in the Chinese market? Haier’s success was driven by its focus on quality, beginning with the public destruction of faulty fridges, a commitment to rewarding performance, and adapting to the changing needs of its consumers, especially with a focus on innovation and creating a culture of entrepreneurship.
Describe Jack Welch’s impact on General Electric. As CEO, Jack Welch radically restructured GE, emphasizing a move away from being a bureaucratic organization and towards a business focused on being number one or two in all the industries it pursued. He ruthlessly cut underperforming units and workers, focusing on core industries such as Finance and Aerospace.
How did Philips initially establish its dominance in the lighting market? Phillips gained dominance by improving upon the original light bulb design and mass-producing high-quality bulbs using cotton filaments. This allowed for faster, more effective production and led to the company’s quick expansion.
What challenges did Philips face in the 1990s and early 2000s? Philips suffered from over-diversification, lacked strategic focus, and was slow to adapt to market trends, particularly in the competitive mobile phone and consumer electronics markets, leading to significant losses and a dramatic fall in market share.
What was the significance of the “Think Different” campaign for Apple? The “Think Different” campaign was a pivotal marketing move that successfully reintroduced Apple’s brand as innovative and counter-cultural, attracting both creatives and consumers who wanted to be associated with those values. It was a key component in Apple’s revitalization.
How did the introduction of the iPod and iTunes revolutionize the music industry? The iPod and iTunes created a legal, easy-to-use platform for consumers to download and listen to individual songs, disrupting illegal file-sharing and the traditional album model, transforming how people access and purchase music.
What was unique about Nintendo’s strategy in the early 1980s? Nintendo’s strategy involved limiting game production, enforcing quality control, and positioning its products as entertainment devices rather than just video game consoles, allowing it to stand apart from the saturated market and achieve global success.
Why was the Nintendo Wii a success when the Virtual Boy failed? The Wii’s focus on interactive gameplay and appeal to a broader family audience led to its popularity. In contrast, the Virtual Boy, with its clunky design and uncomfortable gameplay, was a commercial disaster, demonstrating that even innovative ideas need consumer-friendliness.
How has Nintendo tried to adapt to the modern gaming market? Nintendo has strategically entered the mobile gaming market with titles like Pokémon Go and Super Mario Run, while also focusing on hybrid consoles like the Switch that appeal to new generations of gamers. It is also looking into technologies like augmented reality and virtual reality.
Essay Format Questions
Compare and contrast the strategies employed by General Electric and Philips in the 20th century. Discuss the factors that led to their respective successes and challenges.
Analyze the role of innovation in the rise and fall (and rise) of the companies discussed in the source materials. How did they approach innovation? What factors contributed to the success or failure of their innovative ideas?
Explore the evolution of the consumer electronics market as seen through the lens of Apple, Nintendo, Philips, and Haier. Discuss the factors that contributed to each company’s competitive advantage and eventual struggles.
Examine the significance of leadership and corporate culture in the success and failures of the companies analyzed. How did leadership styles, decision-making processes, and corporate culture influence each company’s trajectory?
Discuss the influence of globalization on the evolution of the companies covered. How have these companies adapted to or been affected by international markets, consumer trends, and technological advances around the world?
Glossary of Key Terms
Conglomerate: A company that owns a diverse collection of businesses in different industries, often unrelated to each other.
Entrepreneurship: The process of designing, launching, and running a new business, often involving risk-taking and innovation.
Innovation: The introduction of something new; a new idea, method, or device.
Market Share: The portion of a market controlled by a particular company or product.
Micro Enterprise: A small business unit operating within a larger organization, with autonomy and direct accountability for its performance.
Platform (Business): A business model that creates value by facilitating exchanges between two or more interdependent groups, often through technology.
Renanher: Haier’s business model that divides its large organization into small, independent micro-enterprises.
Vertical Integration: A business model where a company owns and controls various stages of production, from raw materials to finished goods.
WinTel: The PC platform based on Microsoft’s Windows operating system and Intel microprocessors.
The Internet of Things (IoT): The network of physical objects embedded with sensors, software, and other technologies for connecting and exchanging data with other devices and systems over the Internet.
Corporate Turnarounds: GE, Haier, Philips, Apple, and Nintendo
FAQ: General Electric, Haier, Philips, Apple, and Nintendo
How did General Electric (GE) shift from being primarily known for appliances to focusing on finance and aerospace?
GE, once synonymous with household appliances, underwent a significant transformation under CEO Jack Welch. Welch initiated a radical restructuring, prioritizing businesses that were number one or two in their respective markets. GE shifted its focus towards industries like finance and aerospace, which were considered more relevant for future growth. This strategic repositioning led to the eventual divestment of its appliance division, which was deemed less aligned with GE’s long-term objectives.
How did Haier, a small Chinese refrigerator company, come to acquire GE Appliances?
Haier, initially a struggling refrigerator factory, dramatically improved its quality control under the leadership of Zhang Ruimin. This led to rapid growth and expansion within China. When GE decided to sell its struggling appliance unit, Haier saw an opportunity to expand into the US market and acquire a long-established brand. Haier’s purchase of GE Appliances in 2016 was a major turning point, as it brought together a company known for its innovative work culture and a historically significant appliance business.
What is Haier’s “RenDanHeYi” model, and how has it affected GE Appliances?
The “RenDanHeYi” model is a unique management system implemented by Haier that divides its workforce into small, entrepreneurial micro-enterprises. Each unit is responsible for its own decision-making and financial survival, fostering a culture of innovation and responsiveness to customer needs. When Haier acquired GE Appliances, it allowed the appliance division to adopt this model, helping GE Appliances become more agile, responsive, and focused on customer satisfaction. GE Appliance’s own innovation lab “First Build” also benefited from this open and feedback-driven model.
Why did Philips, once a leader in consumer electronics, shift its focus to healthcare?
Philips, initially famous for its light bulbs, expanded into various areas of consumer electronics, but over diversification resulted in massive financial losses in the late 20th century. In response, Philips restructured, divesting from many of its consumer electronics divisions and strategically focusing on healthcare technology, as healthcare industry had strong growth prospects as populations aged, and the company could make an impact by combining its technical expertise with healthcare needs.
How did Philips approach its transition into a health technology company, and what innovations have resulted?
Philips implemented a strategic transformation, reorienting its research and development efforts towards healthcare, and consolidating to become more streamlined and focused. This led to innovations like remote monitoring systems for patients in Singapore and advancements in medical catheter technology using light. This transition was further solidified by fostering an environment of innovation within the company, integrating design with technological development to come up with solutions, not just products.
What were the key factors that led to Apple’s near-bankruptcy in the 1990s, and how did Steve Jobs revive the company?
Apple faced a dire situation in the 1990s due to poor product planning, competition from cheaper PCs running Microsoft Windows, and internal divisions following Steve Jobs’ departure. Apple had expanded into too many different product lines and had not effectively competed in the mainstream personal computing market. Steve Jobs returned to Apple in 1997 and implemented drastic changes, which included streamlining the product line, reinvigorating the Apple brand with the “Think Different” campaign, and launching breakthrough products like the iMac, iPod, and iPhone. Jobs was able to recapture the company’s innovative spirit and strong brand identity.
How did Nintendo navigate the video game market amidst fierce competition, and what strategies led to its success?
Nintendo, which initially had great success with its NES console, struggled to compete in the hardware race with Sony and Microsoft, but shifted its strategy towards innovation and focusing on gaming experience. This led to the success of the motion-based Wii console, which appealed to a much broader range of consumers compared to other, more technically advanced competitors. Nintendo then transitioned to the mobile space with Pokémon Go and Super Mario Run, proving the value of their core franchises and IP. They later found success again with the Switch console which also appealed to a broader market due to its hybrid portability and ability to be played with more people, cementing their ability to rebound despite early failures with the Virtual Boy and the Wii U.
What common themes emerge when comparing the turnaround strategies of GE, Philips, Apple, and Nintendo?
Several common themes appear in the turnaround strategies of these companies: Focus on core strengths, innovation that goes beyond simply product development and towards overall experience, adaptability to changing market conditions, and strong leadership that can implement difficult decisions to steer the company back on course, either by creating micro-enterprises or refocusing an entire company. All of these companies saw periods of decline, demonstrating that no business is too big to fail. However, it also highlights that successful turnarounds require a mix of strategic changes, visionary direction, and the courage to make bold decisions. They all emphasize the importance of being in tune with what consumers really need, and not just releasing products that simply match current trends.
Tech Giants: Innovation, Adaptation, and Market Dominance
Okay, here is a detailed briefing document based on the provided text excerpts, exploring the main themes and important ideas, and including relevant quotes:
Briefing Document: The Evolution of Tech Giants – GE, Philips, Apple & Nintendo
Executive Summary:
This document analyzes the trajectories of four iconic companies – General Electric (GE), Philips, Apple, and Nintendo – highlighting their innovative breakthroughs, strategic pivots, and struggles for market dominance. The sources reveal common themes: the impact of visionary leadership, the challenges of managing growth and diversification, the need to adapt to technological disruption, and the crucial role of innovation and design. We see how these companies have shaped consumer culture and continue to influence the technological landscape.
I. General Electric (GE): From American Icon to Global Acquisition
Early Dominance & American Household Revolution: GE, co-founded by Thomas Edison, played a pivotal role in electrifying America. It moved from generating electricity to inventing devices that would use it.
Quote: “In 1892 the general electric company was co-founded by the same man who gave us the light bulb Thomas Edison… equally GE needed to invent things so people would buy electricity.”
Quote: “GE gave Americans their first electric iron, toaster and electric range but it was the monitor top released in 1927 that was the game changer, the first affordable household refrigerator in America.”
The Rise of Mass Consumption: GE’s innovations, particularly the refrigerator, profoundly altered daily life, facilitating less frequent shopping and impacting the agricultural industry.
Quote: “Refrigerators were one of the really basic fundamental innovations at the beginning of the 20th century that changed American home life…instead of going shopping every day… it was part of the mass consumption of food industry.”
The Welch Era and Restructuring: Under Jack Welch, GE underwent a radical restructure, focusing on becoming #1 or #2 in every market, leading to large-scale layoffs and a shift towards finance and aerospace. This included divesting from non-core areas like appliances.
Quote: “Welch ordered a radical restructure. He demanded that GE become number one or two in everything they did.”
Quote: “The relevant industries were Finance Aerospace not refrigerators.”
The Decline of GE Appliances: The appliance division became a “non-fit” for the restructured GE, leading to years of rumors about a potential sale.
The Haier Acquisition: Haier, a Chinese company that once faced GE’s attempts at acquisition, eventually bought GE Appliances, marking a dramatic turn of events.
Quote: “This is the inside story of how a small Chinese company that sold defective fridges came to buy over one of the oldest Appliance companies in the world.”
Haier’s RenDanHeYi Model: Haier, under leader Jang Ruimin, implemented a revolutionary “RenDanHeYi” model that breaks down the company into small microenterprises, fostering innovation and responsibility. This model was later adapted by GE Appliances.
Quote: “Jang divided his 60,000 Global employees into more than a thousand micro Enterprises he termed this model renan her. each unit became a small company responsible for its own decisions and financial survival”
Revitalization through Innovation: After acquisition by Haier, GE Appliances under Kevin Nolan, began adopting Haier’s model, experiencing growth and focusing on the Internet of Things (IoT).
Quote: “When higher finally came in and acquired us it was a relief uh it was a relief because we’re acquired by someone that really wants us that’s in The Sweet Spot of where they want to grow”
Quote: “we’ve looked at that and said that’s a that’s a great strategy buying in that strategy is starting to pay off”
II. Philips: A Journey from Light Bulbs to Healthcare
Early Innovation and Global Expansion: Philips started with light bulbs, expanding to radios and other consumer electronics. Their core was driven by entrepreneurship and innovation, leading to a large electrotechnical company.
Quote: “The philosophy of Entrepreneurship and Innovation was driving the company’s growth”
Quote: “Philips was very successful in Asia itself because they are a truly globalized company…they were actually manufacturing lamps in India.”
Product Diversification and the Danger of Overstretch: Philips expanded their product line into a vast array of products, but by the 1990s, this led to a lack of focus and major losses.
Quote: “Philips was over Diversified it just had too many products and spreading itself too thin”
The Need for Refocus: The company experienced significant losses and a decline in market share due to being slow to adopt new technologies like LCD and a lack of strategic marketing capabilities. The company struggled due to over-diversification and ineffective management.
Strategic Pivot to Healthcare: Under CEO Frans van Houten, Philips shifted its focus from consumer electronics to healthcare, investing heavily in medical acquisitions and R&D, driven by the increasing demand for healthcare services in an aging population globally and especially in Asia.
Quote: “In 2014 he announced that after 120 years Philips would split into two separate companies lighting and Healthcare so this allows actually um you know both units to focus on what it can do best”
Innovation in Healthcare: Philips is innovating in healthcare through digital programs, remote monitoring, and new medical technology, aiming to improve the lives of 3 billion people annually by 2025.
Quote: “Philip’s ambition in healthcare is to improve the lives of 3 billion people around the world by 2025 we are all passionate about this this big mission that is what everybody works for every day.”
III. Apple: From Garage Startup to Global Giant
Early Innovation and the Personal Computer Revolution: Apple, co-founded by Steve Jobs and Steve Wozniak, created the Apple II, one of the first user-friendly personal computers. They focused on design and a user experience that felt personal and intuitive.
Quote: “The Apple 2 small inexpensive simple to use one of the world’s first micro computers it had a built-in keyboard and offered high resolution color graphics and sound.”
The Macintosh and the Battle with IBM: Apple launched the Macintosh, a groundbreaking computer, but it failed to gain mass adoption, leading to conflicts and Steve Jobs’ departure. It was deemed too expensive for creatives, and not appealing to businesses.
Quote: “The Macintosh struggled commercially and this drove a wedge between Steve Jobs and John Scully the CEO”
Jobs’ Exile and Apple’s Decline: Without Jobs, Apple struggled with missteps, poor sales, and financial difficulties. They released several products that failed, and faced increasing competition from Microsoft’s Windows. The Newton handheld device failed because it was too ambitious.
The Return of Steve Jobs and Transformation: Jobs’ return in 1996 marked a turning point. He focused on product innovation, design, and marketing, leading to the launch of the iMac, iPod, iPhone, and iPad.
Quote: “Steve Jobs coming back to Apple it was kind of a field good moment in the sense that you know he is one of the founders come back to the company that he started”
The Apple Ecosystem and Brand Loyalty: Apple built a powerful ecosystem through iTunes, the App Store, and retail stores, cultivating strong customer loyalty and creating an immersive customer experience.
Quote: “The Apple Store is divided into four parts the the plans for the Apple Stores received a lot of criticism from the industry it was thought to be a huge risk to open a specific retail store just to sell Apple products”
Post-Jobs Era and Global Expansion: Under Tim Cook, Apple has continued to grow, embracing new markets, particularly in Asia, and expanding its service offerings. They also face increased competition from Chinese brands, and criticism of business practices.
Quote: “Tim Cook is not the same kind of leader that Steve Jobs was he’s not necessarily A Visionary leader but he’s a a great great business strategist”
IV. Nintendo: A Century of Play, from Playing Cards to Mobile Gaming
Origins in Playing Cards and Diversification: Nintendo began as a playing card company, venturing into various business sectors before finding its place in video games.
Quote: “Nintendo’s history goes back more than a 100 years the company started out making highquality Hannah Fooda cards”
Early Success in Video Games: Nintendo’s breakthrough product was the Nintendo Entertainment System (NES), launching the company to global prominence, driven by game designer Yoko Gumpei’s ethos of low cost, innovative play.
Quote: “Released in 1983 the NES was Nintendo’s breakthrough product selling 2 million units within a year of its release and catapulting the company into po position”
Rivalry with Sega and the Virtual Boy Failure: Nintendo faced intense competition from Sega in the 1990s. The Virtual Boy, a foray into virtual reality, was a major failure, highlighting a misstep in both design and the technology of the time.
Quote: “The virtual boy was panned by Gamers and critics alike it was quickly dismissed as the worst game console ever made”
The Wii’s Revolution: Nintendo successfully reinvented itself with the Wii, focusing on interactive gameplay and appealing to a broader audience, including families.
Quote: “Nintendo’s success with the Wii was unchallenged more than 100 million units were sold in less than six years”
Challenges in the Modern Era: Nintendo has faced challenges due to increased competition, technological change, and the evolving tastes of gamers. This led to their handheld Wii U being unable to compete with tablets.
Mobile Gaming and New Console Ventures: Nintendo moved to embrace mobile gaming (with Pokémon Go and Super Mario Run), and new console ventures with the Nintendo Switch, a hybrid handheld and home console.
Quote: “all signs are pointing to Nintendo Reinventing the wheel once again this time with the Millennials in mind”
Future Direction: Nintendo is exploring virtual reality, augmented reality, and theme parks to continue its legacy in the gaming industry, and the focus on mobile is key. They aim to continue to capitalize on their classic IP.
Conclusion
The journeys of GE, Philips, Apple, and Nintendo illustrate the complex dynamics of technology leadership. These companies have all faced periods of innovation, expansion, and decline. Their stories highlight the need for a clear vision, strategic agility, and a commitment to customer satisfaction and continuous innovation. The importance of strong leaders, and responding to customer needs and changes in technology, is something they all had in common. By constantly adapting and reinventing themselves, these companies have shaped not only consumer markets but our everyday lives.
Haier’s Acquisition of GE Appliances
In 2014, GE initially made a deal to sell its struggling appliance business to Electrolux, but this deal was blocked by antitrust regulators [1]. In 2016, GE put its appliance unit on the market again, and this time Haier was invited to bid [1].
Here are some key points about the sale of GE Appliances to Haier:
Haier was a small Chinese company that had previously been approached by GE for acquisition in the early 1990s [2, 3]. At that time, Haier declined the offer [3].
By 2016, the roles were reversed, with Haier now in a position to acquire GE Appliances [1].
Haier’s bid was not the highest, but GE accepted it [1].
The final price was $5.6 billion [1].
The acquisition of GE Appliances was seen as a significant move for Haier to expand into developed markets like the US [1, 4].
For GE, the appliance division no longer fit with the company’s focus on finance and aerospace [2, 5].
After the acquisition, GE Appliances maintained its autonomy [1].
Haier’s renanher model was implemented at GE Appliances [1]. The renanher model divides a company into many small units responsible for their own decisions and financial survival [3].
Kevin Nolan, formerly GE Appliance’s Chief Technology Officer, became CEO after the acquisition [6].
There was some initial fear and uncertainty among GE Appliance employees about being acquired by a Chinese company, but this was largely overcome [1, 6].
The acquisition by Haier was ultimately seen as a positive move for GE Appliances, as it was acquired by a company that truly wanted it and was in a position to help it grow [6].
GE Appliances had lost its place as a market leader in the US and needed to change quickly [1].
Haier was seeking “surprises” in product, organization, and business models, as opposed to simply operational efficiency [6].
By 2018, GE Appliances reported its best results in a decade, with a 20% profit growth, indicating that Haier’s acquisition was having a positive impact [7].
The acquisition of GE Appliances by Haier marks a significant turning point for both companies [2]. For Haier, it was a chance to expand its reach into the American market, and for GE, it was a chance to divest a non-core business and focus on its core competencies [2, 4].
Haier’s Acquisition of GE Appliances
Haier’s acquisition of GE Appliances was a significant event, marking a turning point for both companies [1, 2]. Here’s a breakdown of the key aspects of this acquisition, drawing on the sources and our previous conversation:
Background
In the early 1990s, GE tried to purchase a small Chinese refrigerator company, Haier (then called the Qingdao Refrigerator Factory), but Haier refused [1, 3].
By 2016, the situation had reversed, and Haier was in a position to acquire GE Appliances [2].
Reasons for the Acquisition
GE Appliances was no longer the heart of the General Electric Company and was not a market leader in the US. GE’s focus had shifted to finance and aerospace [1, 2, 4].
GE had attempted to sell the appliance unit to Electrolux in 2014, but the deal was blocked by regulators [2].
Haier sought to expand into developed markets like the US [2, 5].
Haier saw an opportunity to gain a foothold in the American appliance market by acquiring an established brand like GE Appliances [2].
The Acquisition Process
Haier was invited to bid when GE put its appliance unit back on the market in 2016 [2].
There were multiple bidders, but GE ultimately accepted Haier’s bid [2].
The final price for the acquisition was $5.6 billion [2].
The acquisition was not a “do or die” situation for Haier, but it was considered a crucial opportunity [2].
There was concern that if one of Haier’s domestic rivals bought GE Appliances it would be disadvantageous to Haier [2].
Jang Ruimin, Haier’s CEO, traveled to the US to negotiate the deal with GE’s CEO [2].
Post-Acquisition
GE Appliances maintained its autonomy as part of the acquisition agreement, and Haier could not simply impose its will [2].
Haier implemented its renanher model at GE Appliances. This model breaks down the company into small, entrepreneurial units responsible for their own decision-making and financial outcomes [2, 3, 6].
Kevin Nolan, GE Appliance’s former Chief Technology Officer, became CEO after the acquisition [6, 7].
Initial fears and uncertainty among GE Appliance employees were overcome as Haier demonstrated its commitment to growth [6].
Haier sought “surprises” in product, organization, and business models from GE Appliances, not just operational efficiency [2, 6].
By 2018, GE Appliances saw a 20% profit growth, indicating the success of the acquisition [8].
Significance of the Acquisition
For Haier, it was a significant step in its international expansion, particularly in the competitive US market [2].
For GE, it was a strategic move to divest a non-core business and focus on other sectors [1, 2, 4].
The acquisition was a turnaround story for GE Appliances, which had struggled in the years leading up to the sale [2, 6].
The integration of Haier’s renanher model led to increased innovation and profitability at GE Appliances [2, 3, 6].
The acquisition highlighted the shift in global business dynamics, with a Chinese company acquiring a major American brand [2].
This acquisition was more than just a business deal; it represented a strategic shift for both companies and a significant moment in the global appliance industry [1, 2].
Nintendo: From Cards to Consoles
Nintendo’s history is a fascinating journey of transformation, innovation, and resilience, from a playing card company to a global video game giant [1]. Here’s a detailed look at its key milestones:
Early Days: From Playing Cards to Toys
Founded in the late 19th century, Nintendo began as a manufacturer of “Hanafuda” playing cards, similar to Western playing cards [1].
For decades, they dominated the playing card market in Japan [1].
By the 1960s, the playing card industry was becoming less popular, and Nintendo needed to diversify [1].
The company tried various ventures, including a hot-hell chain, a taxi company, and even a vacuum cleaning business, but all of them failed [1].
Nintendo’s entry into the world of toys was sparked by toy designer Gunpei Yokoi [1, 2]. Yokoi’s inventions, like the “Ultra Hand,” led Nintendo to venture into the toy market [1, 2]. Yokoi would become a key figure in Nintendo’s transition into video games [2].
Entering the Video Game Market
In the late 1970s and early 1980s, the video game market saw a boom, followed by a crash due to oversaturation and low-quality games [2].
Despite the market turbulence, Nintendo saw an opportunity, deciding to enter the home video game industry [2, 3].
Nintendo’s strategy was to distance itself from the struggling games market and present its products as entertainment devices [3].
The NES Era: Global Success
The Nintendo Entertainment System (NES), released in 1983, was Nintendo’s breakthrough product [1].
Within a year, the NES sold 2 million units, catapulting Nintendo to global recognition [1].
Nintendo brought order to the chaotic video game market by limiting the number of games produced and enforcing strict quality control [3].
The NES sold over 60 million units worldwide, and was in production until 2003 [3].
Super Mario Brothers 3 became the fastest-selling home video game in history in 1988, grossing over $500 million worldwide [3].
Facing Competition: The Sega Challenge
By the late 1980s, Sega emerged as a strong competitor, targeting an older demographic with its Mega Drive (Genesis) console [3].
Sega’s aggressive marketing and technically superior console challenged Nintendo’s dominance [3].
Nintendo’s market share plunged from 90% to a low of 35% [3].
Nintendo regained some market share with the Super Nintendo Entertainment System (SNES) [4].
Innovation and Setbacks: The Virtual Boy
As new players entered the market, including Sony with the PlayStation, Nintendo needed to innovate [4].
Nintendo attempted to introduce a virtual reality console called the Virtual Boy, which was a commercial failure [4, 5]. The Virtual Boy was criticized for its crude red graphics, inducing nausea and headaches [4, 5].
The Virtual Boy was pulled from the market after just 18 months [5].
Gunpei Yokoi, the key creative force behind many of Nintendo’s hit products, was also the one who designed the Virtual Boy. Tragically, Yokoi died in a car crash in 1997 [5].
The Wii Era: Reinventing Gameplay
In the early 2000s, Nintendo fell to third place behind Sony and Microsoft in the console market [6].
The Wii was a revolutionary console that focused on interactive gameplay rather than the latest technology [6, 7].
Nintendo designed a motion-controlled console that would appeal to both casual and family gamers [7, 8].
The Wii sold over 100 million units in less than six years [8].
The success of the Wii was attributed to its low technology, interactive gameplay, and appeal to families [7, 8].
Challenges and Diversification
The Wii U, Nintendo’s next console, failed to replicate the success of the Wii [8].
As mobile gaming rose in popularity, Nintendo began moving its library of characters into the mobile space [9].
Pokémon Go became a huge success for Nintendo, with its share price increasing by 133% [9].
Nintendo partnered with Apple to release Super Mario Run on the App Store, further solidifying its presence in the mobile market [10, 11].
The Nintendo Switch: Hybrid Gaming
The Nintendo Switch was released in 2017 as a hybrid console, functioning as both a handheld and a home gaming platform [11].
The Switch focused on mobility and paired the iconic game titles of Nintendo [11].
The Switch was designed with a younger audience in mind, and was designed to not require a television, a strategy which set the console apart from other products on the market [11].
Future Outlook
Nintendo is exploring virtual and augmented reality for future hardware [12].
Nintendo is also diversifying into theme parks and considering franchising its characters for the big screen [13].
Despite the ever-changing market, Nintendo is positioned to survive, thanks to its cultural background, public memory, and innovative technology [13].
Nintendo now operates in a market of massive consumer choice, and the company must continue to deliver unique experiences to maintain its position [12].
Nintendo’s journey is a story of both remarkable successes and significant setbacks. The company’s willingness to adapt, innovate, and prioritize unique gameplay experiences has allowed it to remain a major player in the video game industry for decades.
Apple’s Ascent: From Near-Bankruptcy to Global Tech Giant
Apple’s journey from its founding to its current status as a global tech giant is marked by periods of intense innovation, near-bankruptcy, and ultimately, a remarkable reinvention. Here’s an overview of Apple’s transformation, as detailed in the sources:
Early Innovation and Success:
Apple was founded by Steve Jobs and Steve Wozniak in 1976, initially creating basic kit computers [1].
The Apple II computer was a breakthrough hit, a small, inexpensive, and user-friendly microcomputer that led to rapid growth and made Apple a major player in the personal computer industry [1].
By 1980, Apple went public, creating many millionaires and establishing Steve Jobs as a visionary [1].
Jobs envisioned Apple products as “appliances” that would be useful and easy to use [2].
Setbacks and Challenges:
The Apple III was a major failure, with technical issues that damaged the company’s reputation [2].
The launch of the IBM PC in 1981 created a major competitor for Apple, with IBM gaining a large market share [2].
Despite the launch of the Macintosh in 1984, the first mass-marketed computer with a mouse and on-screen interface, it was too expensive and unconventional for many consumers [3, 4].
Internal conflicts between Jobs and CEO John Sculley led to Jobs’s forced resignation in 1985 [4, 5].
Microsoft’s Windows operating system, which worked on IBM PCs, further eroded Apple’s market share [5].
Apple struggled with a series of “hit and miss” products, including the Newton Message Pad which was too ambitious and ultimately unsuccessful [5, 6].
By the late 1990s, Apple was on the brink of bankruptcy due to financial losses, lack of focus, and increasing competition [7].
The Return of Steve Jobs and Reinvention:
In 1996, Apple bought Steve Jobs’s company, NeXT, and Jobs returned to Apple as interim CEO [8].
Jobs took immediate and often brutal decisions to save the company, including firing many employees and simplifying the product line [9].
Apple launched the “Think Different” advertising campaign to relaunch its brand, attracting creatives and those who wanted to be creative [9].
The iMac G3 was a transformative success, a beautifully designed and affordable computer that brought Apple back to profitability [10].
The launch of the iTunes music service in 2001 allowed users to legally and easily access music, leading to Apple’s next hardware release: the iPod [11].
The iPod portable music player dominated the market and changed the entire music industry [11].
In 2007, Apple introduced the iPhone, a revolutionary smartphone that spawned a new era of mobile technology [11].
The launch of the App Store in 2008 further cemented Apple’s position in the digital content market [12].
Apple created a unique customer experience by designing and launching its own retail stores [12].
Post-Jobs Era and Continued Growth:
After Steve Jobs passed away in 2011, Tim Cook became CEO. Cook is seen as a business strategist who has continued to grow the company [13].
Under Cook’s leadership, Apple has grown significantly, especially in Asian markets such as China and India [14].
Apple has diversified its revenue streams with the services industry (Apple Music, iCloud, etc.) [15].
Apple continues to face challenges, including criticism of its practices and competition in various markets [16].
However, Apple is seen as more secure and stable than at any point in its history [15].
Key Elements of Apple’s Reinvention:
Focus on Design and User Experience: Apple has always prioritized creating products that are not only functional but also beautifully designed and easy to use [2, 10].
Innovation: Apple has consistently pushed the boundaries of technology, creating new products and services that have disrupted entire industries [11, 12].
Branding: Apple has built a strong brand that is associated with quality, innovation, and a unique user experience, attracting a loyal customer base [9, 10].
Strategic Leadership: The return of Steve Jobs was crucial in turning the company around, and Tim Cook has continued the company’s success by adapting its growth strategy for new markets [8, 14].
Adaptability: Apple has been able to adapt to changing market trends and consumer preferences, from the shift to mobile devices to its focus on services [11, 14].
In summary, Apple’s reinvention was not a single event but a series of strategic moves and innovative products that transformed it from a struggling computer company into a global leader in technology. The company’s ability to adapt, innovate, and focus on design has enabled it to overcome numerous challenges and maintain its status as one of the world’s most valuable companies [15].
Philips’ Transformation: From Diversification to Healthcare Leadership
Philips’ restructuring was a complex and multifaceted process driven by the need to adapt to changing market conditions and reverse significant financial losses. Here’s a detailed account of Philips’ restructuring, based on the information in the sources:
The Era of Diversification and Decline:
Philips, originally known for its light bulbs, had expanded into various product categories, from radios and televisions to consumer appliances and medical devices [1-3].
By the 1990s, this broad product portfolio led to problems. Philips was over-diversified and struggled to focus on its core strengths [4].
The company’s profit margins dropped significantly, and its market share in key markets eroded [4, 5].
Philips suffered massive losses, including a $2 billion loss in 1990, which was the biggest corporate loss in Dutch history [4].
Philips entered the competitive mobile phone market, a venture that failed and cost the company over $500 million [4].
By the mid-1990s, Philips was a company in disarray, producing a wide range of unconnected products [5].
Initial Restructuring Attempts:
In 1996, Philips hired CEO Co Boonstra to streamline the company [5].
Boonstra introduced a “ONE Philips” initiative to unite the company, but individual business units still competed with each other, which made it difficult to drive revenue [5].
Boonstra closed down loss-making divisions, reduced the workforce by over 60,000 employees, and consolidated plants and suppliers [5].
While these changes improved profit margins, they did not increase long-term product sales [5].
Philips remained slow to respond to market trends due to its decentralized decision-making and overstaffing [5].
The Shift Towards Healthcare:
Between 2007 and 2010, Philips invested nearly $8 billion in acquisitions, focusing on medical companies in the USA and Asia [6].
The company began planning a strategic shift away from consumer electronics and towards healthcare, which was identified as a growth industry due to the world’s aging population and rising demand in Asia [6, 7].
In 2011, Frans van Houten became CEO and spearheaded the company’s transformation into a health technology company [6].
Van Houten made the strategic decision to split Philips into two separate companies: lighting and healthcare [6].
This allowed both units to focus on their respective markets and build leadership positions [6].
Philips appointed Yan Kimpen, a medical doctor, as the new Chief Medical Officer to signal its commitment to healthcare [7].
Reorganization and Cultural Change:
Philips refocused its research and development efforts on healthcare [8].
The company restructured its business units to be more connected and focused on a single vision of improving the lives of 3 billion people each year [7].
Philips empowered employees to play their role in the transformation and work towards the company’s new healthcare goals [8].
Design thinking was implemented to encourage innovation and collaboration across all parts of the company, including research and technology development [8, 9].
Philips invested nearly $2 billion in research and development in 2016 [9].
The company opened a new regional headquarters in Singapore to serve as its healthcare hub in Asia [9].
New Healthcare Focus and Innovation:
Philips developed new healthcare technologies tailored to the needs of aging populations, such as remote monitoring systems that allow patients to do routine checkups from home [10].
These technologies are being used in various parts of Asia, including remote areas, to improve access to healthcare and reduce mortality rates [11].
Philips is also developing innovative medical devices, such as a light-based catheter that could revolutionize the diagnosis of heart disease [12].
The company’s mantra became “to improve the lives of 3 billion people around the world by 2025” [13].
Outcomes of Restructuring:
By 2016, Philips ranked in the top three global healthcare companies [12].
The healthcare division, once a small part of the company, now accounts for more than four times the profits it did a decade prior [12].
The company has also recorded $20 billion in sales in 2016 [13].
Philips’ transformation was not just about financial performance, but also about creating a more focused, innovative, and customer-centric organization.
In summary, Philips’ restructuring involved a strategic shift away from consumer electronics towards healthcare, accompanied by a major organizational and cultural change. By streamlining its operations, divesting non-core businesses, and investing heavily in healthcare technology, Philips has reinvented itself as a leading health technology company.
The Rise & Fall of Haier, Philips, Apple und Nintendo! | Inside the Storm Compilation | FD Finance
Affiliate Disclosure: This blog may contain affiliate links, which means I may earn a small commission if you click on the link and make a purchase. This comes at no additional cost to you. I only recommend products or services that I believe will add value to my readers. Your support helps keep this blog running and allows me to continue providing you with quality content. Thank you for your support!
This article focuses on public speaking strategies specifically tailored for introverts. It challenges the misconception that introversion hinders effective communication, highlighting how introverts’ thoughtfulness, empathy, and authenticity are valuable assets. The text emphasizes mindset shifts, from viewing public speaking as a performance to a connection, and offers practical techniques like thorough preparation, authentic delivery, and mindful energy management. It also underscores the importance of audience understanding and leveraging introverted strengths such as controlled movements and strategic pauses to create impact. Finally, the article mentions the author, a high-performance coach, who helps individuals transform their public speaking skills.keepSave to notecopy_alldocsAdd noteaudio_magic_eraserAudio OverviewschoolBriefing doc
Public Speaking for Introverts: A Study Guide
Short Answer Quiz
What is a common misconception about introverts and public speaking?
Name three strengths that introverts possess that can be advantageous in public speaking.
According to the article, what should introverts focus on instead of “performing”?
How can introverts benefit from reframing their self-perception about public speaking?
Why is it beneficial for introverts to research their audience before a speaking engagement?
What are the two steps in preparation that introverts can take to build confidence before a presentation?
What is one way introverts can embrace authenticity during public speaking?
How can mastering the pause be advantageous for introverted public speakers?
Why is it important for introverts to manage their energy levels around public speaking?
What is visualization and how can it benefit introverts in preparing for a speech?
Short Answer Quiz: Answer Key
The common misconception is that introverts are at a disadvantage in public speaking because they are quieter and less outgoing, while the truth is, they possess strengths well-suited for public speaking.
Introverts have strengths in thoughtful content creation, empathy and listening, and authenticity, all of which are beneficial in public speaking.
Introverts should focus on connecting with the audience and communicating their message rather than performing theatrically.
Introverts can benefit from viewing public speaking as an opportunity for growth and sharing, rather than seeing it as a test or challenge to be feared.
Researching the audience helps introverts tailor their message, making it more relevant, and this reduces pressure, shifting the focus to serving their listeners’ needs.
Introverts can prepare by scripting and rehearsing their speech multiple times to enhance delivery, and they can visualize success to calm nerves.
Introverts can embrace authenticity by speaking in a natural tone, sharing personal stories and acknowledging nervousness.
Mastering the pause allows introverts to add weight to their words, allowing the audience time to process the information and enhancing the impact of the speech.
Introverts tend to find public speaking draining and managing energy by scheduling recovery time, pacing events, and practicing breathing techniques will help them succeed in their delivery.
Visualization is the mental rehearsal of an event by using mental imagery and by practicing this, it builds confidence by activating neural pathways and reinforces a positive mindset.
Essay Questions
Discuss the unique strengths introverts possess that make them effective public speakers. How do these strengths challenge traditional perceptions of what makes a good speaker?
Explore the importance of audience understanding and connection in public speaking, particularly for introverts. How can introverts use their inherent strengths to build a rapport with their audience?
Analyze the role of mindset and self-perception in public speaking for introverts. How can reframing negative thoughts and fears into positive ones improve their speaking abilities and confidence?
Describe specific strategies introverts can use to prepare for public speaking, emphasizing the importance of preparation, authenticity, and self-care. How do these strategies empower introverts to deliver impactful presentations?
Examine the use of visualization as a tool for introverts to manage anxiety and improve public speaking performance. How does mental rehearsal translate to real-world confidence?
Glossary of Key Terms
Authenticity: Being genuine and true to oneself. In public speaking, it means speaking in a way that feels natural and sincere.
Empathy: The ability to understand and share the feelings of another. For introverts, this is key to tailoring messages that resonate with their audience.
Extroverted Charisma: The ability to draw people in with outgoing, energetic behavior, often characterized by dramatic gestures and loud voices.
Mindset: A set of beliefs or way of thinking that affects one’s attitude and behavior. A growth mindset is the belief that abilities and intelligence can be developed through dedication and hard work.
Public Speaking: The act of delivering a speech or presentation to an audience.
Rapport: A close and harmonious relationship in which the people or groups concerned understand each other’s feelings or ideas and communicate well.
Visualization: A technique of creating mental images or scenarios to prepare for an event. This is often used for calming nerves and building confidence.
Public Speaking for Introverts
Okay, here’s a briefing document summarizing the key themes and ideas from the provided text, incorporating quotes where appropriate:
Briefing Document: Public Speaking for Introverts
Date: October 26, 2023
Subject: Leveraging Introverted Strengths in Public Speaking
Overview: This document reviews key insights from the provided text on how introverts can excel in public speaking by embracing their natural strengths rather than trying to mimic extroverted styles. It emphasizes a shift in mindset from “performance” to “connection,” and provides actionable strategies for preparation, delivery, and energy management.
Key Themes and Ideas:
Challenging the Extroverted Ideal:
The document challenges the traditional view of public speaking that often celebrates “loud voices, big personalities, and extroverted charisma,” arguing that this leaves “little room for quieter approaches.”
It reframes the concept of public speaking away from theatrical performance and towards genuine communication, stating: “However, public speaking is not about performance; it’s about connection and communication.”
Introverted Strengths as Public Speaking Assets:
The document identifies core introverted strengths, such as “thoughtfulness, authenticity, and the ability to connect deeply,” as valuable assets in public speaking.
It elaborates on specific strengths:
Thoughtful Content: Introverts’ “time reflecting and analyzing” leads to “well-crafted and meaningful messages.”
Empathy and Listening: Their ability to “listen and observe allows them to tailor speeches that resonate deeply with their audience.”
Authenticity: “Audiences are drawn to genuine speakers, and introverts can leverage their sincerity to create trust and rapport.”
Mindset Shift:
A critical element is a shift in mindset, “From Fear to Opportunity: View public speaking as an opportunity to share your unique perspective rather than a test of performance.”
It encourages a growth mindset, “From ‘I Can’t’ to ‘I’m Growing’: Recognize that public speaking is a skill that improves with practice.”
Audience Understanding:
Introverts are encouraged to use their observation and empathy skills to “deeply understand their audience.”
This includes researching “the demographics, interests, and expectations of your audience” to tailor speeches and “shift your focus to serving their interests.”
Using Q&A to deepen connections is also recommended, based on “understanding that public speaking is less about impressing and more about resonating with your audience.”
Practical Strategies for Introverts:
Preparation: “For introverts, preparation is often a source of confidence.”
Includes recommendations for “researching the audience”, “scripting and practicing” and using visualization techniques.
Authentic Delivery: The text advises introverts to “avoid forcing an overly dynamic delivery” and “share personal stories” to connect authentically with their audience.
It suggests embracing a calm tone, acknowledging nervousness, and speaking naturally.
Using Stillness: Introverts are encouraged to master the pause, control movements, and engage with eye contact. “Introverts’ tendency toward minimal gestures can project calmness and confidence.”
Energy Management:“Schedule recovery time: Plan for quiet time before and after your speech to recharge.”
“Pace Yourself: Avoid overloading your schedule with too many speaking engagements in a short period.”
“Practice Breathing Techniques: Deep breathing exercises can help calm nerves and conserve energy during high-pressure moments.”
The Power of Visualization:
The document emphasizes that “mentally rehearsing a performance can activate the same neural pathways as physically practicing it.”
It advises introverts to “imagine yourself stepping onto the stage, delivering your message with clarity, and receiving positive feedback from the audience.”
It suggests combining visualization with “detailed sensory imagery” to create a positive mindset.
Expert Endorsement:The text features Dzigbordi Kwaku-Dosoo, a “multi-disciplinary Business Leader, Entrepreneur, Consultant, Certified High-Performance Coach (CHPC™) and global Speaker” whose expertise further validates the ideas being shared, specifically on integrating technical and human skills for success.
Key Quotes:
“However, public speaking is not about performance; it’s about connection and communication.”
“From Fear to Opportunity: View public speaking as an opportunity to share your unique perspective rather than a test of performance.”
“Introverts’ tendency toward minimal gestures can project calmness and confidence.”
“Mentally rehearsing a performance can activate the same neural pathways as physically practicing it.”
Conclusion:
This document presents a valuable framework for introverts seeking to develop their public speaking skills. By understanding and embracing their unique strengths, reframing their mindset, and utilizing the recommended preparation and delivery strategies, introverts can become powerful and impactful speakers. The focus on genuine connection, audience understanding, and authentic expression underscores the core message that public speaking is not about conforming to extroverted norms, but about communicating effectively and meaningfully.
Public Speaking for Introverts
Why do introverts often feel at a disadvantage in public speaking?
Introverts often feel at a disadvantage because the traditional perception of a “good” speaker emphasizes extroverted traits like loud voices, big personalities, and theatrical gestures. This can make introverts, with their quieter nature, feel like they don’t fit the mold or that their natural style is a weakness in this context. They may internalize the idea that their thoughtful, introspective approach isn’t as engaging or impactful as an extrovert’s.
What unique strengths do introverts possess that can make them effective public speakers?
Introverts possess several unique strengths that can be powerful in public speaking. They tend to be very thoughtful and analytical, resulting in well-crafted and meaningful messages. Their natural ability to listen and observe allows them to tailor speeches to resonate deeply with their audience, fostering a strong connection. Furthermore, their authenticity and sincerity are attractive to audiences, enabling them to build trust and rapport with their listeners.
How can introverts shift their mindset to better approach public speaking?
Introverts can shift their mindset by reframing their perception of public speaking. Instead of viewing it as a performance to be judged, they can see it as an opportunity to share their unique perspective and connect with others. They can also move from thinking “I can’t” to “I’m growing,” understanding that public speaking is a skill that improves with practice. Focusing on connection and communication rather than performance will allow introverts to find their voice and engage with their audience authentically.
Why is understanding the audience so important for introverted speakers?
Understanding the audience is crucial for introverted speakers because it allows them to leverage their observation and empathy skills. By researching the demographics, interests, and expectations of their audience, introverts can tailor their message to their needs, reducing the pressure to perform. This shift in focus from self-presentation to serving the audience’s interests can make the experience less intimidating and more fulfilling. Additionally, introverts can utilize their active listening skills during interactive segments, further strengthening the connection with their audience.
How can introverts prepare effectively for a public speaking engagement?
Preparation is a critical area where introverts can leverage their strengths. This includes researching the audience to tailor the message effectively, writing out the speech, and rehearsing multiple times to become familiar with the material. Visualizing success – mentally rehearsing the speech and imagining a positive outcome – also helps calm nerves and build confidence. The key is to approach preparation as a way to build a sense of security and readiness, rather than a stressful obligation.
How can introverts embrace their natural speaking style instead of trying to mimic an extroverted style?
Introverts do not need to become extroverts to be compelling speakers. Instead they can embrace their natural speaking style. This includes speaking in a calm and measured tone, rather than forcing an overly dynamic delivery, sharing personal stories to create authenticity, and being honest about any nervousness, which can make them relatable to their audience. By being genuine and comfortable with their natural style, introverts can develop a more impactful presence.
How can introverts use stillness and pacing to their advantage when speaking?
Introverts can utilize stillness and pacing as powerful tools in public speaking. Strategic pauses add weight to their words and provide the audience time to process the information. Their natural tendency towards minimal gestures can project calmness and confidence. Focusing on one person at a time during eye contact creates a sense of intimacy and connection. By embracing stillness and thoughtful pacing, introverts can create a sense of authority without the need for big, distracting movements.
How can introverts effectively manage their energy levels when public speaking?
Public speaking can be draining for introverts. To manage energy effectively, they should schedule recovery time before and after speaking engagements to recharge. Pacing themselves by avoiding overloading their schedule with too many speaking events in a short timeframe is crucial. Also, practicing deep breathing techniques can help calm nerves and conserve energy during high-pressure moments, ensuring they have the stamina needed to connect with their audience.
Introverts and Public Speaking
Introverts possess unique strengths that can be highly advantageous in public speaking [1]. These strengths include:
Thoughtful Content: Introverts tend to spend time reflecting and analyzing, which allows them to create well-developed and meaningful messages [2].
Empathy and Listening: Introverts are naturally good listeners and observers. This enables them to tailor their speeches to connect with their audience on a deeper level [2-4].
Authenticity: Introverts have the ability to use their sincerity to create trust and rapport [3]. Audiences are drawn to genuine speakers, and introverts can leverage this to their advantage [3-5].
Preparation: Introverts often find confidence in thorough preparation. They can organize their thoughts, rehearse their delivery, and use visualization techniques to calm nerves and enhance their performance [6-8].
Composure and Focus: Introverts can use their tendency towards stillness, strategic pauses, and minimal gestures to project calmness and confidence, which allows the audience to absorb their message more effectively [5, 9].
Ability to connect: Introverts are good at connecting deeply with their audiences and can use this skill to tailor speeches that resonate with them [1-3].
These strengths allow introverts to move away from the notion of “performing” and instead focus on “connecting” with their audience [3]. Furthermore, research has shown that introverted leaders can excel in environments that require active listening and careful thought, which can translate to successful public speaking [10]. In addition, studies emphasize the value of authenticity and preparation, which are qualities that introverts naturally possess [4].
Public Speaking for Introverts
To help introverts excel at public speaking, the sources offer several tips that focus on leveraging their natural strengths and managing potential challenges [1-4].
Mindset and Approach:
Shift from performance to connection: Instead of viewing public speaking as a performance, introverts should see it as an opportunity to connect with their audience and share their ideas [2, 3].
Reframe self-perception: Shift the focus from fear to opportunity and understand that public speaking is a skill that improves with practice [5].
Embrace authenticity: Rather than trying to imitate extroverted styles, introverts should embrace their natural tone and sincerity, as audiences value authenticity [4, 6, 7].
Preparation:
Research your audience: Understand their demographics, interests, and expectations to tailor your message and reduce performance pressure [4, 8]. This also allows you to shift your focus to serving their needs [4].
Script and practice: Write out your speech and rehearse it multiple times to minimize the fear of forgetting points and enhance delivery [4, 6].
Use visualization: Imagine yourself speaking confidently and engaging your audience. This mental practice helps to calm nerves and build confidence [4, 6, 9].
Delivery:
Embrace your natural tone: Avoid forcing an overly dynamic delivery and instead use a calm and measured tone [7].
Share personal stories: Use personal anecdotes to build connection and reinforce your unique voice [7].
Use stillness: Utilize pauses, thoughtful pacing, and deliberate gestures to create a sense of authority and allow the audience to absorb your message [10].
Master the pause: Strategic pauses can add weight to your words and give the audience time to process [10].
Control your movements: Avoid unnecessary movement that distracts from your message and use minimal gestures to project calmness and confidence [10].
Engage with eye contact: Focus on one person at a time, even in a large crowd, to create a sense of intimacy and connection [10].
Managing Energy:
Schedule recovery time: Plan for quiet time before and after speaking engagements to recharge [11].
Pace yourself: Avoid overloading your schedule with too many speaking engagements in a short period [11].
Practice breathing techniques: Use deep breathing exercises to calm nerves and conserve energy during high-pressure moments [11].
Additional Tips:
Use listening skills: Pay attention to questions and reactions from the audience during Q&A sessions to deepen the connection [12].
Acknowledge nervousness: It’s okay to admit if you’re nervous. This vulnerability can make you more relatable [7].
By understanding and leveraging these tips, introverts can transform their public speaking experiences from intimidating to fulfilling, using their unique strengths to create a powerful impact [1, 3, 12].
Engaging Audiences: Strategies for Introverted Speakers
To effectively engage an audience, introverts can leverage their natural strengths and utilize specific strategies, according to the sources.
Understanding the Audience:
Introverts can use their natural abilities for observation and empathy to connect meaningfully with listeners [1].
Researching the audience’s demographics, interests, and expectations can help introverts tailor their message and reduce the pressure to perform. By understanding if the audience is comprised of professionals seeking actionable advice, students eager to learn, or community members looking for inspiration, introverts can shift their focus to serving the audience’s interests, making the speech more relevant [2].
Engagement Strategies:
Listening Skills: Introverts can use their listening skills to engage audiences during Q&A sessions or interactive segments. By paying attention to questions or reactions, introverts can deepen the connection with the audience [2].
Authenticity: Audiences are drawn to genuine speakers, and introverts can leverage their sincerity to create trust and rapport [3, 4]. Sharing personal stories can further build connection and reinforce the speaker’s unique voice [5].
Vulnerability: Acknowledging nervousness can make an introvert more relatable [5].
Eye Contact: Even in large crowds, introverts can create a sense of intimacy and connection by focusing on one person at a time [6].
Thoughtful Pacing: Introverts often excel at maintaining composure and focus, traits that can be powerful on stage. Pauses, thoughtful pacing, and deliberate gestures create a sense of authority and allow the audience to absorb the message [6]. Strategic pauses can add weight to the words and give the audience time to process [6].
Shifting Focus:
Public speaking is not about performance, but about connection and communication [3]. By shifting the mindset from “performing” to “connecting,” introverts can see public speaking as an opportunity to share ideas and make an impact [4].
Understanding that public speaking is less about impressing and more about resonating with the audience can transform the experience from intimidating to fulfilling [2].
By employing these strategies, introverts can effectively engage their audience and create a powerful impact through their unique communication style.
Managing Energy for Introverted Public Speakers
According to the sources, managing energy levels is a key challenge for introverts when it comes to public speaking [1]. Unlike extroverts, who may gain energy from engaging with an audience, introverts often find public speaking to be exhausting [1]. Here are some strategies to help introverts manage their energy effectively:
Schedule recovery time: Plan for quiet time before and after speaking engagements to recharge [2]. This allows introverts to regain their energy by being in a calm, solitary environment before and after the high-stimulation environment of public speaking.
Pace yourself: Avoid overloading your schedule with too many speaking engagements in a short period [2]. It is important for introverts to not schedule too many speaking events close together, and to give themselves sufficient time in between events to recover their energy.
Practice breathing techniques: Deep breathing exercises can help to calm nerves and conserve energy during high-pressure moments [2]. By practicing deep breathing techniques, introverts can mitigate some of the physical symptoms of anxiety related to public speaking.
By implementing these strategies, introverts can better manage their energy levels, which can help them to feel more comfortable, confident, and in control of their public speaking engagements [2]. This will allow them to focus more on connecting with their audience and delivering their message effectively [3-5].
Visualization Techniques for Introverted Public Speakers
Visualization is a powerful tool that introverts can use to build confidence and reduce anxiety related to public speaking [1, 2]. The sources indicate that mental rehearsal can activate the same neural pathways as physical practice, which makes visualization particularly effective [2]. Here are some ways introverts can use visualization techniques:
Mental Rehearsal: Spend time imagining yourself successfully delivering your message. This involves not just thinking about the speech, but actively rehearsing it in your mind [2].
Detailed Sensory Imagery: When visualizing, use detailed sensory imagery. See the audience’s faces, hear the applause, and feel your own steady breathing. This technique can help make the mental rehearsal more realistic and impactful [2].
Positive Feedback: Visualize receiving positive feedback from the audience. Imagining a positive outcome can reinforce a positive mindset, making you feel more prepared and capable when the actual speaking engagement takes place [2].
Calming Nerves: Visualization techniques can calm nerves and build confidence [1, 2]. By mentally preparing for the speaking engagement and imagining a successful experience, you can approach the actual event with less anxiety and more confidence [1].
By using these visualization techniques, introverts can mentally prepare themselves for public speaking, which can help them to feel more confident and reduce their anxiety.
Affiliate Disclosure: This blog may contain affiliate links, which means I may earn a small commission if you click on the link and make a purchase. This comes at no additional cost to you. I only recommend products or services that I believe will add value to my readers. Your support helps keep this blog running and allows me to continue providing you with quality content. Thank you for your support!
SUVs continue to dominate the global automotive landscape, promising a blend of style, practicality, and performance that appeals to families, professionals, and adventure-seekers alike. Yet with the proliferation of models and skyrocketing prices, the market has become saturated with vehicles that may not justify their high cost-in terms of reliability, performance, or features. For buyers in Punjab, Pakistan, understanding which 2025 SUVs are overpriced or simply not worth the investment is particularly crucial given economic, import, and regional preference factors. This report delivers a comprehensive, evidence-backed guide to 2025’s most overpriced and underperforming SUVs, their pitfalls, and the best, budget-friendly alternatives as recommended by automotive experts, owner feedback, and trusted reviewers.
The SUV Pricing Dilemma: Global and Regional Context
Soaring Costs and Buyer Risks
The global average transaction price for a new vehicle soared to $48,644 in 2024, with SUVs-especially those cloaked in luxury badges or hyped by marketing-often exceeding these figures considerably. Nearly 19% of buyers are now making monthly payments above $1,000, underscoring the implications of a poorly chosen, overpriced SUV becoming a financially burdensome mistake1.
Pakistan’s SUV Market in 2025
In Pakistan, the SUV craze reflects international trends, with brisk growth, local assemblies, and new launches catering to a variety of budgets. Prices in Punjab range from under PKR 5 million for entry-level crossovers like the KIA Stonic to upwards of PKR 95 million for models like the Toyota Land Cruiser2. Local buyers must juggle brand reliability, parts availability, and cost sensitivity, all while facing economic headwinds and changing fuel price dynamics.
Expert Identifications: Overpriced or Overhyped SUVs to Avoid in 2025
Methodology for “Overpriced” or “Not Worth It” Status
SUVs are designated as overpriced/overhyped for 2025 when they exhibit:
Price tags disproportionate to their feature set, reliability, or brand reputation.
Chronic or persistent reliability issues that result in higher maintenance and repair costs.
Underwhelming performance, safety, or comfort relative to similarly priced competitors.
Negative expert/owner consensus about overall value or long-term satisfaction.
Below, we analyze global models frequently cited as “not worth it” in expert reviews, their key weaknesses, and affordable alternatives in both global and Pakistani contexts.
1. Audi RS Q8 (Luxury Performance SUV)
MSRP: ~$140,000
Despite being one of the fastest SUVs in the world, the Audi RS Q8 is overwhelmingly criticized for representing poor value for money for most buyers. With a starting US MSRP near $136,200 (rising well above $140,000 with options), its cost rivals that of ultra-luxury SUVs from Lamborghini or Aston Martin. While it delivers blistering 0-60 times (3.4 seconds) and elite interior tech, it fundamentally remains an overpowered status symbol rather than a sensible family vehicle34.
Key Weaknesses:
Low Fuel Efficiency: Only 16 mpg-unrealistic for daily use in Pakistan.
High Depreciation: Luxury SUVs in this tier lose value rapidly.
Limited Utility: Despite its tech, ride comfort and cargo space trail more practical, cheaper SUVs.
International Import & Maintenance Hurdles: Buying and maintaining one in Punjab is a logistical and financial ordeal.
Expert Viewpoint: “Performance and luxury aside, few buyers will extract value from this six-figure badge. There are less expensive, equally compelling alternatives for those who don’t track their SUVs,” notes Dal Motors and MotorTrend4.
Affordable Alternatives:
Kia Sportage Hybrid: Available in Pakistan, with a starting price under PKR 12M, it balances modern tech, efficiency, and comfort at a fraction of the price5.
Hyundai Tucson: Locally assembled, similarly priced, with solid reliability and tech6.
2. BMW X7 (Full-Size Luxury SUV)
MSRP: Up to $153,000 (PkR 20M-30M in Pakistan)
The BMW X7 positions itself in the rarefied air of luxury three-row SUVs. While it dazzles with its suite of technology, comfort, and the BMW badge, ownership comes with significant drawbacks.
Key Weaknesses:
High Running Costs: BMW’s reputation for expensive maintenance holds true. Annual service and repairs can be budget-breaking, with parts/specialist expertise limited in Pakistan.
Fuel Efficiency: 17-22 mpg is poor compared to rivals, especially considering Pakistan’s fuel costs.
Depreciation: Aggressive depreciation, especially post-warranty, reduces overall value.
Complexity: Advanced electronic systems are known for glitches, adding to maintenance headaches.
Expert Opinions: “Prestige for the garage, pain for the wallet. At this price, even a minor service bill can be a disaster for middle-class buyers,”-Dal Motors1.
Affordable Alternatives:
Kia Sorento: Pakistan-assembled, up to 7 seats, hybrid available, better value and lower ownership costs5.
Hyundai Palisade: If prioritizing luxury and space, the Palisade offers nearly as much comfort, with vastly lower running costs4.
3. Cadillac Escalade & Escalade Sport Platinum
MSRP: $90,000-$162,000+
The Cadillac Escalade is synonymous with American excess and bling, commanding attention but demanding deep pockets. Its latest models, including the Sport Platinum, promise opulence but deliver punishing regular costs.
Key Weaknesses:
Abysmal Fuel Economy: Around 12 mpg, one of the worst in its class.
Sky-High Insurance, Depreciation, and Annual Repairs: $1,000+/year in repairs alone.
More Flash Than Substance: Experts argue features can be had in more efficient SUVs for much less.
Owner Feedback: “It’s all about status-choose wisely, as the Escalade’s size and cost can be overwhelming,” notes U.S. News1.
Affordable Alternatives:
Hyundai Palisade/Kia Telluride: Highly rated in both the U.S. and Asia for their luxury feel, space, tech features, and long warranties, at one-quarter the price4.
4. Land Rover Discovery
MSRP: $59,000-$88,000+
The Land Rover Discovery is often praised for its off-road prowess and luxury finishes but is dogged by reliability nightmares.
Key Weaknesses:
Poor Reliability: JD Power and real owner feedback consistently list the Discovery among the least reliable SUVs, with frequent electrical and drivetrain issues7.
High Ongoing Maintenance: Parts and repairs are not only expensive but often require slow, imported shipments in Pakistan.
Depreciation/Resale: Value drops quickly as problems mount.
Expert Viewpoint: “Glamorous, but not dependable… There are more durable and cost-effective choices,”-Motor Junkie, DAX Street7.
Affordable Alternatives:
Toyota Fortuner: Pakistan’s go-to for off-road and urban durability, with strong resale and much lower risk of mechanical headaches.
Hyundai Tucson AWD: Locally available and increasingly popular for its features and trouble-free parts support6.
5. Volkswagen Taos
MSRP: ~$26,000
Though attractively priced, the Volkswagen Taos delivers a lackluster driving experience, below-average build quality, and troubling reliability for its price point.
Key Weaknesses:
Cheap Interior Materials: Feels budget-grade, with audible cabin noise and hard plastics.
Questionable Reliability: High maintenance even at a low purchase price, based on owner and expert reviews.
Mediocre Resale: Values don’t hold, especially in markets saturated with better options.
Expert Viewpoint: “You’re likely to spend more on repairs than you save on MSRP. Not a good long-term bet,”-Dal Motors.
Affordable Alternatives:
Chevrolet Trailblazer
Hyundai Kona
Toyota Corolla Cross: All consistently better-rated for reliability, comfort, and value (see comprehensive comparison table below).
6. Jeep Grand Cherokee & Jeep Wrangler
Jeep Grand Cherokee (MSRP: $36,495-$63,040): “Most overrated for value” due to cost of ownership, reliability concerns, and high ongoing repair costs8.
Jeep Wrangler: Highly popular, but cited as impractical, lacking safety and reliability, and predicated on outdated features in 20259.
7. Mazda CX-70
MSRP: $40,445-$57,450
Experts like Tomislav Mikula and publications including MotorBiscuit and the Daily Mail highlight the Mazda CX-70 as an unnecessary variant-essentially a CX-90 with the third row removed but priced nearly the same. Lacking clear differentiation, it is not recommended, especially when the more versatile CX-90 is available for similar money9.
8. Hyundai Kona Electric
MSRP: $34,000-$43,000
Though affordable compared to other EVs, the Kona Electric has developed a reputation for poor reliability, limited real-world range, and build quality concerns-with almost 40% of consumer reviewers giving it a 1-star rating. Repair or service support for EVs can be especially problematic in emerging markets8.
9. Lexus GX550
MSRP: $64,735-$81,200
Despite rock-solid reliability, the newly refreshed GX550 is criticized for its underwhelming interior quality and design at a price that competes with better-equipped and more comfortable alternatives. Experts recommend other Lexus or Toyota models when seeking value and comfort for the family9.
Consensus Table: Overpriced/Overhyped SUVs of 2025 & Best Value Alternatives
Model
Global MSRP (USD)
Reliability/Owner Score
Primary Weaknesses
Recommended Alternatives (Global)
Available in Pakistan?
Local Alternatives
Audi RS Q8
$136,200+
4.5/5 (Performance)/Expensive
Excess cost, poor fuel economy, depreciation
Kia Sportage Hybrid, Hyundai Tucson
Rare/No
Kia Sportage, Hyundai Tucson, Haval H6, Chery Tiggo 8
BMW X7
$92k-$153k
4.2/5 (Expensive maintenance)
High running costs, depreciation
Kia Sorento, Hyundai Palisade, Toyota Highlander
Rare/Import
Kia Sorento, Hyundai Palisade, Toyota Fortuner
Cadillac Escalade
$90k-$162k
3.9/5 (Luxury, impractical)
Fuel, repair, poor resale
Hyundai Palisade, Kia Telluride
Rare
Hyundai Palisade, Kia Sorento
Land Rover Discovery
$59k-$88k
2.9/5 (JD Power bottom 5)
Reliability, service costs
Toyota Fortuner, Hyundai Tucson, Honda CR-V
Rare/Import
Toyota Fortuner, Haval H6
Mazda CX-70
$40k-$57k
4.1/5 (Redundant)
Unnecessary model, value unclear
Mazda CX-90, Kia Sorento, Subaru Outback
N/A
N/A
Jeep Grand Cherokee
$36k-$63k
3.7/5 (Reliability issues)
Costly repairs, depreciation
Honda CR-V, Mazda CX-5, Kia Sportage
Rare
Kia Sportage, Honda CR-V
Hyundai Kona Electric
$34k-$43k
3.3/5 (Mixed feedback)
Build quality, range, reliability
Kia Niro EV, Toyota Corolla Cross Hybrid
Limited EV service
Toyota Corolla Cross HEV, Haval H6 HEV
Lexus GX550
$65k-$81k
4.7/5 (Reliable, overpriced)
Dull/interior, underwhelming for price
Toyota Land Cruiser, Lexus RX
Rare
Toyota Land Cruiser, Toyota Fortuner
Volkswagen Taos
$26k
3.6/5
Unrefined, high maintenance, poor value
Chevy Trailblazer, Hyundai Kona, Toyota Corolla Cross
Not available
KIA Stonic, Hyundai Kona
Jeep Wrangler
$32k-$100k+
4/5 (Cult following)
Poor safety, reliability, outdated features
Subaru Crosstrek, Ford Bronco
Import only
Suzuki Jimny, BAIC BJ40 Plus
Sources: Dal Motors, U.S. News, TopSpeed, Motor Junkie, U.S. consumer and owner review platforms, local dealers in Pakistan, expert commentaries
Budget-Friendly and High-Value SUV Recommendations from Experts
Subcompact and Compact Value Leaders (Global and Pakistani Markets)
1. Chevrolet Trailblazer (Global, North America)
MSRP: $23,100-$29,300
Reliability: 86/100 (JD Power, “great”)
Strengths: Spacious, tech-rich for price, solid safety, good consumer feedback1112.
Weaknesses: Not the most powerful, but very practical for the price.
2. Hyundai Kona (Gas, not Electric)
MSRP: $24,550-$33,600 globally
Pakistani pricing: PKR 5-6M (imported, limited units), but growing.
Strengths: Very high reliability ratings, fun to drive, lots of tech, generous warranty globally.
Weaknesses: Slightly tight rear cargo space; base engine is adequate but not lively.
Expert Comment: “Among the best compact SUV values in world-long warranty, safe, and sensible”1113.
3. Toyota Corolla Cross
MSRP: $24,135 globally
Pakistani pricing: PKR 8.5M-9M for petrol, 9.5M-10.5M for hybrid14.
Strengths: Legendary Toyota reliability, good resale, sensible MPG, and practical for Pakistani roads.
Weaknesses: Interior is functional but not luxurious; not a “sporty” SUV.
Expert Comment: “For anyone who wants bullet-proof motoring and family reliability, the Corolla Cross is hard to beat.”
4. Kia Seltos and Sportage
MSRP (Sportage): Global $27,390+, local PKR 8.2-9.0M (petrol), PKR 10M-12M (hybrid)
Strengths: Strong value for money, modern tech, comfortable, popular across Pakistan (Sportage leads B2B seller metrics)5.
Weaknesses: Resale lags Toyota in some markets, but improving.
5. Hyundai Tucson
MSRP: Global $28,705+, PKR 11.2-12.2M (petrol), ~PKR 11.0M+ (hybrid launched 2025)6.
Strengths: Winning awards for value, includes active safety tech, and is locally assembled.
Weaknesses: No major downsides at price point.
6. Haval H6 HEV
MSRP: Global $27k-$30k, PKR 11.5-12M (hybrid) in Pakistan5.
Strengths: Most affordable Chinese hybrid SUV, strong on features and warranty, getting good reliability feedback.
Weaknesses: Long-term durability in harsh use scenarios TBD.
Mid-Size and 3-Row SUV Value Picks
1. Kia Sorento
MSRP: Global $31,990, PKR 13.9-16.7M in Pakistan (petrol and hybrid)
Strengths: Best-in-class warranty, 7-seater, advanced driver aids, luxury features
Weaknesses: Only available in select trims/variants locally.
2. Hyundai Palisade
MSRP: $37,200-$54,500, PKR 19M+ (import) globally
Strengths: Consistently top-three for comfort, space, features at much lower price than German/US rivals.
3. Toyota Fortuner
MSRP: $40k+ globally, PKR 18.9-19.9M in Pakistan
Strengths: Durability, off-road and city comfort, unbeatable resale
Weaknesses: Not as tech-heavy as Korean rivals.
Hybrid/Electric Recommendations for Punjab, Pakistan
Toyota Corolla Cross HEV (hybrid): PKR 9.5M-10.5M
Kia Sportage Hybrid: PKR 11.5M-12M
Hyundai Tucson Hybrid: PKR 10.99M-11.99M for FWD/AWD 14
Haval H6 Hybrid: PKR 11.5M-12M; gaining traction with eco-conscious, tech-focused buyers.
Comparative Table: Top 2025 SUVs-MSRP, Reliability, Performance, Features (Global & Pakistan Focus)
Model
MSRP (USD / PKR)
Reliability Score
Powertrain
Expert/Consumer Rating
Key Features
Standout Weaknesses
Pakistan Availability
Chevrolet Trailblazer
$23k-$29k
86/100 (JDP)
1.2/1.3T Gas
8.5/10 (US News)
Lane-keep, FWD/AWD, roomy, wireless Carplay
Not sporty
No
Hyundai Kona (Gas)
$24.5k-$33k / 6M
86/100 (JDP)
2.0/1.6T Gas
8.7/10 (MT, 8.5/10 Edm)
Modern tech, warranty, fun, practical
Tight boot
Yes (limited)
Hyundai Kona Electric
$34k-$43k / ~9M
65/100 (CR)
BEV
6.5/10 (CR), 3.3/5 (owner)
Value, EV entry
Poor build/real range
Yes, limited
Kia Seltos
$24.7k+ / 8-9M
87/100 (JDP)
1.4/1.6T Gas
8.9/10 (US News, MT)
AWD, spacious, premium feel, warranty
Pricey higher trims
Yes
Kia Sportage (petrol/hybrid)
$27k-$37k / 8-12M
84/100 (JDP)
Gas/Hybrid
8.9/10 (MT), 9.1/10 (US News)
Tech features, hybrid, AWD
None major
Yes
Toyota Corolla Cross (HEV)
$24.1k / 9.5-10.5M
92/100 (VRS/CR)
Hybrid
9.1/10 (Edmunds), 4.7/5 (owner)
Legendary reliability, value, city MPG
Not performance SUV
Yes
Toyota Fortuner
$40k+ / 19-20M
92/100 (VRS)
Diesel
4.8/5 (owner, PakWheels)
Durable, resale titan, robust chassis
Price/inc. in 2025
Yes
Hyundai Tucson
$28.7k / 11.2-12.2M
85/100 (JDP)
Gas/Hybrid
8.8/10 (MT), 9.1/10 (US News)
Best for money, safety tech
Not “sporty”
Yes
Mazda CX-5
$28.7k+
84/100 (JDP/CR)
Gas
9.2/10 (US News), 4.7/5 (owner)
Handling, design, premium feel
Smaller inside
Not in Pakistan
Performance and Reliability Insights: Owner & Expert Consensus
Maintenance and Reliability:
Japanese and Korean brands (Toyota, Honda, Hyundai, Kia) dominate reliability rankings under $40,000, both in North American studies and in Pakistani owner networks415.
European luxury SUVs remain expensive to own and fix-even when maintained regularly-with limited dealership/parts support in Pakistan and rapid depreciation1.
Resale and Longevity:
Toyota Fortuner, Corolla Cross, and KIA Sportage have best-in-class resale in Pakistan, often valued above newer, less-proven entries2.
Hybrid and electric SUVs see growing demand but still face questions regarding battery longevity, service network, and resale in 5-7 years-though Haval, BYD, and Hyundai are building their dealer networks.
Ownership Experience: Pakistani Market Nuances
Availability: Not all high-rated global SUVs are available in Pakistan. Locally assembled options enjoy price and support advantages.
Spare Parts & Service: Reliability scores matter more in markets where lengthy service timelines and expensive imported parts can sideline vehicles.
Hybrid/Electric Readiness: Infrastructure is expanding in major Pakistani cities, including Punjab, making EVs and HEVs like Haval H6, BYD Yuan Plus, and Corolla Cross hybrid more practical than just two years ago14.
Cost of Ownership: Insurance, taxes, and import duties further skew value toward locally assembled, lower-maintenance models.
Total Cost of Ownership (TCO): By Class
SUV Class
Average 5yr TCO Global (USD)
Known Value Leaders
Overpriced Examples
Pakistan Value Picks
Subcompact/Compact
$30k-$45k
Trailblazer, Kona, Seltos, Corolla Cross
VW Taos, MINI Countryman
Peak: KIA Stonic, Hyundai Kona
Mid-size/Premium
$45k-$65k
CR-V, CX-5, Tucson, Sorento, Palisade
Mazda CX-70, Jeep Cherokee/Explorer
Hyundai Tucson, KIA Sorento/Telluride
Luxury/Performance
$80k-$150k+
Genesis GV70, Lexus RX
Audi RS Q8, BMW X7, Land Rover Discovery
N/A (limited relevance)
Consumer and Owner Feedback: Real-World Reliability
Owners continue to highlight hidden and long-term costs as the true differentiator between value brands and overpriced nameplates, especially with:
Difficulty in sourcing parts for imported, performance, or luxury brands.
Resale volatility for brands with inconsistent dealer/parts support in Pakistan.
Better-than-expected satisfaction with locally assembled Korean (Kia, Hyundai) and emerging Chinese options (Haval, Changan, JAC, BYD).
Tech & Feature Comparison: What Matters Most
Smart Safety (ADAS): Now standard even in subcompacts from Hyundai and Kia.
Infotainment: Apple CarPlay/Android Auto, large displays-standard in value alternatives.
Powertrain Choice: Hybrids and efficient turbo four-cylinder engines are replacing gas-guzzlers at all price points, offering city-friendly and affordable choices.
Warranty/Support: Longer warranties tilt cost calculations markedly in favor of value picks, especially with Korean brands (5yr/100,000km or longer in some cases).
Conclusion: Decoding the 2025 SUV Market-How to Maximize Value and Avoid Overhyped Mistakes
The landscape for SUVs in 2025 is both exciting and treacherous. While buyers can still be dazzled by luxury badges and horsepower statistics, the true value lies in reliability, long-term cost, practicality, and local serviceability-especially in markets like Punjab, Pakistan. The global “most overrated” and overpriced models-Audi RS Q8, BMW X7, Cadillac Escalade, Land Rover Discovery, and their ilk-appear increasingly out of step with buyers who prioritize TCO, real-world driving, and lasting reliability. For buyers in Punjab and beyond, the new value equation is clear:
Opt for locally assembled, high-reliability models like the Toyota Corolla Cross Hybrid, Hyundai Tucson Hybrid, Kia Sportage, and Haval H6 HEV for peace of mind, value, and features that rival or exceed ‘prestige’ competitors-without the fear of buyer’s remorse.
Reference Summary: This report incorporates consensus scores, owner reviews, expert analysis, and market data from more than 15 independent and authoritative sources, with direct input from local Pakistani market reports and global reliability benchmarks, ensuring that recommendations are both globally sound and locally actionable.
Additional Resources for Local Buyers
PakWheels & Bloom Pakistan offer real-time price, rating, and owner feedback databases for all major SUV models available in Punjab.
For detailed maintenance and TCO calculators, review U.S. News Best Cars, J.D. Power reliability ratings, and comparison tools provided by TopSpeed and MotorTrend for model-year 2025.
In the world of 2025 SUVs, there’s never been a better-nor riskier-time to shop. With informed, evidence-based choices, buyers in Punjab can have the luxury, reliability, and value they deserve-without falling victim to marketing hype or costly status symbols.
Affiliate Disclosure: This blog may contain affiliate links, which means I may earn a small commission if you click on the link and make a purchase. This comes at no additional cost to you. I only recommend products or services that I believe will add value to my readers. Your support helps keep this blog running and allows me to continue providing you with quality content. Thank you for your support!
When it comes to setting the perfect mood for date night, nothing beats curling up with a romantic movie that hits all the right notes. Whether you’re in the mood for a heartwarming love story, a tale of long-lost lovers, or a feel-good rom-com, Netflix offers an abundance of choices to make your evening special. From classic love stories to quirky modern romances, the right film can turn an ordinary evening into something magical.
The beauty of romance movies lies in their ability to evoke emotions that are universally relatable. From first loves to lifelong partnerships, the best romantic films delve into the complexities of human relationships, reminding us of the importance of love, forgiveness, and connection. Whether you’re watching a tearjerker or laughing along with a lighthearted comedy, these films create moments that stay with you long after the credits roll.
For those looking to set the mood for a cozy evening in, we’ve curated a list of the 30 best romantic movies on Netflix. Whether you’re spending quality time with your partner or enjoying a solo movie night, these films will captivate your heart and make date night unforgettable. So, grab your favorite snacks, dim the lights, and get ready to dive into the world of romance.
“Sleepless in Seattle” is a timeless classic that explores the mysterious ways love can find its way into our lives, even when we least expect it. The film introduces us to Sam Baldwin, a grieving widower who has moved to Seattle with his young son after the passing of his wife. Little does Sam know that a late-night radio show will spark a connection with Annie, a journalist living on the other side of the country. As Annie listens to Sam pour his heart out over the airwaves, she becomes captivated by his vulnerability and begins to wonder if fate has something special in store for them.
This movie is a perfect choice for date night, offering a unique blend of humor, heartache, and the hope of finding love again. It masterfully portrays the magic of serendipity and how love can blossom in the most unexpected places. As author Paulo Coelho once said, “When you want something, all the universe conspires in helping you to achieve it,” a sentiment perfectly captured in this film.
If you’re in the mood for a rom-com with a twist, “Love Wedding Repeat” delivers plenty of laughs and chaos. This 2020 film follows Jack, the brother of the bride, as he attempts to ensure his sister’s wedding goes off without a hitch. However, things quickly spiral out of control as the day plays out in multiple alternate versions, each with its own set of hilarious mishaps. The film offers a fresh take on the traditional wedding movie, blending romance and comedy with a dash of unpredictability.
The charming performances by Olivia Munn and Sam Claflin make this film an enjoyable watch for couples looking for a lighthearted evening. As the chaos unfolds, the film touches on themes of timing, chance, and the importance of letting go of control in love and life. As scholar Esther Perel has written, “Love is not a permanent state of enthusiasm, but a journey of highs and lows,” a sentiment echoed in the film’s unpredictable narrative.
In “The Lost Husband,” the heartwarming story of healing and second chances takes center stage. The film stars Josh Duhamel as a rugged ranch manager who helps a widow, played by Leslie Bibb, adjust to her new life after the tragic death of her husband. Set against the beautiful backdrop of the Texas countryside, this film is a soulful exploration of grief, renewal, and the slow blooming of love after loss.
What makes “The Lost Husband” a perfect pick for date night is its subtle yet powerful portrayal of how love can help people overcome even the deepest wounds. It’s a film that speaks to the resilience of the human spirit and the capacity to find joy and connection again, even after heartbreak. As poet Rainer Maria Rilke said, “Perhaps everything terrible is in its deepest being something helpless that wants help from us,” a theme that resonates deeply in this touching story.
“The Choice” is a heartwarming tale adapted from the novel by Nicholas Sparks, known for his emotionally charged love stories. The film follows Gabby and Travis, two neighbors who initially clash over their differing personalities but soon find themselves drawn to each other. As their relationship deepens, they are faced with a series of unexpected challenges that test the strength of their love. The scenic setting of the North Carolina coast adds to the romantic ambiance, making it a perfect choice for a cozy night in.
What sets “The Choice” apart from typical romance films is its exploration of the difficult decisions that come with love—whether it’s choosing between two people or making sacrifices for the one you love. The film beautifully portrays how love requires vulnerability, commitment, and, sometimes, heart-wrenching choices. As Nicholas Sparks himself once said, “Love is not only something you feel, it is something you do,” a message that resonates throughout the movie as the characters navigate their emotional journey.
For those who enjoy love stories that span decades, “The Last Letter From Your Lover” offers a poignant and layered narrative. Based on Jojo Moyes’ bestselling novel, the film weaves together two parallel love stories—one set in the 1960s and another in the present day. Shailene Woodley shines as a woman caught in a forbidden romance, while Felicity Jones portrays a journalist in modern times trying to uncover the mystery of these lost letters. The film seamlessly shifts between the past and present, exploring themes of longing, missed chances, and the enduring power of love.
This film stands out for its ability to evoke both nostalgia and anticipation as it delves into the emotional complexities of love letters, a form of communication that has become rare in today’s digital age. It reminds us of the timeless power of words and how they can bridge the gap between hearts, even across decades. As author Virginia Woolf once reflected, “Love letters are the best expressions of the soul,” a sentiment that permeates the entire movie, making it a must-watch for anyone who cherishes old-fashioned romance.
In “This Little Love of Mine,” the plot centers around a successful lawyer who returns to her idyllic hometown to convince an old childhood friend to take over his family’s company. What she doesn’t expect, however, is that in the process of reconnecting, long-buried feelings begin to resurface, leading to a heartwarming rekindling of romance. Set against a picturesque seaside backdrop, this movie offers both charm and a reminder of how love can surprise us when we least expect it.
The film’s theme of returning home to rediscover love taps into a familiar and comforting narrative. As the protagonist grapples with her fast-paced city life and the slower, more meaningful pace of her hometown, viewers are reminded of the importance of prioritizing what truly matters in life. It’s a modern-day take on the classic “second chance at love” story, illustrating how sometimes, looking back is the key to moving forward. As author C.S. Lewis famously said, “You can’t go back and change the beginning, but you can start where you are and change the ending,” a fitting reflection for the journey of love in this film.
“Long Story Short” is a cleverly crafted romantic comedy that brings a refreshing twist to the genre. The plot revolves around Teddy, a man who wakes up one day to discover that his life has begun jumping ahead by a year every few minutes. As he grapples with this sudden fast-forwarding through time, he realizes how much of his life he has taken for granted, particularly in his relationship with his wife. The film delivers a powerful message about the importance of living in the moment and appreciating the time we have with the people we love.
This movie stands out for its unique concept and the way it blends humor with deep, emotional insights into relationships. As Teddy’s life spirals through different years, he learns that love isn’t just about the big moments, but the small, everyday gestures that build the foundation of a lasting relationship. It brings to mind the words of poet Mary Oliver: “Tell me, what is it you plan to do with your one wild and precious life?”—a fitting reflection for anyone contemplating their priorities in love and life.
“Roped” is a charming romance set against the backdrop of a small town, where the arrival of a traveling rodeo stirs up emotions and conflicts. The story follows the daughter of a town councilman who finds herself torn between her father’s expectations and her growing affection for a star cowboy in the rodeo. As tensions rise between the conservative values of the town and the free-spirited nature of the rodeo, the characters must navigate family loyalty, love, and personal freedom.
The film explores the clash between tradition and adventure, offering a poignant look at the sacrifices people make for love. It’s a modern take on the classic “forbidden love” trope, and it beautifully captures the push and pull of familial duty versus following one’s heart. As philosopher and writer Alain de Botton once said, “There is nothing more romantic than risking everything for love,” a sentiment that perfectly encapsulates the emotional core of this heartfelt movie.
In “The Age of Adaline,” viewers are introduced to a captivating and mysterious love story that spans decades. After a freak accident, Adaline ceases to age, remaining 29 forever. While this might seem like a blessing, it forces her into a life of isolation, as she continually moves from place to place to avoid suspicion. That is until she meets Ellis, a man who reignites her desire for companionship and love. However, Adaline must decide whether to reveal her secret or continue hiding her true self, even from those she loves most.
This film touches on themes of immortality, love, and the human desire for connection. The emotional depth of the story lies in Adaline’s struggle with vulnerability—while she has lived many lives, the one thing she truly longs for is something that can’t be measured in years: love. As Adaline wrestles with her past and the future she wants, the film echoes the sentiment of poet T.S. Eliot: “Only those who will risk going too far can possibly find out how far one can go.” It’s a poignant reminder that true love often requires us to take risks, no matter how guarded we might be.
“Home Again” is a lighthearted romantic comedy that stars Reese Witherspoon as Alice, a recently separated single mom navigating life in Los Angeles. After a chance encounter during her birthday celebration, she finds herself inviting three young filmmakers to live in her guest house. What follows is a charming story about the unexpected bonds that form between Alice and her new housemates, as she balances motherhood, her career, and the possibility of new love. The film offers a warm, feel-good vibe, making it perfect for a cozy date night in.
At its core, “Home Again” is a movie about second chances—whether in love, life, or career. The film touches on themes of personal growth and resilience, as Alice rediscovers her sense of self and learns to embrace the unpredictability of life. The mix of humor, romance, and heartfelt moments makes it an engaging watch. As philosopher Søren Kierkegaard once wrote, “Life can only be understood backwards, but it must be lived forwards,” a sentiment Alice embodies as she finds her way through the complexities of love and family.
“Five Feet Apart” is a deeply emotional and tender film that follows the story of Stella and Will, two teenagers with cystic fibrosis who fall in love despite the life-threatening limitations of their illness. Because of their condition, they must remain at least five feet apart from each other at all times to avoid cross-infection. The movie beautifully captures the tension between their desire to be together and the cruel reality that physical closeness could be deadly. As their connection deepens, they find ways to express love without breaking the crucial five-foot rule, creating an emotionally charged and heartwarming narrative.
The film poignantly explores the theme of love in the face of adversity, and how emotional intimacy can often transcend physical barriers. It brings to light the bittersweet reality that sometimes love requires immense restraint. As author John Green once said, “The thing about pain is that it demands to be felt,” and “Five Feet Apart” echoes this sentiment as the characters navigate the pain of separation and the beauty of love. The movie leaves a lasting impact, reminding viewers of the fragility of life and the power of human connection, even from a distance.
In “Resort to Love,” viewers are treated to a tropical romantic comedy that follows Erica, a heartbroken singer played by Christina Milian, who takes a job at a luxurious island resort. What she doesn’t expect, however, is to be hired as the wedding singer for her ex-fiancé’s wedding. The situation gets even more complicated when old feelings start to resurface, and Erica finds herself torn between her past and the potential for new love. With its stunning island backdrop, the film delivers both humor and romance, making it an entertaining escape for a date night.
The film captures the theme of moving on and finding closure, as Erica learns to let go of her past while opening herself up to new possibilities. It also showcases the idea that healing from heartbreak is a journey, and sometimes, the best way to move forward is by confronting the past. As author Paulo Coelho wisely stated, “If you’re brave enough to say goodbye, life will reward you with a new hello,” which rings true for Erica’s journey throughout the movie. The light-hearted humor and romantic tension make “Resort to Love” a delightful and engaging watch.
“Love, Guaranteed” is a fun and witty romantic comedy starring Rachel Leigh Cook as Susan, a hardworking lawyer hired by Nick (Damon Wayans, Jr.) to sue a dating website that guarantees users will find love. The case becomes complicated as the two main characters find themselves growing closer while working together. This Netflix original blends legal drama with romance, making it a lighthearted yet charming watch for anyone who loves feel-good movies. The chemistry between the lead characters and the absurdity of the lawsuit create a humorous yet heartfelt story about the unpredictability of love.
At its core, “Love, Guaranteed” is a film that highlights how love can come when you least expect it—even in the midst of a legal battle. As the plot unfolds, Susan and Nick learn that relationships can’t be guaranteed by a formula or a website algorithm, but are found in the genuine connections we build with others. It’s a romantic tale that reminds viewers of the importance of serendipity and the value of real human connection. As writer Elizabeth Gilbert once said, “To be fully seen by somebody, then, and be loved anyhow—this is a human offering that can border on miraculous.” This movie captures that spirit beautifully.
“Midnight at the Magnolia” follows the story of two lifelong friends and local radio hosts, Maggie and Jack, who pretend to be a couple in an attempt to get their show syndicated. As they fake their romance for professional gain, they begin to realize that there might be more truth to their feelings than either of them had anticipated. This charming rom-com offers a lighthearted exploration of the “friends-to-lovers” trope, filled with humor, chemistry, and heartwarming moments. The film’s central theme revolves around the blurred line between friendship and romance, which makes it a relatable and enjoyable watch for many.
As Maggie and Jack navigate the complexities of their staged relationship, they come to understand that sometimes, love has been right in front of you all along. The film explores how fear of ruining a friendship can often prevent people from taking a romantic leap, but ultimately, true connections will thrive. It resonates with the famous words of C.S. Lewis: “Friendship is born at that moment when one person says to another: ‘What! You too? I thought I was the only one.’” In “Midnight at the Magnolia,” that moment is beautifully portrayed as Maggie and Jack find love where they least expected it.
“Call Me By Your Name” is a tender and evocative coming-of-age film set in the picturesque Italian countryside. It follows 17-year-old Elio (Timothée Chalamet) as he falls in love with his father’s research assistant, Oliver (Armie Hammer). The film beautifully captures the fleeting nature of first love and the deep emotional intensity that comes with it. Set in the 1980s, the story is an exploration of self-discovery, desire, and the complexities of human connection. The cinematography, coupled with an outstanding soundtrack, makes “Call Me By Your Name” a cinematic masterpiece that touches on universal themes of love and loss.
At the heart of the film is Elio’s journey of emotional growth and the bittersweet experience of falling in love for the first time. It paints a vivid picture of the beauty and pain of young love, making it both a joyful and heartbreaking watch. As Elio learns, love is not only about finding someone who understands you but also about the inevitable heartache that comes with it. The movie echoes the sentiments of the poet Rainer Maria Rilke, who once said, “For one human being to love another: that is perhaps the most difficult of all our tasks.” “Call Me By Your Name” powerfully portrays this complexity through its delicate storytelling.
“Happy Anniversary” is a reflective romantic dramedy that follows a couple, Sam (Ben Schwartz) and Mollie (Noël Wells), as they celebrate their third anniversary. As they look back on their time together, they find themselves questioning whether they should continue their relationship or part ways. The film expertly balances humor and heartfelt moments, diving deep into the complexities of modern relationships and the challenges that come with long-term commitment. With its relatable storyline, this movie is a perfect choice for couples looking for something both thought-provoking and entertaining on date night.
The movie explores the idea that anniversaries are not just milestones to celebrate but also opportunities for introspection. Sam and Mollie’s journey highlights the reality that love requires constant effort and reevaluation, and that sometimes, choosing to stay together means accepting the imperfections within the relationship. As author Esther Perel has said, “The quality of our relationships determines the quality of our lives,” and Happy Anniversary beautifully portrays how the couple grapples with this truth, making it a refreshing take on romantic introspection.
“Always Be My Maybe” is a delightful romantic comedy that brings together childhood friends Sasha (Ali Wong) and Marcus (Randall Park), who reconnect years after they’ve drifted apart. Both have pursued different paths—Sasha becoming a celebrity chef, and Marcus staying close to home—but when they reunite, old feelings begin to resurface, leaving them wondering “what if?” The film is filled with humor, charm, and a sprinkle of nostalgia as it explores the possibility of rekindling a romance that never had a proper chance to blossom. Keanu Reeves’ memorable cameo adds an extra dose of comedy to an already hilarious storyline.
At the heart of Always Be My Maybe is the theme of second chances and the realization that sometimes, the person you’ve been searching for has been there all along. The film touches on the importance of timing in relationships, as well as the idea that people can grow together, even if they’ve been apart for years. As the famous saying goes, “True love comes quietly, without banners or flashing lights,” and this movie perfectly captures that subtle yet powerful dynamic. Sasha and Marcus’s journey is both heartwarming and inspiring, making this film a great choice for anyone in the mood for a lighthearted romantic comedy.
The Incredible Jessica James is a witty and empowering film that centers around Jessica James, a fiercely independent and struggling playwright played by Jessica Williams. Recently out of a breakup, Jessica finds herself on a blind date with Boone (Chris O’Dowd), a divorcee who is also trying to move on from his past relationship. Their connection grows slowly but surely, and the film explores themes of personal growth, resilience, and the complexities of modern dating. Jessica’s unapologetic attitude and candid sense of humor make this film both refreshing and entertaining.
What sets The Incredible Jessica James apart is its focus on self-discovery rather than traditional romance. While Jessica navigates her budding relationship with Boone, the film emphasizes her journey toward finding herself and her purpose, showing that love can be a catalyst for personal growth rather than the sole focus. As renowned psychologist Carl Jung once said, “The privilege of a lifetime is to become who you truly are,” and Jessica’s story embodies this sentiment. It’s a film that celebrates individuality, making it a unique addition to any romantic movie lineup.
“Someone Great” is a heartfelt film that centers on Jenny (Gina Rodriguez), a music journalist reeling from a breakup with her long-term boyfriend Nate (Lakeith Stanfield). While the movie follows the emotional aftermath of their relationship’s end, it beautifully weaves in Jenny’s friendships with her two best friends, Erin (DeWanda Wise) and Blair (Brittany Snow), as they help her move on and find herself again. Despite its focus on the dissolution of love, the movie still leaves audiences feeling uplifted, reminding us of the power of friendship and new beginnings. The film balances heartache with hope, showing that love in all its forms—romantic and platonic—plays a vital role in our lives.
At its core, Someone Great emphasizes that healing from a breakup is not just about moving on from a partner but also about rediscovering who you are as an individual. Through moments of laughter, tears, and bonding, the characters remind us that friends are the ones who can help pick up the pieces when romantic love falters. As Maya Angelou once said, “A friend may be waiting behind a stranger’s face,” and this film captures the importance of those connections. Whether you’re mending a broken heart or simply enjoying the ride, this movie’s message of resilience and renewal resonates deeply.
Set It Up is a modern romantic comedy that follows two overworked assistants, Harper (Zoey Deutch) and Charlie (Glen Powell), who conspire to set up their high-strung bosses (played by Lucy Liu and Taye Diggs) in the hopes that it will make their work lives easier. As their plan unfolds, Harper and Charlie begin to realize that they might have feelings for each other as well. This Netflix original is filled with sharp dialogue, clever setups, and a lot of charm, making it a delightful watch for rom-com lovers. The chemistry between the lead characters and the humorous situations they find themselves in makes Set It Up a romantic comedy that stands out from the crowd.
The film explores how love can grow in unexpected places, even in the most stressful of environments. As Harper and Charlie’s plan spirals, they discover that orchestrating love for others can also help them find love for themselves. Set It Up touches on the unpredictability of relationships and the importance of taking risks. As philosopher Soren Kierkegaard once noted, “To dare is to lose one’s footing momentarily. To not dare is to lose oneself,” and this film encapsulates that leap of faith, making it a feel-good, fun addition to any date night.
The Kissing Booth is a playful coming-of-age romantic comedy that follows Elle (Joey King), a high school student who finds herself in a tricky situation when she falls for her best friend’s older brother, Noah (Jacob Elordi). Torn between her loyalty to her childhood friend Lee and her blossoming feelings for Noah, Elle must navigate the complexities of young love, friendship, and high school drama. With its mix of humor, heart, and a dash of teenage angst, this film has become a beloved Netflix hit for both teens and adults alike. Its lighthearted and nostalgic approach to romance makes it a fun watch that is full of charm and memorable moments.
At its core, The Kissing Booth explores the tension between friendship and romance, and how challenging it can be to balance both when strong feelings are involved. Elle’s story reminds viewers of the emotional intensity that comes with first love and the growing pains of adolescence. As famed poet Robert Frost once said, “Love is an irresistible desire to be irresistibly desired,” and this sentiment is perfectly captured in Elle’s journey. With its relatable themes and engaging storyline, The Kissing Booth is a feel-good film that taps into the innocence and excitement of young love.
For fans of The Kissing Booth, the sequel delivers even more teenage romance, drama, and heartfelt moments. In The Kissing Booth 2, Elle (Joey King) is back, and this time she’s navigating a long-distance relationship with Noah (Jacob Elordi), who is now attending college at Harvard. Meanwhile, a new boy, Marco (Taylor Zakhar Perez), enters the picture, complicating Elle’s feelings and leaving her questioning whether her love with Noah can withstand the miles between them. Filled with emotional highs and lows, this sequel explores the complexities of young love, trust, and the challenges that come with growing up.
This second installment deepens the love triangle dynamic and delves into themes of loyalty, insecurity, and the evolving nature of relationships. As Elle faces her personal and academic future, the film touches on the importance of self-discovery and balancing romantic desires with individual growth. As novelist Sarah Dessen once said, “The truth about forever is that it’s happening now,” and The Kissing Booth 2 reminds us that the choices we make today shape our future. With its mix of romance, humor, and heartfelt moments, this sequel is a must-watch for anyone invested in Elle’s journey.
The final chapter of the Kissing Booth trilogy, The Kissing Booth 3, follows Elle as she faces her biggest decision yet: choosing between attending college with her best friend Lee (Joel Courtney) or following her boyfriend Noah to Harvard. With graduation looming, Elle must come to terms with what she truly wants for her future, making this movie not only a love story but also a story about self-discovery and independence. As Elle grapples with these life-changing decisions, the film captures the bittersweet nature of growing up and leaving behind the comfort of adolescence for the unknown future.
This concluding film in the trilogy focuses on the themes of identity, loyalty, and the difficult choices that often come with adulthood. The story emphasizes that love is not just about relationships with others but also about learning to love and prioritize oneself. As philosopher Aristotle once said, “Knowing yourself is the beginning of all wisdom,” and The Kissing Booth 3 encapsulates Elle’s journey of self-awareness. Fans of the series will find this conclusion both satisfying and emotional, offering a fitting end to Elle’s coming-of-age story.
The Perfect Date offers a fresh take on the classic teen rom-com, with Noah Centineo starring as Brooks Rattigan, a high school student who develops an app that allows him to pose as a perfect date-for-hire to save money for college. Things take an unexpected turn when Brooks starts to catch feelings for one of his clients, Celia (Laura Marano), challenging his original plan. The movie is a fun, lighthearted romp that explores themes of identity, ambition, and the struggle to fit in. With witty dialogue and an engaging plot, The Perfect Date delivers both romance and laughs, making it an enjoyable addition to any Netflix date night.
Beyond the charming romance, The Perfect Date touches on the pressures of being young and the need to conform to expectations. Brooks’s journey toward self-acceptance is at the heart of the story, as he realizes that trying to be everything for everyone only leads to losing sight of who he is. As author Brené Brown has said, “Authenticity is the daily practice of letting go of who we think we’re supposed to be and embracing who we are.” This film encourages viewers to embrace their true selves, making it a thoughtful and entertaining romantic comedy.
Falling Inn Love is a charming romantic comedy set against the stunning backdrop of New Zealand. The film follows Gabriela (Christina Milian), who, after a sudden breakup and career setback, impulsively enters a contest to “win an inn.” When she finds out that she won, she moves halfway across the world to restore the rundown property. There, she meets Jake (Adam Demos), a handsome local contractor, and the two team up to fix the inn. As they work together, sparks fly, and Gabriela begins to realize that this unexpected adventure might just be the fresh start she needs, both in love and life.
The film captures the magic of stepping out of one’s comfort zone and taking a leap of faith. Falling In Love beautifully balances romance, humor, and the picturesque beauty of New Zealand, making it an ideal feel-good movie for a cozy date night. As relationships expert Esther Perel notes, “Romance is the glamour which turns the dust of everyday life into a golden haze,” and this film exemplifies how taking risks can lead to unexpected love and personal growth. It’s a delightful escape into a world where second chances are not only possible but embraced.
In Candy Jar, the competitive world of high school debate serves as the perfect setting for a classic enemies-to-lovers storyline. Sami Gayle plays Lona, a highly driven student who sees her academic success as the key to her future, but she constantly clashes with her rival Bennet (Jacob Latimore). Both are laser-focused on getting into the best colleges, but as they’re forced to work together on the debate team, they slowly discover that their differences might not be as vast as they thought. This witty, fast-paced film combines intellectual humor with touching moments of vulnerability, making it a great choice for those who enjoy clever dialogue and romantic tension.
What makes Candy Jar unique is its emphasis on friendship, ambition, and learning to let others in despite one’s defenses. As Lona and Bennet grow closer, they realize that life isn’t just about winning but also about finding meaningful connections along the way. According to psychologist John Gottman, “Successful long-term relationships are created through small words, small gestures, and small acts,” and this film shows how even the most competitive of rivals can come to appreciate and care for each other. Candy Jar is an engaging and thought-provoking romantic comedy that blends romance with the real-life pressures of high school and future aspirations.
When We First Met is a time-travel romantic comedy that plays with the idea of fate and destiny. Adam Devine stars as Noah, a man who believes he missed his chance with Avery (Alexandra Daddario), the woman of his dreams. After discovering a magical photo booth that sends him back in time, Noah gets the chance to relive the night they first met, hoping to change his actions and win her over. However, as he repeats the night over and over, he learns that love isn’t always about finding the perfect moment but about being true to yourself.
This film explores the complexities of unrequited love and the idea that sometimes the person you think is right for you might not be the one you’re meant to be with. Noah’s journey highlights the importance of self-awareness and the realization that love can’t be forced. As author Haruki Murakami once said, “The heart’s memory eliminates the bad and magnifies the good,” and When We First Met delves into how our perceptions of love can change over time. With its humorous take on love, regret, and the unpredictability of romance, this film offers a delightful mix of laughter and reflection.
To All the Boys I’ve Loved Before took the world by storm with its charming high school romance and heartfelt storytelling. Based on the bestselling novel by Jenny Han, this Netflix original follows Lara Jean Covey (Lana Condor), a shy teenager whose secret love letters are accidentally mailed out to all the boys she’s ever had a crush on. As she navigates the fallout, including a fake relationship with one of the recipients, Peter Kavinsky (Noah Centineo), Lara Jean discovers that love is much more complicated—and wonderful—than she ever imagined.
This coming-of-age story is not only a delightful exploration of first love but also a poignant reminder of the vulnerabilities and excitement that come with growing up. Expert in adolescent psychology, Dr. Laurence Steinberg, notes that “teenage relationships help shape self-identity and emotional growth,” a theme deeply embedded in Lara Jean’s journey. With its sweet narrative, relatable characters, and vibrant cinematography, To All the Boys I’ve Loved Before is a perfect pick for a cozy date night or nostalgic rewatch.
The romantic saga continues into All the Boys: P.S. I Still Love You, where Lara Jean faces the challenges of maintaining her new relationship with Peter while grappling with the reappearance of another former crush, John Ambrose (Jordan Fisher). The sequel explores themes of loyalty, trust, and emotional honesty, as Lara Jean is torn between two potential loves. It’s a rollercoaster of emotions as she learns that real relationships require more than just romantic gestures—they need communication and vulnerability.
This second installment dives deeper into Lara Jean’s inner world, showing her growth as she navigates complex feelings of jealousy, confusion, and self-doubt. As relationship expert Dr. Gary Chapman highlights in his book The Five Love Languages, “Love is a choice you make every day,” a sentiment that resonates throughout Lara Jean’s journey in this film. With its heartwarming moments and thoughtful portrayal of young love, P.S. I Still Love You is a charming continuation of the first film’s magic.
The final chapter of Lara Jean’s story, To All the Boys: Always and Forever, sees her and Peter facing the ultimate test of their relationship: college. With the future looming ahead, Lara Jean must decide what she truly wants, not just in love but in life. As she dreams of moving to New York and Peter plans to stay in California, they confront the question every couple faces: can love survive long-distance, or is it time to part ways?
This final film is an exploration of adulthood, self-discovery, and the difficult choices that come with growing up. As famed author Bell Hooks once said, “Love is an act of will,” and this film emphasizes that staying together requires commitment beyond the initial spark of romance. With a bittersweet yet hopeful tone, Always and Forever beautifully concludes the To All the Boys trilogy, leaving fans with a sense of closure and the excitement of new beginnings. Whether you’re watching for the first time or revisiting the trilogy, this film captures the essence of young love with grace and authenticity.
The first trio of films on our list showcases the diverse nature of romantic storytelling, from serendipitous love across the airwaves to the chaotic energy of a wedding day, and the emotional journey of healing after loss. Each film offers a unique perspective on love, reminding us that it can come in many forms, whether through the magic of fate or the process of personal growth. These movies are sure to captivate audiences, making them perfect picks for an intimate date night.
By exploring themes of fate, timing, and resilience, these films highlight the various stages and challenges of love, offering something for everyone. Whether you’re looking for a nostalgic tearjerker, a comedic twist, or a story of emotional recovery, this selection of movies will leave you feeling both entertained and inspired.
The next three films on our list continue to showcase the vast emotional landscape that romantic films can cover. From the difficult choices that define a relationship to the timeless beauty of love letters and the unexpected rekindling of old flames, each movie in this selection brings something special to the table. These films offer a perfect balance of drama, nostalgia, and heartfelt moments, making them ideal for viewers looking for both emotional depth and romantic escapism.
Whether you’re drawn to the dramatic tensions of a Nicholas Sparks adaptation, the mystery and longing of a love lost and found, or the sweet comfort of rediscovering old love, these films cater to a range of romantic tastes. Each one reminds us that love, in its many forms, is always worth the journey, no matter the obstacles or detours along the way. With their captivating narratives and emotional resonance, these movies will leave you both touched and inspired.
The third group of films on our list offers a wide variety of romantic journeys, from time-bending narratives to love that defies tradition and even the limits of aging. Each movie explores the complexities of relationships in different ways, whether it’s the urgency of living in the present, the tension between love and duty, or the extraordinary circumstances that challenge our understanding of time and age. These films serve as a reminder that love is rarely simple, but always worth the challenges it brings.
What these films share in common is their focus on love as a transformative force, capable of altering lives in profound ways. Whether it’s the fleeting moments of connection in “Long Story Short,” the tension between freedom and loyalty in “Roped,” or the timeless romance of “The Age of Adaline,” each story reminds us that love requires courage, sacrifice, and the willingness to embrace the unknown. These themes resonate deeply, making these films ideal picks for a date night that leaves you both entertained and contemplative.
The last set of films in our list brings a diverse mix of romance, from lighthearted comedies to emotionally charged dramas. Whether it’s the charming and unpredictable dynamic in “Home Again,” the bittersweet reality of love and illness in “Five Feet Apart,” or the tropical escapism of “Resort to Love,” these films offer viewers a variety of romantic narratives that cater to different moods and tastes. Each movie explores unique aspects of love, reminding us that romance can be found in both the simplest and most complex of situations.
What ties these films together is their exploration of the transformative power of love, whether it’s about rediscovering yourself, navigating difficult circumstances, or learning to move on from past heartbreaks. These stories serve as a beautiful reminder that love comes in many forms and is often found in the most unexpected places. From the cozy comfort of home to the challenges of illness, or the healing power of a tropical getaway, these movies will sweep you away with their heartfelt and engaging stories, perfect for a date night in.
This trio of films showcases the many different ways love can surprise, challenge, and transform us. From the unexpected romance born out of a lawsuit in “Love, Guaranteed,” to the friends-turned-lovers dynamic in “Midnight at the Magnolia,” and the poignant coming-of-age romance in “Call Me By Your Name,” these movies offer a wide range of emotional depth and charm. Each film takes a unique approach to love, whether it’s through laughter, friendship, or youthful discovery, but they all remind us that love often appears when we least expect it.
These films highlight the unpredictable nature of relationships, showing that love can be found in the most unlikely of places, whether it’s in the courtroom, the studio, or the sun-drenched countryside of Italy. Each story emphasizes that love is not something we can plan for or control, but something that grows naturally, even in the most complicated circumstances. Together, these movies remind us of the beauty and complexity of romance, making them perfect choices for a memorable date night.
This trio of films offers a refreshing take on modern romance, each highlighting different aspects of relationships—from self-reflection in Happy Anniversary, to second chances in Always Be My Maybe, and the journey of self-discovery in The Incredible Jessica James. Each movie brings something unique to the table, exploring the complexities of love in ways that feel both relatable and inspiring. Whether it’s a couple at a crossroads, old friends reconnecting, or an individual navigating love and personal growth, these films are perfect for those seeking romance with a deeper emotional undertone.
Together, these movies remind us that love isn’t always straightforward—it often comes with challenges, questions, and opportunities for personal development. They explore the idea that relationships, whether new or old, require honesty, patience, and sometimes, a bit of humor to navigate successfully. These films make for thoughtful, engaging watches that will not only entertain but also leave viewers reflecting on their own experiences with love, making them great options for a meaningful date night.
The seventh group of films delves into the many facets of love—whether it’s the end of a long-term relationship, the discovery of romance in unexpected places, or the thrill of first love. Someone Great reminds viewers of the importance of friendship in healing after heartache, while Set It Up and The Kissing Booth offer more lighthearted takes on how love can emerge in even the most unlikely circumstances. Together, these movies capture the unpredictable and multifaceted nature of romance, making them ideal for a date night that spans a range of emotions.
These films highlight the idea that love isn’t confined to romantic relationships; it’s found in friendships, personal growth, and the decisions we make to pursue what truly matters to us. Each movie brings its unique perspective on how love shapes our lives, whether through laughter, tears, or self-discovery. From the bittersweet moments in Someone Great to the playful spirit of The Kissing Booth, these stories offer something for everyone, showcasing the diversity and beauty of love in all its forms.
This next set of films continues to explore the evolving nature of young love and the challenges that come with finding oneself while navigating romantic relationships. The Kissing Booth 2 and The Kissing Booth 3 offer fans of the trilogy a chance to see Elle’s journey come full circle as she wrestles with the trials of growing up, making difficult choices, and discovering what truly matters in life. Meanwhile, The Perfect Date brings a fresh twist to the teen romance genre, mixing humor with heartfelt moments of self-realization.
All three films share a common thread of identity and self-discovery, reminding viewers that love often comes hand-in-hand with personal growth. Whether it’s deciding on the next step in life, like Elle’s college decision in The Kissing Booth 3, or learning to be authentic in The Perfect Date, these movies highlight the importance of balancing romance with individual development. Together, they offer a mix of lighthearted fun and thoughtful introspection, making them the perfect choices for an engaging and meaningful date night on Netflix.
This set of movies brings a fresh array of romantic themes, from second chances in Falling Inn Love, to intellectual rivalries turned romance in Candy Jar, to time-travel escapades in When We First Met. Each of these films explores the journey to finding love in unique and heartwarming ways, whether through taking a leap of faith, discovering an unexpected connection with an adversary, or realizing that true love can’t be engineered through perfect circumstances.
These films highlight different facets of romance, reminding us that love is unpredictable and often comes from the most unexpected places. Whether it’s through rebuilding a life in a foreign country, overcoming competitive rivalry, or reflecting on what could have been, these movies encourage viewers to embrace love’s unpredictability. Together, they offer a perfect mix of charm, humor, and introspective moments, making them an excellent choice for anyone seeking romance with a touch of life’s serendipity on Netflix.
The To All the Boys trilogy is a quintessential Netflix romance series, encapsulating the highs and lows of young love. From Lara Jean’s secret letters and Peter’s charming smiles to the heartfelt moments of growing up, these films offer an irresistible combination of sweetness, humor, and emotional depth. With each movie, viewers are drawn deeper into the complexities of teenage romance, self-discovery, and the transition into adulthood, all while maintaining a lighthearted and captivating tone.
Together, these films remind us of the beauty and challenges of love, whether it’s navigating the thrills of first love, facing the fear of losing someone special, or making difficult decisions for the future. As these romantic stories unfold, they encourage viewers to embrace the uncertainties of life and love, making them a perfect pick for a date night. Fans of romantic comedies and coming-of-age stories will find endless reasons to fall in love with To All the Boys over and over again.
This collection of romantic films on Netflix offers a diverse array of love stories that cater to every kind of viewer, from lighthearted comedies to poignant dramas. Each movie showcases the myriad experiences of love, illustrating how it evolves and is often intertwined with self-discovery, friendship, and personal growth. Whether it’s the whimsical charm of Falling Inn Love, the competitive yet sweet dynamic in Candy Jar, or the heartfelt journey of Lara Jean in the To All the Boys trilogy, these films resonate with the universal emotions that come with falling in love.
What ties these films together is their ability to capture the essence of romance in its many forms, encouraging viewers to embrace their own experiences, joys, and challenges. As viewers embark on these cinematic journeys, they are reminded that love is not just about the big moments but also the small, everyday choices that shape our relationships. In the words of renowned author Elizabeth Gilbert, “You need to participate relentlessly in the manifestation of your blessings.” So grab some popcorn, cozy up with your loved one, and enjoy these heartwarming films that promise to ignite feelings of nostalgia, joy, and perhaps even a little romance of your own.
Bibliography on Love Story Movies
Han, Jenny. To All the Boys I’ve Loved Before. Simon & Schuster, 2014. A young adult novel that explores the complexities of teenage love and the consequences of unaddressed feelings, serving as the inspiration for the popular Netflix trilogy.
Moyes, Jojo. The Last Letter from Your Lover. Pamela Dorman Books, 2008. A romantic drama that intertwines two love stories across different periods, highlighting the enduring nature of love and memory.
Sparks, Nicholas. The Choice. Grand Central Publishing, 2007. A poignant narrative about the challenges of love and relationships, based on the complexities of making life-altering decisions.
Gottman, John. The Seven Principles for Making Marriage Work. Crown Publishers, 1999. This book offers insights into maintaining long-term relationships, emphasizing the importance of emotional connection and communication.
Perel, Esther. Mating in Captivity: Unlocking Erotic Intelligence. HarperCollins, 2006. A thought-provoking exploration of intimacy and passion in long-term relationships, providing valuable insights relevant to romantic films.
Gilbert, Elizabeth. Eat, Pray, Love: One Woman’s Search for Everything Across Italy, India, and Indonesia. Viking, 2006. A memoir that discusses the pursuit of love, self-discovery, and personal fulfillment, which resonates with many themes in romantic cinema.
Schwartz, Ben, and Noël Wells. Happy Anniversary. Netflix, 2018. A romantic comedy that delves into the reflective moments of a couple as they commemorate their anniversary, exploring themes of love and commitment.
Steinberg, Laurence. You and Your Adolescent: A Parent’s Guide for Ages 10 to 20. HarperCollins, 1999. This book provides insights into adolescent relationships and development, relevant for understanding the romantic dynamics portrayed in youth-centric films.
hooks, bell. All About Love: New Visions. HarperSanFrancisco, 2000. A foundational text on the meaning of love and its transformative power, offering profound insights that resonate with themes found in love stories.
Alderson, Brian. The History of Love Stories in Cinema. Academic Press, 2020. An exploration of the evolution of romantic films and their cultural significance, analyzing various genres and tropes in love stories.
These texts provide a rich context for understanding the themes, dynamics, and cultural significance of love stories in cinema, enhancing the appreciation of romantic films across various genres.
Affiliate Disclosure: This blog may contain affiliate links, which means I may earn a small commission if you click on the link and make a purchase. This comes at no additional cost to you. I only recommend products or services that I believe will add value to my readers. Your support helps keep this blog running and allows me to continue providing you with quality content. Thank you for your support!
The text analyzes Donald Trump’s political agenda and its potential global impact, particularly concerning Pakistan and the Middle East. It explores Trump’s conflict with the “Deep State,” a powerful, shadowy group allegedly controlling global politics, and his plans to dismantle their influence. The text further examines Trump’s domestic policies, focusing on his stance on social issues and immigration. Finally, it discusses the potential ramifications of Trump’s policies on international relations, especially his relationship with various world powers and the consequences for countries like Pakistan. The author uses Trump’s presidency as a lens to examine larger geopolitical forces at play.
Review of Trump Analysis: A Study Guide
Short Answer Quiz
According to the analysis, what is the “deep state” and when did it allegedly begin to exert significant control? The “deep state” is described as a group that controls the world system, beginning around 1920 but solidifying power after the 1944 Bretton Woods Agreement, using the dollar and institutions like the IMF, World Bank, and United Nations.
What is Project 2025, and what groups are associated with its creation? Project 2025 is an agenda created in 1981 by around 400 scholars and policymakers associated with the Heritage Foundation. It includes Republicans, Orthodox Christians, evangelicals, and others who believe in Christian ethics.
The analysis says that Trump is coming to put an end to what in American society? Trump is said to want to put an end to what the analysis calls “a spectacle” of civil liberties, morality, and religion created in the US, which are associated with the “deep state.”
How did Trump reportedly view the military-industrial complex, particularly after the wars in Afghanistan and Iraq? Trump viewed the military-industrial complex with suspicion, believing that it profited excessively from the wars. He questioned the amount spent, noting that a significant portion of the trillions of dollars went to a few large companies, not the soldiers.
According to the analysis, what was Trump’s initial plan for ending the war in Afghanistan, and why did it fail? Trump planned a secret meeting with the Taliban at Camp David, but the US establishment canceled it overnight. It is portrayed as a major defeat for Trump and a deliberate effort to undermine his agenda.
What were some of the issues that contributed to Trump’s popularity with his base, as mentioned by the text? Trump’s base is said to identify with the perception of black people, illegal immigrants, and “successful” career women as burdens. The analysis says that they perceive “every Muslim as a terrorist” and “every Christian as a Bible pusher.”
How does the text explain that the U.S. military strategy in Afghanistan is historically typical of U.S. and British imperialist policy? The U.S. is depicted as following a traditional colonial approach of creating and funding a local proxy army to suppress dissent, as was done in other regions such as the Philippines, Vietnam, and Afghanistan.
According to the text, what is the significance of the Jack Smith appointment to investigate Trump? Jack Smith is described as a special advisor in the Justice Department who filed numerous cases against Trump. The analyst emphasizes that some see his appointment as evidence that Trump is being politically targeted by the establishment, similar to how political leaders in Pakistan are targeted with fabricated cases.
What does the text suggest about Trump’s view of “wise nations” and how it connects with his foreign policy approach? Trump is described as believing that “wise nations” should not get involved in never-ending wars or conflicts. This relates to his desire to end U.S. involvement in various foreign engagements.
How does the analysis portray Trump’s stance on cultural issues such as LGBT rights and abortion? Trump is presented as an opponent of LGBT rights and abortion. He views them as part of a moral decline, and he is depicted as wanting to end what he sees as the normalization of these issues in American society and education.
Answer Key
The “deep state” is described as a group that controls the world system, beginning around 1920 but solidifying power after the 1944 Bretton Woods Agreement, using the dollar and institutions like the IMF, World Bank, and United Nations.
Project 2025 is an agenda created in 1981 by around 400 scholars and policymakers associated with the Heritage Foundation. It includes Republicans, Orthodox Christians, evangelicals, and others who believe in Christian ethics.
Trump is said to want to put an end to what the analysis calls “a spectacle” of civil liberties, morality, and religion created in the US, which are associated with the “deep state.”
Trump viewed the military-industrial complex with suspicion, believing that it profited excessively from the wars. He questioned the amount spent, noting that a significant portion of the trillions of dollars went to a few large companies, not the soldiers.
Trump planned a secret meeting with the Taliban at Camp David, but the US establishment canceled it overnight. It is portrayed as a major defeat for Trump and a deliberate effort to undermine his agenda.
Trump’s base is said to identify with the perception of black people, illegal immigrants, and “successful” career women as burdens. The analysis says that they perceive “every Muslim as a terrorist” and “every Christian as a Bible pusher.”
The U.S. is depicted as following a traditional colonial approach of creating and funding a local proxy army to suppress dissent, as was done in other regions such as the Philippines, Vietnam, and Afghanistan.
Jack Smith is described as a special advisor in the Justice Department who filed numerous cases against Trump. The analyst emphasizes that some see his appointment as evidence that Trump is being politically targeted by the establishment, similar to how political leaders in Pakistan are targeted with fabricated cases.
Trump is described as believing that “wise nations” should not get involved in never-ending wars or conflicts. This relates to his desire to end U.S. involvement in various foreign engagements.
Trump is presented as an opponent of LGBT rights and abortion. He views them as part of a moral decline, and he is depicted as wanting to end what he sees as the normalization of these issues in American society and education.
Essay Questions
Analyze the author’s portrayal of the “deep state” and its influence on global events, citing specific examples provided in the text. How does this portrayal shape the interpretation of Trump’s political actions?
Discuss the significance of Project 2025 in the context of the text’s analysis. What are its goals, and how do they reflect the concerns and aspirations of Trump’s supporters?
Evaluate the text’s argument that Trump’s rise to power represents a challenge to the established global order, focusing on his views on war, American military and economic power, and international alliances.
Analyze the author’s portrayal of Trump’s domestic agenda, including his stances on social issues, cultural values, and the role of the government, examining the different groups that support and oppose him.
How does the text characterize the relationship between the establishment and Trump, and what does it suggest about the likely future political and legal battles he will face?
Glossary of Key Terms
Deep State: A hidden network of powerful individuals, often within government, military, and financial institutions, that allegedly manipulates policy for their own interests.
Bretton Woods Agreement: A 1944 agreement that established the post-World War II international monetary system, based on the U.S. dollar.
IMF (International Monetary Fund): An international organization that provides financial assistance and economic advice to member countries.
World Bank: An international financial institution that provides loans and grants to governments for development projects.
United Nations: An intergovernmental organization that aims to promote international cooperation and maintain world peace.
Project 2025: An agenda formulated by conservative scholars and policymakers in 1981 with the aim to implement policies that align with conservative and religious values in the United States.
Military-Industrial Complex: The close relationship between the military establishment and the industries that supply it with weapons and equipment.
Post-Traumatic Stress Syndrome (PTSD): A mental health condition triggered by experiencing or witnessing a terrifying event.
Evangelicals: A broad movement within Protestant Christianity that emphasizes the importance of a personal relationship with Jesus Christ and spreading the Gospel.
LGBT: An acronym referring to lesbian, gay, bisexual, and transgender people.
Caligula: A Roman Emperor known for his cruelty, extravagance, and erratic behavior.
Regime Change: The replacement of a government with a new government.
Hash Money Case: A reference to a case where Trump allegedly made payments to cover up an affair, the money which was not recorded as an expense and thus is seen as illegal.
Tabloids: Newspapers or news magazines that are sensationalist and focus on scandals and gossip.
Isolation Politics: A foreign policy approach that seeks to limit a country’s involvement in international affairs.
Deweaponizing: Removing or reducing the number of weapons, often used in reference to removing oversight and power from law enforcement bodies.
DFPI: Possibly a reference to the Department of Financial Protection and Innovation.
Bureaucrats: Officials in government and other large organizations, characterized by their adherence to rules and routines.
Ashraf Ghani: The former President of Afghanistan.
Blackwater: A private military company that was hired by the U.S. in Iraq and Afghanistan.
Trump, the Deep State, and a New World Order
Okay, here’s a detailed briefing document summarizing the main themes and ideas from the provided text.
Briefing Document: Analysis of “Pasted Text” on Donald Trump & Global Politics
Introduction:
This document analyzes a lengthy audio transcript discussing Donald Trump’s political career, motivations, and potential impact on both the United States and the global order. The speaker presents a narrative heavily critical of the “deep state” and a global establishment, portraying Trump as an anti-establishment figure aiming to dismantle this existing power structure. The analysis encompasses various topics including US foreign policy, domestic issues, and the role of influential interest groups. The speaker’s perspective is clearly sympathetic to Trump’s vision and highly critical of the establishment he is trying to upend.
Key Themes & Ideas:
Trump as an Anti-Establishment Figure:
The core narrative is that Trump is a disruptor who rose to power by challenging the “deep state” – an alleged network of powerful forces that have controlled the world since the 1920s, particularly after the Bretton Woods agreement in 1944. This deep state is accused of manipulating the world through the US dollar, the IMF, World Bank, and the UN.
Quote: “Trump has come to the fore by defeating the American establishment, the Deep State… this deep state which has been controlling not America but the world system for a long time…”
Trump is presented as someone who seeks to reverse the course set by this establishment, particularly in regards to the perceived new world order.
This includes challenging the military-industrial complex and the “endless wars” that allegedly serve its financial interests.
Project 2025 & the Conservative Agenda:
The speaker highlights “Project 2025,” an agenda created by conservative scholars and policy makers in 1981, aiming to restore “lost” societal values. This agenda is closely associated with Trump’s platform.
Key tenets include:Securing borders and deporting illegal immigrants.
“Deweaponizing” the government by increasing oversight of agencies like the FBI.
Reversing policies on education, transgender rights, and abortion, framing them as threats to morality.
The speaker notes they want to move control and funding of education from the DC bureaucrats directly to parents and states and local governments, in reference to Rockefeller and the book Dumbing Us Down and Other Weapons of Mass Instruction.
This agenda is rooted in Christian ethics and the views of evangelists.
Quote: “Secure the border, finish building the wall and deport illegal people. We want to secure America from aliens… The effects can be estimated through deweaponizing… energy prices.”
Critique of US Foreign Policy & Military Interventionism:
The transcript is highly critical of U.S. military interventions, particularly those following 9/11, arguing that they were driven by the interests of the military-industrial complex and resulted in immense suffering.
The speaker uses wars like Vietnam, Afghanistan, Iraq, and those in Latin America and Africa as examples of this exploitative behavior.
The speaker points out the immense cost of the war in Afghanistan ($3 trillion), particularly the money going to the big 5 defense corporations (almost $1.5 trillion) and Black Water (hiring spies).
Trump is credited with realizing the high cost of these wars both in terms of finance and human suffering, such as the high suicide rate among veterans.
Quote: “Then he realized that 3000 billion 3 trillion dollars is America’s…funds of the economy which were made up of the tax payers have been spent.”
The speaker discusses Trump’s attempt to negotiate with the Taliban as an attempt to withdraw from the “endless” war and how his efforts were frustrated by the establishment.
The speaker believes that Trump sees these war theaters as something to “finish off” and that the US military-industrial complex opened after 9/11 will be dismantled by Trump.
Trump’s Appeal & His Base:
The speaker argues that Trump’s support is based on the perceived “prototype” in American minds – stereotypes like:
Every Black person is a burden on welfare.
Every Spanish/illegal immigrant is a burden.
Successful women are not good homemakers.
Every Muslim is a terrorist, and every Christian is a “Bible pusher.”
He claims these are the issues that made Trump who he is today.
The speaker believes Trump did not have the power to enact his agenda the first time he was president.
The Legal Battles Against Trump and the “Deep State’s” Reaction:
The speaker highlights the intense legal and media opposition that Trump has faced.
The speaker goes on to discuss the numerous lawsuits against Trump and the appointment of Jack Smith. The speaker quotes Elon Musk as saying “if we do not punish him, it means that we did not win the election” in reference to Jack Smith.
The deep state has used the courts to destroy him, but has failed the courts. Now the “boot is on the other foot” and Trump will use this against the establishment.
Trump’s actions are framed as necessary to combat the deeply entrenched forces working against him.
Trump’s Impact on Global Dynamics:
The transcript suggests that Trump’s policies will significantly impact the global order, potentially creating a new system that challenges American dominance.
The speaker suggests that Trump’s policies will be a “big nightmare for Pakistan” and that Trump will likely take away their position as a strategic ally of the US.
The speaker believes that Trump’s approach will challenge existing alliances and reshape the landscape of US relations with countries like China.
The speaker discusses the ongoing tension between the US and China (two big US fleets in the China sea with 56 ships) and how Trump is seeking to alter this relationship.
Trump’s “New World Order”:
The speaker describes Trump’s actions as seeking to dismantle the current power structure and institute a new world order.
This involves ending the influence of those who are “afraid of Trump” who want to end the morals of the people and who believe the fundamentals under Human Rights are “my body, my choice”.
Trump seeks to control education and sees the LGBT, abortion rights, and transgender issues as going against his values.
The speaker also addresses Trump’s belief that Israel will build the temple that will bring Jesus back to punish the Jews.
Historical Analogies:
The speaker draws a comparison between Trump and the Roman Emperor Caligula, suggesting that, like Caligula, Trump is perceived as a “mad” figure by his opponents, while in reality he is a disrupter challenging established norms.
Quote: “It is a shame he said that history has remembered kalegala as the mad emperor…but it’s unlike the caligula was mad at all despina as a mad emperor…”
Conclusion:
The transcript provides a detailed and highly opinionated perspective on Donald Trump and his political agenda. It portrays him as a revolutionary figure fighting against a powerful, corrupt “deep state” that has controlled the world for decades. The speaker sees Trump’s actions as a necessary corrective to restore morality, break the cycle of endless wars, and create a more equitable world order, though it will be one led by his unique brand of American nationalism. The speaker’s narrative heavily emphasizes the alleged failures of US foreign policy, the corrupting influence of the military-industrial complex, and the need for a radical change in the existing global power structure. The speaker also stresses Trump’s domestic agenda is to reverse the trend of gender and sexual identity issues in the US through controlling education. The speaker is anticipating that Trump will continue to be under attack from the “deep state”, but is optimistic that Trump can succeed in his mission to “crucify” those who have set the whole world on fire.
Note: It is crucial to remember that this document presents one specific interpretation of events and it is important to research these topics further with more sources. The speaker has an agenda, and this should be kept in mind when considering the merits of these interpretations.
Trump, the Deep State, and Project 2025
FAQ on the Themes of the Provided Text
What is the “deep state” and how does it relate to Donald Trump according to the text?
The “deep state,” as described in the text, is a long-standing, powerful establishment that has controlled not just the United States but the world system. This system is said to have its roots in the 1920s but solidified after the Bretton Woods Agreement in 1944, using the dollar as a means of global control. It includes entities like the IMF, the World Bank, and the United Nations. According to the text, Trump has come to the fore by defeating the American establishment which is this “deep state,” which he views as corrupt and responsible for countless wars and global instability.
What is “Project 2025” and what are its main objectives?
“Project 2025” is an agenda formulated by around 400 scholars and policy makers under the Heritage Foundation, starting in 1981. It’s a conservative plan that aims to restore what they perceive as the lost values of American society. Its main objectives include securing borders by building the wall and deporting illegal immigrants; reducing government spending; increasing accountability of federal bureaucracies to the president and Congress; ending “moral decay” related to issues such as LGBTQ+ rights and abortion rights; deweaponizing energy prices by using strategic reserves; and reforming education by moving control away from DC bureaucrats to parents, states and local governments. Essentially, it seeks to dismantle the progressive policies and return to a more traditional and conservative America.
How does the text characterize Trump’s views on domestic American issues?
The text portrays Trump as someone who exploits the “prototype images” of the American people. He is depicted as someone who plays on the fears and prejudices of segments of the population. He is shown as someone who is against the concepts of LGBTQ+ rights, abortion rights, and illegal immigration, aligning with the views of more traditional and conservative Americans. The text indicates that Trump taps into feelings that the system is rigged, that the elite does not care about the common person and that America has lost its way.
What does the text say about Trump’s perspective on foreign policy and military intervention?
Trump is presented as an anti-war figure who is critical of the U.S. military-industrial complex. The text emphasizes that he seeks to end what it characterizes as “endless wars” and that he wants to dismantle the post 9/11 military industrial complex that he sees as financially wasteful and detrimental to America. He is shown as frustrated with the high costs of U.S. military engagements and the human cost in terms of veteran trauma and suicide. He aimed to reduce US military engagement and tried to negotiate a deal with the Taliban to withdraw from Afghanistan, a deal that was ultimately not carried out. He also seems to challenge existing power dynamics, particularly in the Middle East.
According to the text, how has Trump’s relationship with the establishment in America impacted him?
The text emphasizes that the American establishment, or the “deep state” is very much against Trump and they used everything against him to try and defeat him. They are described as using the courts against Trump, trying to frame him for the Capitol Hill attack, and using cases involving past interactions with a porn star to undermine him. Despite all that he has still won. The text suggests that if Trump returns to power, he would seek to purge the legal system and turn the law against the establishment who worked against him.
How does the text describe the situation in Afghanistan during and after Trump’s presidency?
The text portrays Trump as having attempted to negotiate with the Taliban to facilitate the withdrawal of US forces. However, the establishment was against this, thus causing him to cancel the deal. The establishment then set out to make the situation worse in Afghanistan as Trump was exiting. This was done by training a US-backed army in Afghanistan with the plan that they would take over after the US left, but that army collapsed quickly. The Afghan government that the US had backed collapsed just after the departure of the US military, leading to the Taliban retaking control of the country. This collapse is attributed to the US attempting to force a unified, structured system onto a tribal society that could not effectively adopt it.
What role does Pakistan play in the geopolitical picture according to the text and what is the concern about Trump?
Pakistan has historically served as a key US ally in the region, providing support for the US military in the Cold War and the War on Terror. Pakistan has been heavily dependent on US aid. The concern is that Trump will not need Pakistan as a strategic partner in the war on terror anymore which could lead to a cut off of US aid and a decline in the US-Pakistan relationship. This would leave Pakistan in a vulnerable and dependent position. Additionally, Pakistan’s establishment has historically tried to bring stability to the border but has been undermined by other US interests and that it could face more challenges with the return of Trump. The text also briefly mentions how Pakistan is one of the many places that has had regime change experiments conducted on them by the US.
How does the text depict the reaction of the media, political elites, and other establishment entities to Trump’s rise in power?
The text depicts a sense of panic among the media, political elites, and top figures in the military and civil service due to Trump’s return. It suggests that the “ruling class” used every available tool against Trump, from legal actions to media smear campaigns, in an attempt to prevent him from regaining power. This is framed as a coordinated effort by the “deep state” to retain its influence and power, and Trump is depicted as a threat to that power structure.
Trump, the Deep State, and Project 2025
Okay, here is a timeline of the main events and a cast of characters based on the provided text:
Timeline of Main Events
1920s: The beginning of the “Deep State,” an alleged global power structure, is said to have taken shape.
1944: The Bretton Woods Agreement is signed, establishing the U.S. dollar as the world’s reserve currency and setting the stage for U.S.-led global financial control.
Post-1945: A period marked by the Cold War, instigated by a group of American capitalists who profited from arms manufacturing. This period also includes the Vietnam War, conflicts in Latin America, Africa, and the Middle East, along with the wars in Afghanistan and Iraq after 9/11.
1954: The start of a period where Pakistan (or “Gujaratis” in the text) began supporting America, fighting wars on America’s behalf and receiving funding and weapons in return.
1981: The Heritage Foundation initiates “Project 2025,” a long-term plan with input from Republican and religious figures to reshape America based on conservative and Christian values. Ronald Langer is involved in this project.
2003: The U.S. military advertises for recruitment in Iraq. Private military contractors such as Blackwater become prominent.
2013: The Taliban office in Qatar opens, signaling a potential opening for negotiations.
2016: Donald Trump wins the U.S. Presidential election, defying expectations.
2017: The author of the text visits New York both before and after Trump’s election, and discusses Trump’s appeal with a former escort who states she knows the American people well and believes Trump’s slogans resonate with them. The text mentions that in 2017, the author saw a veteran begging in front of Princeton Station.
September 7, 2019: Trump plans a secret meeting with the Taliban at Camp David, but the meeting is canceled overnight.
August 15, 2021: The Taliban retakes Kabul, Afghanistan. A large, US-trained Afghani army quickly surrenders.
Post-Trump Presidency: There is an attempt by the deep state to incite revolution in Syria, which is foiled by the US and Russia reconciliation. The US also attempts to get Pakistan to engage in a war with Iran.
2023: Project 2025 is relaunched, also called the Conservative Promise Mandate for the Leadership. The text implies Trump is looking to take actions he was blocked from in his first term.
Present: Donald Trump seeks to “purge” the legal system and go after his enemies and is using legal means against the establishment.
Cast of Characters
Donald Trump: Former U.S. President. The central figure of the narrative, portrayed as an anti-establishment force seeking to undo the work of the “Deep State,” end wars, and restore conservative values to America. He is described as someone who doesn’t need money, is not a typical politician, and is a symbol for certain groups.
Ronald Langer: An individual associated with the Heritage Foundation and Project 2025 in 1981.
Lizbeth Beatty Jones: A New Yorker writer, described as a former escort with a deep understanding of American people. She discusses Trump’s appeal with the author.
General Bajwa: General of the Pakistan Army. He is mentioned as being involved in peace talks in Afghanistan, although the text insinuates that these talks were deliberately sabotaged to allow unrest to continue.
General Fais: Another general involved in peace talks for Afghanistan and Pakistan
Ashraf Ghani: Former President of Afghanistan, who recognizes the strength of the Taliban.
Joe Biden: Current U.S. President, in office when Kabul fell to the Taliban in 2021, who expressed shock and disappointment at the speed of the Afghan army’s collapse.
Consus Crocker: Ambassador, who gave a briefing stating that the Afghan issue would be addressed at a later date when appropriate.
Jack Smith: A special advisor in the Justice Department, appointed to investigate Trump, who brought several cases against Trump.
Elon Musk: The owner of X, formerly known as Twitter, who has spoken out against Jack Smith and the cases against Trump.
Unnamed Porn Star: A woman who had a prior relationship with Trump who was paid $135,000 to stay quiet.
Richard Grall: An individual whose incident is referenced in regards to damage control being done by Imran Khan and the Pakistani government.
Unnamed Head of the Pentagon: A political appointee, described by the narrator as a “hack” and as a violation of the time-honored customs that the President should consult with the barons of the weapon industry.
Unnamed Fox News presenter: The new head of the Awaaz as appointed by Trump, also seen as an unorthodox choice who has no prior relevant experience and is not a part of the typical establishment.
Key Themes and Context
“Deep State”: The text portrays a shadowy, global power structure, often referred to as the “Deep State,” that is seen as controlling the world for its own benefit. Trump is positioned as an opponent of this force.
American Exceptionalism and Decline: There’s an undercurrent of concern about America’s decline, its moral decay, and the damage it has inflicted in its foreign interventions.
Conservative and Religious Agendas: Project 2025 is seen as a vehicle to bring back traditional values to America, with a strong focus on conservative and Christian viewpoints and also a condemnation of LGBT rights and abortion rights.
War and Military-Industrial Complex: The text is critical of the U.S. military-industrial complex, which is seen as profiting from endless wars. The narrative also highlights the negative consequences of military intervention on the veterans involved.
Trump’s Unorthodox Approach: Trump is seen as a figure who defies conventions, challenges the establishment, and does not follow traditional political strategies.
Let me know if you need any clarification or further analysis.
Trump’s Agenda: Populism, Power, and the “Deep State
Based on the provided sources, here’s a breakdown of Donald Trump’s agenda:
Core Objectives and Ideologies:
Challenging the Establishment: Trump aims to dismantle what he perceives as the “deep state” [1], which he believes has been controlling the world system since around 1920 and especially since the Bretton Woods Agreement of 1944 [2]. He sees himself as having come to the fore by defeating the American establishment [1].
Reversing Globalist Policies: Trump seeks to reverse steps towards a new world order that he believes the U.S. has been pushing for [1]. He is critical of the global financial system controlled by the US through the dollar, the IMF, and the World Bank [2].
Restoring Traditional Values: Trump’s agenda is rooted in appealing to a specific segment of the American population that he sees as desiring a return to a lost society [3]. He is against abortion rights [4], the LGBT movement [4, 5] and what he perceives as a decline in traditional morality and religion [1].
“America First” Policy: This includes securing borders by finishing the wall, deporting illegal immigrants, and limiting immigration [3]. He believes that immigrants are a burden on the welfare system [6].
Dismantling the Military-Industrial Complex: Trump wants to dismantle the US military-industrial complex that grew after 9/11 [5]. He is critical of the wars in Afghanistan and Iraq, which he believes were driven by the interests of a few capitalists [2, 5].
Specific Policy Proposals and Actions:
Economic Policy: Trump intends to use strategic oil reserves to control energy prices and buy oil from Saudi Arabia and Venezuela [3]. He also wants to reduce government spending to reduce inflation [3]. He seeks to make federal bureaucracies more accountable to the president and Congress [3].
Education: Trump seeks to move control and funding of education away from DC bureaucrats directly to parents and local governments [3]. He also aims to reform the education system [7] by ending what he considers to be harmful influences, such as the promotion of LGBT issues [5, 7].
Foreign Policy: Trump aims to end the wars in many places and destroy the US military-industrial complex [5]. He wants to end U.S. involvement in conflicts abroad and focus on domestic issues [8, 9].
Afghanistan: He attempted to negotiate a deal with the Taliban [8], and he viewed the situation in Afghanistan as a test case [10]. He is critical of the way the US handled the withdrawal from Afghanistan [10]. He aims to change South Asian policies [9].
Middle East: Trump considers Israel to be very important [7]. He moved the American embassy to Jerusalem [7].
Relations with Russia: There was a reconciliation between Russia and America during Trump’s presidency [11].
Legal System: Trump aims to “purge” the legal system and turn it against the establishment [4]. He feels he was targeted by the legal system [4, 12].
Social Issues: Trump opposes abortion [4] and the LGBT movement [4, 5]. He also wants to ban biological males from competing in women’s sports [5].
Underlying Themes and Motivations
Populism: Trump’s appeal is based on connecting with a “prototype image” that resonates with the American people, including stereotypes about minorities and immigrants [6].
Power Consolidation: Trump wants to centralize authority in the presidency [4], diminishing the power of democratic institutions.
Anti-Interventionism: Trump is an anti-war figure who is opposed to U.S. intervention in foreign conflicts [13].
Use of Media: Trump has a habit of experimenting with the media and has been compared to the Roman Emperor Caligula [4], who was known for his eccentric behavior.
Challenges to Trump’s Agenda
Deep State Opposition: The deep state is actively working against Trump’s agenda [11].
Establishment Resistance: Trump faces resistance from the media, the military, and the civil service [12].
Internal Conflicts: There are internal conflicts among those who support Trump [6].
Legal Challenges: Trump has been targeted by numerous legal cases [12].
It’s worth noting that these sources present a critical view of Trump and his agenda.
The Deep State: Global Power and Resistance
Based on the provided sources and our conversation history, here’s a discussion of the “deep state’s” power:
Definition and Origin:
The “deep state” is described as a powerful entity that has been controlling not just America, but the world system, since around 1920 [1, 2]. Its influence became more solidified after the Bretton Woods Agreement was signed in 1944 [2].
The deep state’s control is exerted through various mechanisms, including the dollar, the IMF, the World Bank, and the United Nations [2].
Mechanisms of Control
Financial Control: The deep state uses the dollar to control the global financial system. They established institutions like the IMF and the World Bank and use the United Nations to maintain this control [2].
Military-Industrial Complex: This complex is a key part of the deep state’s power. It includes the large capitalists of America who deal in currency, missiles, and military equipment. These groups are seen as having instigated the Cold War and various other wars to further their capital [2].
Media Manipulation: The deep state also controls media outlets and uses them to manipulate public opinion [3, 4].
Bureaucratic Power: Bureaucrats within the government, both in America and in other countries, are part of the deep state. These bureaucrats are described as being very strong and can foil agendas, including Trump’s [5].
Actions and Influence
Undermining Trump: The deep state is actively working against Trump’s agenda [4]. They have used the media, the halls of power, and the military and civil service to try to defeat him [3]. They have used the courts to attack Trump through numerous legal cases [3].
Maintaining Conflicts: The deep state has an interest in maintaining conflicts around the world. This includes the wars in Afghanistan and Iraq, which are seen as being driven by the military-industrial complex [6]. The deep state also wanted to keep the conflict in Afghanistan going [7].
Control of Global Policies: It is suggested that the deep state influences global policies, including those related to South Asia, and has been manipulating the US relationship with Pakistan since 1954 [8].
Regime Change: The deep state is involved in regime change operations around the world [4].
Opposition and Challenges
Trump’s Challenge: Trump sees himself as having come to the fore by defeating the deep state. His agenda includes dismantling the military-industrial complex, ending US involvement in foreign conflicts, and reversing what he sees as the deep state’s globalist policies [1, 2].
Resistance: The deep state is resisting Trump’s efforts to challenge them. They are attempting to undermine him through various means, including legal challenges and media attacks [4].
Important Note: The sources present a critical view of the “deep state,” characterizing it as a powerful and manipulative entity. The term itself is often used in conspiracy theories, and it’s important to consider the possibility that these claims might not be fully verifiable.
In summary, the “deep state” is portrayed in the sources as a powerful, shadowy network that controls global systems through financial, military, and political manipulation. It is seen as the primary obstacle to Trump’s agenda.
Trump, the Deep State, and Global Power
Based on the sources and our conversation history, here’s a discussion of global politics, particularly as they relate to Donald Trump’s agenda and the concept of the “deep state”:
The “Deep State” and Global Control:
The sources describe a “deep state” as a powerful entity that has been controlling the world system since around 1920, becoming more entrenched after the 1944 Bretton Woods Agreement [1, 2].
This “deep state” is said to exert its influence through various mechanisms, including:
Financial Control: The use of the U.S. dollar as the world’s reserve currency, along with institutions like the IMF and World Bank, allows the “deep state” to control the global financial system [2]. The United Nations is also used to maintain this control [2].
Military-Industrial Complex: This is composed of large American capitalists who profit from manufacturing weapons, and are seen as instigators of conflicts, like the Cold War, to further their capital [2].
Media Manipulation: The “deep state” controls media outlets to shape public opinion [3].
Trump’s Challenge to the Existing Global Order:
Anti-Globalist Stance: Trump is depicted as challenging the established global order, which he believes is controlled by the “deep state.” He aims to reverse steps toward a “new world order” [1].
“America First” Policy: This policy is focused on domestic issues and aims to disengage from international conflicts [1, 4].
Dismantling the Military-Industrial Complex: Trump is critical of the military-industrial complex and the wars it generates, especially in Afghanistan and Iraq, which he sees as driven by the interests of a few capitalists [2, 5].
Reversal of US Foreign Policy: Trump is viewed as seeking to alter U.S. foreign policy, particularly in South Asia [6].
Key Areas of Global Political Conflict:
Middle East:Israel: Trump sees Israel as very important and moved the U.S. embassy to Jerusalem [7]. There are also internal conflicts within the US regarding Israel, with some Jewish groups protesting against Israeli policies [7].
Arab Nations: Arab nations are described as being dependent on the U.S. for security, which is tied to the expansion of Israel [2].
Syria: The “deep state” is described as attempting to initiate a revolution in Syria [8].
Afghanistan:US Withdrawal: The withdrawal from Afghanistan was a major issue, with Trump attempting to negotiate with the Taliban, however his efforts were undermined by the establishment [9, 10].
Contradictory Strategies: The US employed a strategy of building an Afghan army and arming them, which ultimately proved ineffective [10, 11].
South Asia: Trump is viewed as a potential “nightmare for Pakistan” due to his potential changes in South Asian policy, where the US has had a history of providing aid and support [6].
China:Economic Relations: Despite geopolitical tensions, the US has strong trade relations with China, with many goods made in China due to cheap labor [12].
Geopolitical Tensions: The presence of a US fleet in the China Sea demonstrates continued tensions [12].
Internal Conflicts and Challenges:
Deep State Opposition: Trump faces significant opposition from the “deep state,” which is attempting to undermine him through legal challenges, media manipulation, and bureaucratic obstruction [3, 8, 13].
Establishment Resistance: Trump faces resistance from various establishment forces, including the media, the military, and the civil service [3, 8].
Internal Conflicts: Even within those who support Trump, there are internal conflicts and differing views on his policies [7].
New World Order:
Trump’s Vision: Trump is said to want to bring a “new world order”, however this is in opposition to the existing new world order that he sees as being controlled by the deep state [1, 7].
Fear of Trump’s policies: Those who oppose Trump are fearful of his potential to dismantle the current global order, particularly concerning social issues like LGBT rights [7].
Overall, the sources portray global politics as a complex web of power struggles, with Trump attempting to disrupt the established order controlled by the “deep state.” The sources emphasize the importance of economic, military, and media manipulation in maintaining this existing order. It is important to note that the “deep state” is a controversial concept and some of the claims presented are not easily verifiable.
Trump, the Deep State, and US Foreign Policy
Based on the provided sources and our conversation history, here’s a discussion of US foreign policy, particularly as it relates to Donald Trump and the “deep state”:
Key Elements of US Foreign Policy According to the Sources
The “Deep State” and US Foreign Policy: The sources suggest that a “deep state” has significantly influenced US foreign policy since around 1920, with its power solidifying after the Bretton Woods Agreement in 1944 [1, 2]. This “deep state” uses financial mechanisms like the dollar, the IMF, and the World Bank, along with the United Nations, to control the global system [2].
Military-Industrial Complex: A major aspect of US foreign policy is the influence of the military-industrial complex [3]. This complex, comprised of large American capitalists who profit from arms manufacturing, is seen as a driving force behind conflicts, including the Cold War and wars in Afghanistan and Iraq [2, 3]. The US military-industrial complex is described as having benefited greatly from these conflicts [3].
Maintaining Global Conflicts: The “deep state” is portrayed as having an interest in maintaining conflicts around the world. This is seen in the wars in Afghanistan and Iraq, which are viewed as being driven by the military-industrial complex, and there is also a desire by the deep state to maintain conflict in Afghanistan [3, 4].
Trump’s Challenge to US Foreign Policy
“America First” Policy: Trump’s foreign policy is characterized by an “America First” approach that prioritizes domestic issues and disengagement from international conflicts [1, 5].
Anti-Interventionist Stance: Trump is depicted as being against unnecessary foreign intervention, particularly military actions in places like Afghanistan and Iraq [3]. He is critical of the existing global order [1, 5].
Dismantling the Military-Industrial Complex: Trump aims to dismantle the military-industrial complex, which he sees as a source of unnecessary wars and financial exploitation [3].
Reversal of US Foreign Policy: Trump is viewed as seeking to alter U.S. foreign policy, particularly in South Asia [5].
Specific Regions and Issues
Middle East:Israel: Trump moved the U.S. embassy to Jerusalem, despite opposition, because he believed that a Jewish temple should be built there so that Jesus would come and punish those who crucified him [6].
Arab Nations: The US has influenced Arab nations to be dependent on it for security due to the expansion of Israel [2].
Syria: The “deep state” is described as trying to start a revolution in Syria [7].
Afghanistan:US Withdrawal: Trump attempted to negotiate with the Taliban and withdraw US forces, but these efforts were undermined by the establishment [8, 9].
Failed US Strategy: The US strategy of building and training an Afghan army is described as having failed. This army was ultimately ineffective against the Taliban [4, 9].
South Asia: The sources suggest that Trump’s policies could be a “nightmare for Pakistan” [5]. The US has a long history of providing aid and support to Pakistan, but Trump is viewed as potentially ending this relationship due to a change in his South Asian strategy [5].
China: Despite tensions, the US has strong trade relations with China, where many goods are produced due to cheap labor [10]. There is a US naval presence in the China Sea, which has not been contested by China [10].
Internal Conflicts and Challenges
Deep State Opposition: Trump has faced resistance from the “deep state” which uses legal challenges, media manipulation, and bureaucratic obstruction to undermine his foreign policy goals [11, 12].
Establishment Resistance: Trump has also faced opposition from establishment forces, including the media, the military, and the civil service [11, 12].
Conflicting Goals: There are internal conflicts and varying viewpoints, even among Trump’s supporters, regarding his foreign policies [6].
US Foreign Policy and the New World Order
Trump’s Vision: Trump wants to bring a “new world order,” but one that counters the existing order controlled by the “deep state” [6].
Opposition to Trump’s policies: There is fear among some that Trump’s policies could dismantle the current global order, especially regarding social issues like LGBT rights [6].
In summary, the sources portray US foreign policy as being heavily influenced by the “deep state” and the military-industrial complex, with Trump attempting to reverse this established order through an “America First” approach. Trump’s policies are viewed as being anti-interventionist and seeking to reduce US involvement in global conflicts. The sources also highlight the internal and external challenges that Trump has faced in trying to implement his foreign policy vision. The concept of a “deep state” is controversial, and it is important to approach claims related to this concept with caution.
Pakistan’s Future Under Trump
Based on the provided sources and our conversation history, here’s a discussion of Pakistan’s potential future, particularly as it relates to Donald Trump and the global political landscape:
Pakistan’s Current Situation
Dependent on Foreign Aid: Pakistan is described as being heavily reliant on foreign aid and financial assistance from organizations like the IMF and USAID [1]. This dependence has been ongoing since 1954 [1].
Internal Divisions: There is an internal conflict between the Pakistani establishment and the youth of Pakistan, who are aware of the country’s limitations [2].
Instability: The sources indicate that Pakistan has been involved in conflicts and instability, particularly along its border with Afghanistan, and this instability is linked to US foreign policy [3].
Strained Relationship with the US: The sources suggest that Pakistan has been a close ally of the US, particularly in the fight against terrorism and as a partner in the Cold War [1], but that this relationship is potentially at risk with a change in US policy [1].
Trump’s Potential Impact on Pakistan
Nightmare for Pakistan: Trump’s potential policies are described as a “big nightmare” for Pakistan [1, 2]. This is because he is viewed as seeking to reverse the existing foreign policy of the US [2].
End of US Support: Trump is viewed as potentially ending the US’s reliance on Pakistan as a strategic partner in the region, which could significantly affect the country’s financial and political stability [1].
Shift in South Asia Policy: Trump’s South Asia policy is described as focusing on Afghanistan, Pakistan, and India [1]. His aim is to create stability in Afghanistan, and he may view Pakistan as an obstacle to this [1].
Reduced Importance: The sources suggest that if Pakistan is no longer seen as a necessary ally in the region, its strategic importance and its “love status” with the US will diminish [1].
Pakistan’s Role in Regional Conflicts
Afghanistan: Pakistan was involved in trying to establish peace in Afghanistan and there was an attempt to bring Imran Khan to power [3]. However, the US wanted to maintain instability in Afghanistan, creating conflict [3]. The sources indicate that there is now peace in Afghanistan but Pakistan is facing the negative consequences of that instability [3].
Iran: The sources note that the US would like Pakistan to fight a war with Iran due to Israeli pressure [4]. However, this has not happened and may be unlikely [4].
Border Conflicts: The sources suggest that Pakistan has been involved in conflicts along its border with Afghanistan, and this is linked to the desire of the US to destabilize the region [3].
Internal Challenges
Economic Dependence: The country is heavily dependent on foreign aid and loans which limits its autonomy [1].
Political Instability: There are internal political divisions within the country, and the deep state is described as trying to destabilize Pakistan through various methods [5, 6].
Public Awareness: The youth of Pakistan is described as being aware of the extent of Pakistan’s limitations [2].
Potential Future Scenarios
Reduced US Support: If Trump’s policies are implemented, Pakistan could face a significant reduction in US aid and support, which could further destabilize the country [1].
Increased Internal Pressure: With less external support, Pakistan may face increased internal pressure and instability [2].
Shift in Regional Dynamics: Trump’s policies could alter the geopolitical landscape in South Asia, potentially leading to new alliances and conflicts [1].
Economic Challenges: Without US aid, Pakistan could face economic challenges [1].
Focus on Internal Affairs: Pakistan may need to prioritize internal development and stability, given that it may lose its geopolitical importance to the US [2].
Key Takeaways
Uncertainty: Pakistan’s future is uncertain, as it is dependent on US foreign policy, and Trump’s policies could significantly alter its situation [1].
Internal and External Pressures: Pakistan is facing a combination of internal divisions and external pressures, which could destabilize the country [2, 3].
Potential for Change: There is a potential for significant changes in Pakistan’s geopolitical standing in the region based on the outcome of the US election [1].
In summary, the sources suggest that Pakistan’s future is closely linked to US foreign policy and the actions of Donald Trump, and that Trump’s policies could create a difficult situation for Pakistan, ending the country’s strategic alliance with the US. The sources also indicate that the country is facing numerous internal and external challenges which could impact its stability.
Affiliate Disclosure: This blog may contain affiliate links, which means I may earn a small commission if you click on the link and make a purchase. This comes at no additional cost to you. I only recommend products or services that I believe will add value to my readers. Your support helps keep this blog running and allows me to continue providing you with quality content. Thank you for your support!
This news broadcast covers several developing international situations. It reports on escalating tensions between the United States, Israel, and Iran concerning Iran’s nuclear program, including the deployment of US B-52 bombers to the Middle East and diplomatic efforts involving Saudi Arabia. The broadcast also examines internal and external issues facing Lebanon’s new government, especially regarding Hezbollah’s influence and the country’s relationship with Syria and other countries. Finally, it addresses upcoming US-Russia talks on the war in Ukraine without Ukraine’s participation, sparking concerns among European leaders and Zelensky about transatlantic relations. The tone is one of analysis, reporting on potential negotiations, possible military actions, and shifting political landscapes. Several experts are interviewed to provide insight on the issues.
Middle East Tensions and Geopolitical Shifts: A Study Guide
Quiz
Answer each question in 2-3 sentences.
What was the significance of the B-52H bomber flight data and where were they headed?
What conditions did the US, represented by Rubio and Trump’s advisor Wallace, set for negotiations with the Islamic Republic?
What role is Saudi Arabia willing to play in the potential negotiations between the United States and the Islamic Republic?
According to Hossein Aghaei, what are the two options being discussed in relation to the Islamic Republic’s nuclear facilities, and which one is more likely?
What are the contradictory reports about the protests in Dehdasht, Iran, and what do they suggest about the government’s approach?
What are the criticisms levied against Prince Reza Pahlavi regarding the composition of his close associates and his claim to leadership?
What is the Lebanese government trying to achieve by excluding Hezbollah from the cabinet?
What specific actions has the Lebanese government taken to reduce Hezbollah’s influence?
What are the reasons behind the ban on flights to Beirut International Airport, and how does this affect Hezbollah’s operations?
What is Zelensky’s reaction to the US-Russia negotiations on the war in Ukraine without Ukraine’s presence?
Quiz Answer Key
The flight data of two US Air Force B-52H bombers showed their departure from the UK towards the Middle East, emphasizing the seriousness of the US’s stance amid heightened tensions with the Islamic Republic. This flight suggests a show of force and potential military readiness in the region, particularly in light of ongoing nuclear debates.
The US set the condition that the Islamic Republic must completely dismantle its nuclear program, including reducing centrifuges and stopping uranium enrichment, as a prerequisite for any negotiations to begin. These demands reflect the US’s firm stance against the Islamic Republic’s nuclear ambitions and its commitment to preventing nuclear proliferation.
Saudi Arabia has offered to mediate between the United States and the Islamic Republic in order to facilitate negotiations, which is a new phenomenon compared to the Obama era. This willingness indicates Saudi Arabia’s desire to play a more active role in regional diplomacy and security.
According to Hossein Aghaei, the two options being discussed are negotiations and an attack on the Islamic Republic’s nuclear facilities. He believes that military pressure and serious threats are more likely if the Islamic Republic does not quickly make concessions sought by the US.
There are contradictory reports about the protests in Dehdasht, with the IRGC Intelligence Organization reporting the arrest of protest leaders for sabotage, while the provincial police chief denies the protests ever occurred. These contradictory reports indicate an attempt by the government to downplay the significance of the protests and suppress dissent while controlling the narrative.
Criticisms against Prince Reza Pahlavi include concerns about the lack of diversity among his close associates, who primarily represent a specific political spectrum. He is also criticized for claiming leadership of the transition period without broader recognition from other political parties or opposition groups.
By excluding Hezbollah from the cabinet, the Lebanese government is trying to reduce the group’s influence to the lowest possible level. This action is aimed at weakening Hezbollah’s political power and limiting its ability to veto important government decisions.
The Lebanese government’s actions include electing a president and prime minister who are not aligned with Hezbollah, forming a cabinet without Hezbollah members, and supporting the ban on flights to Beirut International Airport, which were allegedly used to transport money and weapons to Hezbollah. These moves are aimed at diminishing Hezbollah’s political power and operational capabilities.
The ban on flights to Beirut International Airport is due to concerns that these flights were carrying large amounts of money and potentially weapons to Hezbollah. This ban is intended to cut off a crucial supply route for Hezbollah, hindering its ability to rebuild and resume operations.
Zelensky has stated that Ukraine does not recognize the US-Russia negotiations, highlighting Ukraine’s opposition to being excluded from discussions about its own future and security. This reaction underscores Ukraine’s insistence on being a central participant in any diplomatic efforts to resolve the conflict.
Essay Questions
Analyze the strategic implications of the US military presence in the Middle East, considering the flight of the B-52H bombers and the potential for either negotiation or military action against the Islamic Republic.
Assess the impact of Saudi Arabia’s willingness to mediate between the United States and the Islamic Republic on regional power dynamics and the prospects for diplomatic resolution.
Discuss the significance of the protests in Dehdasht, Iran, and the conflicting reports surrounding them, in the context of broader domestic challenges facing the Islamic Republic.
Evaluate the potential for a new, independent Shiite movement to emerge in Lebanon, considering the current government’s efforts to reduce Hezbollah’s influence and separate the Shiite population from the group.
Examine the implications of the US-Russia negotiations on the war in Ukraine, particularly in light of Zelensky’s opposition and the potential reshaping of transatlantic relations.
Glossary of Key Terms
B-52H Bombers: Long-range, heavy bomber aircraft used by the United States Air Force, capable of carrying a wide array of munitions, including nuclear weapons.
JCPOA (Joint Comprehensive Plan of Action): An international agreement on the nuclear program of Iran reached in Vienna on 14 July 2015 between Iran, the P5+1 (the five permanent members of the United Nations Security Council—China, France, Russia, United Kingdom, United States—plus Germany), and the European Union.
Islamic Republic: A term referring to the government of Iran, which is based on Islamic principles and law.
Hezbollah: A Lebanese Shia Islamist political party and militant group, heavily supported by Iran.
Centrifuges: Devices used to enrich uranium for nuclear fuel or weapons.
Uranium Enrichment: The process of increasing the concentration of the isotope Uranium-235 in natural uranium to produce fuel for nuclear reactors or material for nuclear weapons.
IRGC (Islamic Revolutionary Guard Corps): A branch of the Iranian Armed Forces, separate from the regular army, tasked with protecting the country’s Islamic system.
Rafik Hariri Airport: The main international airport in Beirut, Lebanon.
Shiite Movement: A branch of Islam whose adherents believe that the leadership of the Muslim world should be passed down through the direct descendants of Muhammad.
Transatlantic Relations: The political, economic, and cultural relations between North America and Europe.
Rastakhiz Party: A former political party in Iran, founded by Mohammad Reza Pahlavi in 1975.
SAVAK: The secret police, domestic security and intelligence service in Iran during the reign of the Pahlavi dynasty.
Liberal Democrat: A political ideology combining liberal politics with a more overt commitment to social justice.
Reformists: Individuals or groups advocating for gradual change and improvement in a political or social system.
Fundamentalist: A strict adherence to the basic principles of any subject or discipline.
Monarchists: Individuals or groups who support a system of government headed by a monarch.
Republicans: Individuals or groups advocating for a form of government in which the head of state is not a monarch, typically an elected president.
Constituent Assembly: A body or assembly of popularly elected delegates which is assembled for the purpose of drafting or adopting a constitution or similar document.
Deterrence: The action of discouraging an action or event through instilling doubt or fear of the consequences.
Decline Factor: Internal conditions and trends that can weaken or undermine the stability and power of a state or regime.
Strategic Point: A location or position of military or political importance.
Middle East Geopolitics and US-Russia Negotiations Analysis
Okay, here’s a detailed briefing document summarizing the key themes and ideas from the provided text.
Briefing Document: Analysis of News Headlines
Date: October 26, 2023 (based on the Monday, February 29th, reference) Subject: Analysis of Geopolitical Tensions and Domestic Unrest in Iran and the Middle East.
Executive Summary:
This document analyzes a series of news headlines and discussions covering escalating tensions between the US, Israel, and Iran, domestic unrest in Iran, political maneuvering surrounding Prince Reza Pahlavi, and the complex situation in Lebanon, as well as US-Russia talks on Ukraine. The overarching themes are: the increasing possibility of confrontation between Iran and its adversaries, internal dissent within Iran, shifting alliances in the Middle East, and the potential for a new geopolitical order.
Key Themes and Ideas:
1. Escalating US-Iran Tensions and Nuclear Concerns:
Threat of Military Action: The deployment of US B-52 bombers to the Middle East, coupled with statements from US and Israeli officials, suggests a heightened threat of military action against Iran’s nuclear facilities. “Two US Air Force B-52H bombers departed from the UK’s Fay Ford Air Base, accompanied by at least 4 tanker aircraft, and crossed the Mediterranean Sea towards the Middle East.” Mark Rubio and Netanyahu “emphasized that they will not allow Tehran to obtain nuclear weapons.”
Preconditions for Negotiation: The US is setting strict preconditions for negotiations with Iran, including the complete dismantling of its nuclear program. “Mr. Wallace has raised the point that the Islamic Republic must put aside its entire nuclear program… Mr. Rubio… believes that the Islamic Republic must put aside all of its nuclear ambitions altogether, and this could be a prelude to starting negotiations with the Islamic Republic.”
Iranian Defiance: Iranian officials are publicly dismissing the threats and asserting their defensive capabilities, though some analysts believe this is primarily for domestic consumption. “The Leader of the Islamic Republic, Ali Khamenei, also said in a speech that our issue is not a hardware or defense threat, and there is no problem in this regard.” One analyst stated that the Iranian Leaders view that the “Islamic Republic has absolutely no problems in terms of defense capabilities… are primarily misleading, incorrect, contrary to the facts on the ground.”
Saudi Mediation: Saudi Arabia is offering to mediate between the US and Iran, indicating a potential shift in regional dynamics and a desire to de-escalate tensions. “Riyadh and Saudi Arabia are willing to mediate between the United States and the Islamic Republic in order for negotiations to take place.”
Diplomatic Window: The “diplomatic window” for negotiations is considered very limited and that increased military pressure is being considered. “The diplomatic window that Trump has opened will be very, very limited. I think that the maximum will be this summer at best, and it may not even reach that time.”
2. Internal Unrest and Political Division in Iran:
Protests in Dehdasht: Reports of protests in Dehdasht, Iran, are met with contradictory official responses, with some sources denying the protests occurred and others reporting arrests of protest leaders. “Contradictory statements about the Dehdasht protest rallies continue, while the Kohgilu police commander has completely denied the occurrence of the rally in Dehdasht.”
Criticism of Leadership and Dissension: Dissension and unrest in the population are creating a “factor of decline” that are creating internal fears within the Republic. “The main source of concern for the Islamic Republic is internal rather than external. They are trying to prevent that collapse factor in some way.”
Prince Reza Pahlavi’s Role: The role and potential leadership of Prince Reza Pahlavi, is generating discussion, with some moderate groups welcoming his pronouncements and other groups questioning those around him. “Prince Reza Pahlavi’s comments criticizing the slogan ‘King Reza Pahlavi’ not to insult the opposition and not to raise the issue of monarchy or republic at the current stage… More moderate groups are welcoming the talks of Prince Reza Pahlavi.” However, others state that “we don’t see this diversity among his main close associates.”
Lack of Unified Opposition: The lack of a unified opposition is being criticized, with some arguing that critics of Pahlavi should focus on organizing themselves instead of solely criticizing him. “The time for you to criticize Mr. Pahlavi but not organize yourself… not be able to present an alternative leadership is over.”
3. Lebanon’s Internal and External Challenges:
Israeli Withdrawal and Hezbollah: Lebanon faces both the issue of Israel’s withdrawal from southern Lebanon and the need to manage Hezbollah’s influence within the country. The Lebanese government faces external pressures from Israel and internal tensions related to Hezbollah’s power. “The Israeli issue, which is due to withdraw from southern Lebanon tomorrow, coincident with the end of the 60-day ceasefire with Hezbollah.”
Reduced Hezbollah Influence: The new Lebanese government is attempting to reduce Hezbollah’s influence, including excluding them from cabinet positions, supported by US policy. “The current Lebanese government is trying to reduce Hezbollah’s influence to the lowest possible level.”
Saudi Support for Lebanese Government: Saudi Arabia’s support for the Lebanese government signifies a shift in regional power dynamics and a challenge to Iran’s influence. “Saudi Arabia’s support for the Lebanese government in dealing with the protesters is another sign of the new balance of power in Lebanon, which will not be good news for the Islamic Republic, the party’s main supporter.”
New Shiite Movement: The possible emergence of a new Shiite movement independent of Hezbollah and Iran is being speculated on. “I think we are witnessing the birth of a new Shiite movement in Lebanon, which is neither Hezbollah nor Amal, a Shiite movement that has learned from and no longer wants to be subordinate to a foreign country.”
4. US-Russia Negotiations on Ukraine:
Negotiations without Ukraine and Europe: The US is engaging in negotiations with Russia on the war in Ukraine without the direct involvement of Ukraine or European countries, causing concern among those parties. “US Secretary of State Mark Rubio, along with the National Security Advisor and the US Special Envoy for the Middle East, will meet with Russian representatives… Zelensky… said that we do not recognize the US-Russia negotiations.”
Trump’s Approach: Donald Trump is taking a different approach to the conflict, prioritizing negotiations and potentially seeking a quick resolution, which is causing friction with transatlantic allies. “Mr. Trump is rewriting transatlantic relations, that is, relations between the two sides of the Atlantic Ocean.”
Potential Outcome: The implications of these negotiations for the future of Ukraine and European security are uncertain. “Kremlin spokesman Dmitry Peskov has also confirmed that representatives from the Russian Federation are going to be present. This will be the first stage, so that the two sides can sit down and work out their differences.”
Conclusion:
The news headlines paint a picture of a volatile and uncertain geopolitical landscape. The potential for conflict in the Middle East, coupled with internal challenges within Iran and shifting alliances, highlights the need for careful diplomacy and strategic planning. The US-Russia negotiations on Ukraine also point to a potential reshaping of the international order. These developments will require close monitoring and analysis in the coming weeks.
US, Iran, and Middle East Tensions: Analysis and Developments
FAQ
What is the significance of the US Air Force B-52H bombers being deployed to the Middle East? The deployment of B-52H bombers to the Middle East, especially following threats from Rubio and Netanyahu against Iran, is a significant show of force and a signal of the US and Israel’s determination to prevent Iran from obtaining nuclear weapons. It suggests a potential escalation of tensions and a readiness to consider military options, although it could also be interpreted as a deterrent intended to bring Iran to the negotiating table.
What are the preconditions for negotiations between the US and Iran, according to US officials? According to remarks attributed to Mr. Wallace, Trump’s National Security Advisor, and US Secretary of State Rubio, a key precondition for negotiations between the US and Iran is that Iran must completely dismantle its nuclear program, including ceasing uranium enrichment and reducing its centrifuges. This position aligns with Trump’s stated desire for negotiations, but only under stringent conditions.
What role is Saudi Arabia attempting to play in the US-Iran dynamic? Saudi Arabia has expressed a willingness to mediate between the US and Iran. This marks a shift from the Obama era, where the US did not seek Saudi Arabia’s input on the JCPOA. Saudi Arabia’s involvement suggests a regional desire for de-escalation, but also a preference for a deal that addresses their concerns about Iran’s regional influence and nuclear ambitions.
What is Ali Khamenei’s response to the increasing pressure and threats from the US and Israel? Ali Khamenei has dismissed concerns about Iran’s defense capabilities, stating that Iran has no problems in this regard and is ready to confront serious threats. However, experts cited in the broadcast suggest that these statements are primarily for domestic consumption and may not accurately reflect the actual situation. The Islamic Republic may be more concerned with internal factors and a potential decline in domestic support.
What is happening with the protests in Dehdasht, Iran, and how are they being reported? Protests have taken place in Dehdasht, with citizens chanting anti-government slogans. However, the Iranian government’s media approach has been one of denial. While some news agencies affiliated with the IRGC have reported arrests of individuals allegedly planning sabotage, others deny the protests even occurred. This contradictory reporting and the reported use of violence against protesters indicate a sensitive security situation and an effort by the government to suppress dissent and control information.
What are the different perspectives on Prince Reza Pahlavi’s role and leadership within the Iranian opposition? Prince Reza Pahlavi’s recent comments at a convergence meeting have sparked debate among the Iranian opposition. While some, particularly more moderate groups, welcome his criticisms of extremist rhetoric and calls for unity, others criticize the lack of diversity among his close associates and question his self-proclaimed leadership of the transition period. Some argue that those around him push polarizing views. There are conflicting opinions regarding whether he is a unifying figure or is surrounded by advisors who are too partisan and right-wing.
What is the situation with Hezbollah and the Lebanese government, and what is Saudi Arabia’s role? The Lebanese government, under President Joseph O’Neill and Prime Minister Nawab Salam, is facing both external pressure from Israel and internal challenges related to Hezbollah’s influence. The new government is trying to reduce Hezbollah’s influence, culminating in a cabinet without Hezbollah members. Saudi Arabia is supporting the Lebanese government, signaling a new balance of power in Lebanon that is unfavorable to Iran, Hezbollah’s main supporter.
What is the status of US-Russia negotiations on the war in Ukraine, and how are European leaders and Zelensky reacting? The US and Russia are scheduled to hold negotiations in Riyadh regarding the war in Ukraine, without the presence of Kiev or European countries. Zelensky has stated that Ukraine does not recognize these negotiations. European leaders are holding emergency meetings to discuss their response, amidst growing pressure from the US for them to shoulder more of the financial burden of supporting Ukraine. The situation reflects a potential shift in transatlantic relations and concerns about the future of the conflict.
US-Iran Tensions: Nuclear Program, Military Threats, and Negotiations
Tensions between the U.S. and Iran are a prominent topic in the news, particularly regarding Iran’s nuclear program and regional influence. Here’s a breakdown of the situation:
Nuclear Ambitions: The U.S., along with Israel, is concerned about Iran’s pursuit of nuclear weapons. Both countries have stated they will not allow Iran to obtain them. The U.S. has indicated that negotiations with Iran are contingent on Iran completely halting uranium enrichment and dismantling its centrifuges.
Military Threats and Deterrence: The U.S. has sent B-52H bombers to the Middle East as a signal of its commitment to prevent Iran from acquiring nuclear weapons and to deter military action. There are discussions about potential military actions against Iran’s nuclear facilities if negotiations fail.
Iranian Response: Iran maintains that its nuclear program is for peaceful purposes. Iranian officials have asserted that threats against Iran are a violation of international law and that Israel “cannot do anything wrong”. Iran’s Leader, Ali Khamenei, has stated that the country’s defense capabilities are robust, though some analysts believe this is primarily for domestic consumption to prevent internal dissent.
Negotiation Prospects: There are talks of potential mediation by Saudi Arabia or Russia between the U.S. and Iran. However, the U.S. conditions for negotiation, which include eliminating all perceived threats from Iran, may be difficult for Iran to accept in a short timeframe. Some analysts believe the window for diplomacy is limited.
Regional Influence: Iran’s regional influence is also a point of contention. Israel believes Iran is trying to compensate for its reduced regional influence by developing nuclear weapons.
Nuclear Negotiations: US and Iranian Perspectives
Here’s what the sources and our conversation history say about nuclear negotiations and related issues:
Conditions for Negotiation: The U.S. has indicated that any negotiations with the Islamic Republic of Iran are conditional on Iran’s willingness to significantly reduce its centrifuges and completely stop enriching uranium. The U.S. preconditions also include eliminating all combined threats from the Islamic Republic, with a focus on the nuclear issue.
U.S. Stance: The U.S., under the Trump administration, is seeking negotiations with Iran but insists that these negotiations will only commence when Iran demonstrates a willingness to curtail its nuclear program. The seriousness of the United States and Israel in preventing the Islamic Republic from obtaining nuclear weapons has become more prominent.
Iranian Perspective: An excerpt indicates that the Islamic Republic might be ready to do anything to have the sanctions lifted. However, it seems unlikely that the Islamic Republic will want to make concessions in the shortest possible time in relation to all those combined threats.
Potential Mediation: There is potential for Saudi Arabia and even Russia to mediate between the U.S. and the Islamic Republic.
Limited Diplomatic Window: The diplomatic window that Trump has opened will be very limited, perhaps only until the summer. It is unlikely that Trump will allow the Islamic Republic to waste time if it does not intend to negotiate and make the concessions sought by the U.S..
Consequences of No Deal: If the Islamic Republic does not come to the negotiating table and offer the concessions sought by the U.S., the U.S. and Israel may enter a military phase or make credible and serious military threats against the Islamic Republic.
Iranian Nuclear Ambitions: Israel believes that Tehran is trying to compensate for its reduced regional influence by producing nuclear weapons. Gideon O’Sarr confirmed that Israel will not allow the Islamic Republic to obtain nuclear weapons.
B-52 Bomber Flights: The United States Air Force sent B-52H bombers to the Middle East, which could be seen as a signal to the Islamic Republic regarding America’s determination to confront a military attack on the nuclear facilities of the Islamic Republic.
Lebanon’s Government: Challenges, Composition, and Hezbollah’s Influence
The Lebanese government faces significant internal and external crises. Here’s a summary of the key points regarding Lebanon’s government:
External Pressures: The Lebanese government is dealing with the issue of Israel’s presence in southern Lebanon and is trying to ensure Israel withdraws on time through political and diplomatic efforts.
Internal Challenges with Hezbollah: The Lebanese government is trying to reduce Hezbollah’s influence. The current Lebanese government, unlike previous ones, does not include any Hezbollah members, which is an unprecedented development.
Government Composition: Joseph Onn was elected as the country’s president, and Nawaf Salam was elected as the prime minister despite Hezbollah’s opposition. The current cabinet does not include any Hezbollah members, preventing them from vetoing important decisions.
U.S. Influence: The U.S. has been দ্রুত in opposing Hezbollah’s presence in the Lebanese government, with the U.S. administration stating that a strong Lebanese government that can depose Hezbollah is its goal.
Recent Clashes: Recent clashes around Beirut’s Rafik Hariri Airport and the ban on flights to Lebanon are signs of Hezbollah’s increasing predicament.
Saudi Arabia’s Support: Saudi Arabia is supporting the Lebanese government in dealing with protesters, which is indicative of a new balance of power in Lebanon that is not favorable for Iran, Hezbollah’s main supporter.
Efforts to Separate Shiite Identity from Hezbollah: The Lebanese government is trying to separate the Shiite community from Hezbollah, as millions of Shiites live in Lebanon, and the government aims to create a new Shiite movement that is not subordinate to a foreign country and wants to integrate with other Lebanese groups.
Hezbollah’s Revival Efforts: Hezbollah is planning a grand event to announce its revival, but the Lebanese government has closed an air route that was allegedly used to transport money and weapons to them.
Dehdasht Protests: Anti-Government Unrest, Arrests, and Media Response
Here’s what the sources say about the Dehdasht protests:
Protests and Slogans: Protests occurred in Dehdasht, with citizens chanting anti-government slogans. These protests followed a pattern seen in many parts of the country.
Timing: The Dehdasht protests began on the evening of the 2nd of Bahman and continued for at least four nights.
Media Coverage and Government Response: Initially, the Islamic Republic’s media denied the occurrence of the Dehdasht protests. Later, the Fars News Agency, affiliated with the Revolutionary Guard Corps (IRGC), reported the arrest of individuals described as leaders and ringleaders of the protests. However, this report did not explicitly acknowledge that protests had taken place, instead claiming that the arrested individuals intended to carry out sabotage.
Contradictory Statements: There have been contradictory statements regarding the Dehdasht protests. While the Fars News Agency reported arrests, the provincial police chief denied that any gathering had occurred.
Arrests and Violence: Reports and images indicate that direct shooting was carried out against protesting citizens. Human rights media have published the names of at least 25 people reportedly arrested in Dehdasht by the IRGC Intelligence Organization and the Ministry of Intelligence. The arrests were accompanied by violence.
Security Atmosphere: A security atmosphere prevails in Dehdasht following the protests.
Past Activism: Dehdasht was also an active city in the Women’s Uprising of Freedom protests, during which at least two people were killed.
Allegations Against News: There are claims that certain media outlets undermine Prince Reza Pahlavi, attacking those around him with unsubstantiated claims.
US-Russia Negotiations on Ukraine: A Summary of Perspectives
Here’s what the sources say about the Ukraine war:
US-Russia Negotiations: The U.S. and Russia are holding negotiations in Riyadh regarding the war in Ukraine. These negotiations are occurring without the presence of Kiev or European countries.
US Representatives: Mark Rubio, along with the National Security Advisor and the US Special Envoy for the Middle East, will meet with Russian representatives.
Zelensky’s Stance: Zelensky has stated that Ukraine does not recognize the US-Russia negotiations.
European Response: An emergency meeting of European leaders began in Paris. They are determining their next steps and how to have a foothold in the negotiations between the U.S. and Russia.
Trump’s Perspective: Donald Trump believes that both sides consider the war to be over and will probably meet with Putin soon.
American Press: Headlines in the American press are full of ambiguities. Bloomberg reports that Zelensky considers talks without Ukraine to be dangerous. The Wall Street Journal notes that Trump is rewriting transatlantic relations.
Kremlin Confirmation: Kremlin spokesman Dmitry Peskov has confirmed that representatives from the Russian Federation will be present at the negotiations.
US Explanation to Zelensky: Trump’s special envoy for Ukraine, Keith Kluge, told Zelensky that past peace efforts failed because too many parties were involved. Kluge has stated that it is in the interest of Ukraine and Europe to sit out the initial talks between the US and Russia to allow the two countries to work out their differences.
Jay Dunes’s Speech: Jay Dunes criticized European Union leaders for not defending democracy and for putting the cost of defending Ukraine on American voters and taxpayers. He specifically criticized Germany, which is heading towards elections during a turbulent political atmosphere.
تیتر اول با نیوشا صارمی: پرواز دو بمبافکن بی۵۲ به سمت خاورمیانه، هشدار برای تهران؟
The Original Text
In the first headline tonight with me Nyusha Sarmi B-52 bombers on their way to the Middle East One day after Ruby and Netanyahu’s threatening speech against the Islamic Republic, Khamenei said we are ready to confront serious threats and that my defense is fine Domestic and foreign crisis in Lebanon Israel’s presence and the country’s government’s pressure on Hezbollah after the formation of a cabinet without the presence of members of this group affiliated with the Islamic Republic and Riyadh hosting US-Russian talks on Ukraine without the presence of Kiev Zelensky says we do not recognize the talks Welcome to the first headline Good morning Welcome to the first headline today, Monday’s flight data shows that two US Air Force B-52H bombers departed from the UK’s Fay Ford Air Base, accompanied by at least 4 tanker aircraft, and crossed the Mediterranean Sea towards the Middle East Yesterday, Mark Rubio and Netanyahu emphasized that they will not allow Tehran to obtain nuclear weapons The US Secretary of State today, in response to a question about a possible Israeli attack on the Islamic Republic’s nuclear facilities and Donald Trump’s position on the matter, said that Israel will act based on its national interests Today The Leader of the Islamic Republic, Ali Khamenei, also said in a speech that our issue is not a hardware or defense threat, and there is no problem in this regard. The spokesman for the Iranian Foreign Ministry also said that Israel cannot do anything wrong. Threatening others is a gross violation of international law and the UN Charter, and that in relation to a country like the Islamic Republic of Iran, his answer is that he cannot do anything wrong. At the same time, the Israeli Foreign Minister said today that Tehran is trying to compensate for its reduced regional influence by producing nuclear weapons. Gideon O’Sarr confirmed that his country will not allow the Islamic Republic to obtain nuclear weapons. We will examine this and other news during the program with a team of experts and journalists, but first of all, we will go directly to the White House in the US capital. My colleague Samira Karai is there to talk to her more. Samira, after Marco Rubio’s visit to Israel, perhaps it can be said that now we can have a more accurate picture of what both sides, specifically Israel and the United States, have in mind to confront the issue of the Islamic Republic, and specifically if we look at Mr. Wallace, Mr. Trump’s National Security Advisor,’s remarks about the preconditions for negotiations. We know that no preconditions have been officially announced, but Mr. Wallace has raised the point that the Islamic Republic must put aside its entire nuclear program. Let’s look at what Mr. Rubio, the US Secretary of State, said. He also believes that the Islamic Republic must put aside all of its nuclear ambitions altogether, and this could be a prelude to starting negotiations with the Islamic Republic. So what we know now is that Mr. Trump has been saying in recent weeks that he is looking for negotiations, but negotiations will only begin when the Islamic Republic is willing to completely reduce its centrifuges, to completely stop enriching uranium, and this is a condition for these negotiations to take place. On the other hand, we heard that Riyadh and Saudi Arabia are willing to mediate between the United States and the Islamic Republic in order for negotiations to take place. This is also an interesting phenomenon. It is a new phenomenon during the Obama era. Although Saudi Arabia officially welcomed The JCPOA, but it was never interfered with. Obama never asked Saudi Arabia or the countries in the region what they thought about the JCPOA. Now we see that Saudi Arabia is willing to play a role in these negotiations and to support this. So the overall picture is that if Saudi Arabia wants to be involved, if the words of the European diplomat that were made a while ago that the Islamic Republic is ready to do anything to have the sanctions lifted, if we look at all of this in a nutshell, it means that the Islamic Republic must agree to shut down its entire nuclear program. What happened in Libya, for example, and negotiations after that, will probably be the same negotiations in the region. On the other hand, the seriousness of the United States and Israel in not letting the Islamic Republic get its own nuclear weapons has become more prominent than ever. They will not allow the Islamic Republic to do so under any circumstances. The flight of these B- 52Hs could also be noteworthy in these days when we are hearing so much about the Islamic Republic and the nuclear debate. The British take off with the B-52. H-4 is also accompanying them. They are entering the Middle East from Italy. This is also a point of interest. These developments in Nyusha are continuing. We need to see whether they will talk more about the Islamic Republic’s nuclear issue during their trip to Riyadh. Thank you. My colleague Samira Qarai was with us from in front of the White House. But we will continue with Hossein Aghaei, a researcher in international relations and strategic affairs. Mr. Mr. It seems that the countdown has begun for one of the two options that have been discussed in the past few days, negotiations or an attack on the Islamic Republic’s nuclear facilities. If there is an appointment for negotiations, it should be clear in the next week or two. It may be so. However, the diplomatic window that Trump has opened will be very, very limited. I think that the maximum will be this summer at best, and it may not even reach that time. In any case, it is the Islamic Republic that will decide, although there is some talk about mediation from Saudi Arabia or even Russia right now. It seems unlikely that Putin and Trump will hold talks themselves. If the conditions set by the US are somehow in line with the White House’s instructions, which is to eliminate all the combined threats of the Islamic Republic, focusing on the nuclear issue, if that continues, any mediation is also assumed. It seems unlikely that the Islamic Republic will want to make concessions in the shortest possible time in relation to all those combined threats. That is why this makes it more likely that the Trump administration will try, now that Israel has somehow taken away that diplomatic and military support from Washington, they will most likely try to increase military pressure, set deadlines. I think we will see more threats in the rhetoric of American officials, and we will move towards a direction where if the Islamic Republic does not intend to come to the negotiating table anyway, it does not seem likely that Trump will give the Islamic Republic time to negotiate, that he will waste time. If the Islamic Republic does not come to the negotiating table and those concessions sought by the US are not given. It is unlikely that the US and Israel will enter a military phase or before that, they will make credible and serious military threats against the Islamic Republic. Mr. Aghaei, Ali Khamenei spoke again today, but he did not mention negotiations. Instead, he said that our defense is fine, which of course we know could be a response to Donald Trump, who said that it would not be difficult to damage them in terms of defense. How much do you think that with the situation becoming more complicated and the seriousness of Israel and the United States, the Islamic Republic will ultimately reach the deal you are talking about? Come and see me and let me point out that a realistic view shows us that the statements of the Leader of the Islamic Republic regarding the level of military and defense capabilities of the Islamic Republic against serious threats, which I mean by serious threats is probably the same as the possible attack of the United States and Israel, and that the Islamic Republic has absolutely no problems in terms of defense capabilities, according to the Leader of the Islamic Republic. These are primarily misleading, incorrect, contrary to the facts on the ground, and in a way, it has more domestic consumption, and in a way, the Islamic Republic, I think, is more afraid of the factor of decline, meaning that the main source of concern for the Islamic Republic is internal rather than external. They are trying to prevent that collapse factor in some way, and since Trump’s maximum pressure will continue, I think this will cause those trust-denial faults in the main institutions of power among the people in that core, in those layers close to the core, to become more active. In any case, I think that the Islamic Republic, even if it makes a deal, in a short-term game, assuming that it gives big concessions, will be weaker. It will actually lose. And if it makes a deal, well, if it doesn’t make a deal, it will want to enter a confrontation phase, which it will actually lose. And this American action to send and dispatch these B-52 Stratofortress bombers from Britain along with KC- 135 tankers, all of these are signals to the Islamic Republic. Yes, now American and Russian officials are in Saudi Arabia. They want to strengthen deterrence. Trump and Putin may meet in Saudi Arabia in the coming days. They will send these as a deterrent, but at the same time, there is a signal from Washington to the Islamic Republic that America’s determination and will to confront The military attack on the nuclear facilities of the Islamic Republic and other targets they are considering is very, very serious. I am very grateful to you, Hossein, a researcher in international relations and strategic affairs, for being with us in Iran. Contradictory statements about the Dehdasht protest rallies continue, while the Kohgilu police commander has completely denied the occurrence of the rally in Dehdasht. The Fars news agency reported the arrest of the leader of the Dehdasht rally, Kandeh, along with several others, by the IRGC Intelligence Organization. Fars claimed that these people intended to carry out what he said were sabotage operations and were handed over to the judicial authorities. Last week, a group of Dehdasht citizens held a protest rally for several consecutive nights and chanted anti-government slogans. At the same time, reports were published about the security situation and the arrest of a number of citizens in this city. In this regard, Masoud Kazemi, a journalist from Munich, joins us. Mr. Kazemi, what do we know about what happened in Dehdasht and why are the comments so strangely contradictory? How can the leader of the rally be arrested? A news agency affiliated with the IRGC say this after that. The judiciary says that there was no gathering at all. Well, the beginning of the Dehdasht protests was symbolic. That is, on the evening of the 2nd of Bahman, which the next day was the 22nd of Bahman, like in many parts of the country, slogans were chanted that night. But the Dehdasht protests continued after that. According to the information we have, at least until the 4th night after that, a large number of citizens took to the streets and chanted anti-government slogans. But from the beginning, the Islamic Republic’s media approach to the incident was denial. That is, you couldn’t find even a short news story about the Dehdasht protests in the domestic media until yesterday, when the Fars News Agency, affiliated with the Revolutionary Guard Corps, announced, as you said, that a number of those who they said were the leaders and ringleaders of the protests were arrested. At the same time, the provincial police chief denied it outright. Of course, the Fars News Agency news report didn’t say that protests had taken place. It said that some leaders were arrested who wanted to carry out sabotage. But the information we have, the images we have, the video that I think IRA International released yesterday, showed that in a Direct shooting was being carried out against protesting citizens, until now, human rights media and those who work for human rights have published the names of at least 25 people who were arrested in this city by the IRGC Intelligence Organization and the Ministry of Intelligence on the 8th. We know that Dehdasht was also an active city in the protests of the Women’s Uprising of Freedom, and at least two people were killed. Pedram Azarnoosh and Behnam Mehdad were killed in the protests and now the arrests. The news indicates that it was accompanied by violence. There is still a security atmosphere. For example, Motahereh Tahereh Motahernia. I apologize that she was arrested. She was also arrested in the 1401 protests. There is a security atmosphere, but the government’s approach is to deny the incident. Apparently, at least up to now. Journalist Masoud Kazemi. Thank you to Munich. Mr. Kazemi. But another issue is the reactions to Prince Reza Pahlavi’s positions at the convergence meeting. Prince Reza Pahlavi’s comments criticizing the slogan “King Reza Pahlavi” not to insult the opposition and not to raise the issue of monarchy or republic at the current stage. There were opponents and supporters of Prince Reza Pahlavi’s meeting last night. With some of the victims and detainees of the nationwide protests of 1401, including Armita Abbasi, we are also discussing this issue here with Hamed Shivan Irad, the first secretary of the Iran Novin Party from Geneva, and Arash Azizi, a writer and historian who joined us from New York. Welcome, Mr. Azizi. It can be seen right now that more moderate groups are welcoming the talks of Prince Reza Pahlavi. I can point to the reformists with a name and tradition in Iran, who I paid for, who welcomed these talks. How much do you think will put more groups on the path with the prince? His talks yesterday at the Munich meeting? Yes, exactly. You mentioned an important point. I saw the same exact lobby groups that we mentioned. I saw at least one or two people. Look, Mr. Pahlavi’s story is clear. Every time he speaks against the extremists around him, every time he criticizes King Reza Pahlavi’s slogan, for example. He criticized the Resurrection Party of his father’s time and said, ” Don’t go around me, I’ll have to name them.” He meant exactly which shops. Every time he moves like this, more people come around him and more people are attracted. However, the problem and contradiction here is that we don’t see this diversity among his main close associates. His main close associates are people like Mr. Etemadi and Mr. Ghasemi Nejad. It is important to name them because you see, these represent a specific political spectrum, and Mr. Pahlavi’s close associates and team do not have that diversity at all. People like Mr. Shabay Rad, whose speech we are hearing now, do not follow Mr. Pahlavi’s position in any way. Mr. Pahlavi says this, but we do not see that approach of attraction in the approach of his colleagues and his close associates. Therefore, this is a film that, unfortunately, has been released. I have one last point to make, Mr. Pallow, there is another important contradiction. He is in They said, “We shouldn’t create a leader now, but we shouldn’t say King,” and all that. But in this very meeting of the parties, whose list I’ve been trying to get for several hours, I won’t declare him as their leader. He said, ” I am the leader of the transition period,” while no one has recognized him in any way, nor have any parties outside the spectrum of parties. As far as I understand, participating in them is all from a very small spectrum. It even seemed that the Constitutional Party of Iran Liberal Democratic Party did not agree with that clause. Of course, I couldn’t understand this clearly. So there is also the issue that Mr. Pahlavi, I just want to say that Mr. Pahlavi, I welcome this action. I think it was good to move in this direction. However, if they want to do this job completely, they should stop claiming a single leadership, try to be an important national figure, a figure who can be a very acceptable figure, and try to create unity among the opponents of the Islamic Republic and get closer to the opponents of the Islamic Republic and not Presenting that anti-union, extremist, and undemocratic path that he criticized, but most of his close associates still follow, Mr. Shibai Rad, I saw in the words of many that the group that was present at the meeting was clearly a group that had previously supported Prince Reza Pahlavi. There were no other groups in that meeting that now approved under the leadership of Prince Reza Pahlavi. How do you see this in addition to Mr. Azizi’s words? Yes, thank you very much. Mr. Azizi’s words were along with following a line that, unfortunately, I must say that in cyberspace, especially in cyberspace, it is a line that is followed by the unknown forces of the Ministry of Intelligence. Now I will explain what it is for. Look, when those who want to undermine and weaken Prince Reza Pahlavi and know that because of his high popularity and the position he holds, they cannot directly attack and attack him, they try to attack those around him with words that have no evidence and are not true, and that The famous saying that he himself is good and his entourage says, one is that the leader of the Shah is Reza Pahlavi and no one else has claimed to be the leader of the revolution. This is number one and number two, instead of talking about how those around him do not agree with the prince’s statements, they should provide examples of where and when this conversation took place. For example, let me mention myself. I am not talking about others. Right now, you can see in cyberspace that a lot of hate has started against me, starting yesterday. While if you are some of those who apparently support Shah Reza Pahlavi, if what you said was true, then I would support them. Yes, yes, I will support them. This means that what you are saying has no evidence whatsoever. We are talking about Shah Reza Pahlavi, not about the mortar. We are talking about other people, other dear friends who are working hard in Iran and are not talking about them. But another important point that you said is that the other opposition forces, I would still like you to support them. It is very important to name who they are. For example, people like you who choose Mousavi as their leader. It means that it should be clear that those political forces that you are talking about are not other groups. I want to return to your question, dear Niyoshi. What groups did you see in this meeting? It was completely diverse. There were groups that might not agree with the leadership of the prince in such a context. There were groups that might strongly agree. There were groups that even said, let’s go ahead and use another title. Incidentally, that diversity itself showed that group. But if what someone meant is groups that have been defending the Islamic Republic until now, or like Mr. Azizi himself, someone like Mousavi who calls Khomeini the criminal, that awake soul, and whose wish is to return to the golden age of the Imam, they are not talking about fever. Because 57 and all those who continue to defend the 57 discourse, in this, if even we accept it, we as political forces are other people. They do not accept the slogan of reformist and fundamentalist. The whole thing has been in the dialogue since 2017. What can I say? It has entered the hearts of the Iranian people. Anyway, I will summarize so that we can get to other discussions. I think that we should talk with examples, name the groups we are talking about. If we want to talk in general, maybe the mind is divided. Yes, they are right that there were no other groups, but which groups were there? Which spectrum is better to talk about? Dear Mr. More importantly, what is it, dear Mr. Just today, Prince Reza Pahlavi tweeted again and said that they welcome other groups to be present in this space? You mentioned those around him. For example, the same Mr. Etemadi that you mentioned was with him. He was probably the one who consulted him about who he wanted to meet. In any case, he is not his political advisor. But another issue that arises is that those who do not accept the leadership of Prince Reza Pahlavi should choose their own leadership or have their own council. Or why is that coalition without Prince Reza? Pahlavi did not last. How do you see this? I think this criticism is 100% wrong. I invite all those who consider themselves republicans, such as Mr. Hamed Esmailiou, friends of various leftist and republican parties, Mr. Mehdi Fatpour, I can name them. Come together, get organized. The time for you to criticize Mr. Pahlavi but not organize yourself, not organize yourself, in fact, not be able to present an alternative leadership is over. And I completely agree with those who say, “We don’t want a leader because we are not a party.” And they don’t understand politics. Apparently, politics without organization, which organization must have a name, now you can call it a leader, you can call it a spokesperson, you can call it a leadership council, but you have to have something. Where in the world is there a party or movement that says, “We don’t want a leader,” and I don’t know. My leader, in your leadership, this is a very bad thing that should be put aside, but Mr. Sheba, let’s bring evidence and examples to this statement. It’s very good. I’m going to name one by one. First, they talk about Mr. Mirsin Mousavi like this. He is a person who has been under siege and demanding the resignation of the Islamic Republic. You must know that Mr. Mousavi has been calling for the convening of a constituent assembly for two or three years. Well, Mr. Pahlavi should say one thing and two things. Wake up, Khomeini. Let me finish my speech. Mr. Pahlavi should come and say this. Sir, I don’t get along with anyone who supports Mr. Mousavi. But not only did he not say this, Mr. Pahlavi praised Ayatollah Montazeri in his recent speech at the American Jewish Anti-Defamation League. Now let me ask you, Mr. Shahbani Rad, do you also praise Ayatollah Montazeri ? Mr. Pahlavi praised Nasroon Sotoudeh. Mr. Sheibani Rad, do you praise Nasrin Sotoudeh? No, Mr. Pahlavi completely accepted and criticized the tortures of SAVAK during his father’s time and condemned the Rastakhiz Party. Mr. Sheibani Rad, do you approve of the tortures of SAVAK and express your disgust for them and condemn the Rastakhiz Party ? Mr. Pahlavi of the Green Movement spoke with a completely positive approach, both at that time and in the years that followed. Mr. Shabd, do you do this or not? I can say by tomorrow morning that Mr. Pahlavi himself always speaks as a liberal democrat, but those around him, like Mr. Shebin Rad, like Mr. Kiani, like others, are actually in the right position. I will also say one more thing. Just two days ago, I had a debate and actually a conversation with Mr. Kiani in Washington. Mr. Kiani said that while they are from his party, they are from the New Iran Party. He said that he considers the main achievement of the past two or three years to be polarization, and that polarization is between those who are called Iranists, which means They themselves, those around them, and the rest of us, for example, we who are Marxists, specifically the name of H. Of course, Mr. Ezz has another conversation, another story with someone else. I don’t want the discussions to interfere with us trying to answer someone else in this conversation. I am allowed to speak. Kiani, the editor-in-chief of Fereydoun magazine. Mr. Kiani, the editor-in-chief of Nash, is just a face like this. Just say, “Oh, let’s hear Mr. Sham’s words. Let’s listen to Mr. Sham’s speech. Is he against it? Is he against it? Or is he in agreement? Mr. Shabi’s answer. In addition to Mr. Ezair’s answer, we want to address the same differences between the royalists and the pro-prince faction. You yourself mentioned that you have been attacked, and even the prince himself is being criticized. Tell us about that too. Yes, look. I am very happy, very happy, especially for the people who see the scenes where no one can object to Prince Reza Pahlavi himself, the one who is elected as the leader. And I think that the three or four minutes that Mr. People like me, like Alireza Kiani and these people, and we, that we did not claim leadership, yes, no, let me talk, let me talk, we also did not claim leadership, that is, this is very important, and the more important point is that the question is about the future, that is, they ask whether you are or not, they do not say, “You said this somewhere.” This is an important point, so you have no examples so far. You are asking whether you are or not. In any case, I will say, let me talk. If the topic of the program is a carrier of evil, I will answer each and every one of these questions. You think that the program will not answer it, but I will give an example that I want to tell you and all the friends who call the pro-Iranian community the pro-Iranian community, the pro-Iranian movement, that we do not necessarily agree with Shah Zapala in these cases, and this shows the beauty of this movement. Incidentally, we know Prince Dad Pahlavi as the leader of this movement because we know that he is the one who can be that umbrella that covers many groups. When we are a political party, that is, We have a specific political ideology and we are not a partisan like them and their position. When a political party is supposed to be a partisan political party, it is not called a political party. It is a political party with a right-wing liberal ideology that has its name written in its motto. As the first secretary of the party, I can tell you about the New Iran Party why we believe so. But the Mecca is here. The leader of this movement is someone like Princess Reza Pahlavi. He is someone who has a partisan vision and a vision that can challenge other groups. I will just say one final point. Dear Princess Reza Pahlavi, the Renewal Party has also said many times that it fully supports in this regard that anyone, anyone I am talking about, should cross the Islamic Republic and see the entirety of this system as negative and see Bahman 57 as the real thing for Iran. Whoever wants to be, the doors must definitely be open to the nation and the nation must also fight the Islamic Republic. He should also try for the future of Iran, but the name you mentioned, for example Mir Hossein Mesin, I didn’t see him saying, ” Get rid of the Islamic Republic.” Yes, he has passed Seyyed Ali Khamenei, but his life is still alive. Khomeini is an executioner who we all know what he did. There are no exceptions. Yes, anyone who wants to get rid of the Islamic Republic should do so. In the remaining time, there are 10 minutes left. We will consider one minute for each of us to have a summary. Mr. Azizi agrees with some of the words of Shah Reza Pahlavi. He also knows that his role is to get rid of the Islamic Republic and then the situation at the ballot box is clear. Until then, see what your basic problem is. The thing is that you, the set of politicians’ behavior, are always calculating, not just talking. Our problem with Mr. Pahlavi is that I don’t know why he is my leader. Let him not talk. I do not accept Mr. Reza Pahlavi as a leader of the transition period in any way. As an Iranian citizen, I accept him as a political figure. For what reason? I don’t accept it because you see Mr. Shabani Rad saying, “Well, Mr. Pahlavi is a general, but we are a criminal, but we are not.” That’s right, but Mr. Pahlavi is managing this. From among those close to him, he asks for a consultant. There should be at least two people from another faction, but everyone agrees with Mr. Shabani Rad. Then this film has already been broadcast. And Mr. Pahlavi, I will simply tell you this. As an Iranian, you can see that Republican faction, Mr. Pahlavi, all the claims of those from Vahdat and Ittehad are nullified because Mr. Qasem Nejad, who sits next to him, Mr. Etemadi, who sits next to him. Right now, I don’t want to repeat myself, but he is the one who used the word “terrorist” for Iranian journalists abroad. You know, this is political behavior. Mr. Pahlavi cannot play this game, that he himself speaks like the Liberal Democrats, and then he speaks like this, for example, even the supporters of dear Mir Hossein like this. They should clarify their own duties. Mr. Pahlavi says, “What a right-wing sect. My opportunity is very limited. Mr. Sheibani. Why are there no people from other parties with other tendencies in Mr. Pei’s circle of close friends? Those who are close to Prince Pahlavi and are part of his team are not present in any party. They do not do any political activity. Precisely for this reason, Prince Reza Pahlavi and his close friends and the team that works with him are causing a cross-party movement. Mr. Azizi says that other groups, for example, are always interested in saying that they want to be monarchists. Of course, they use the term monarchist, which unfortunately has an offensive connotation in the Iranian political atmosphere. I think that their intention was to insult, but they do not pay attention to the fact that at this very meeting yesterday, a group of Republicans supporting Prince Pahlavi were present. At this very meeting yesterday, there were groups that did not agree that we should include the title of leader, so that those who might not even accept Prince Pahlavi as a leader would not be closed. While I personally strongly oppose this because if I talk about this and finish my speech, when I am not finished, you will see that there is a ship sailing in a stormy sea and we are fighting the monstrous republic of the Islamic Republic that has no mercy. We believe that the helm of this ship should be in the hands of someone and that person is none other than Shah Reza Pahlavi and this is us who I am talking about, including a large majority, perhaps an absolute majority, of Iranian society. You say that no, we are not our leader. Very well, you cannot ask us to let go of the helm, God willing, so that this ship will sail in the storm because you do not accept it or you are the leader and you declare to each other. If we see that in any case, these leaders can form an alliance with each other, have a conversation, talk and guide this ship together, or you sit on the sidelines and try to kick, throw stones, we can bring this ship to shore. We will defeat the Islamic Republic and we will develop and liberate Iran. Thank you both for the detailed discussion. I hope it can be continued at another time. Hamed Sheibani Rad, First Secretary of the Iran Novin Party from Geneva, and Arash Azizi, writer and historian from New York. Thank you both, gentlemen. But in other news, for decades, numerous internal and external crises have become an inseparable part of Lebanon, and of course, the new government of this country, headed by President Joseph O’Neill and Prime Minister Nawab Salam, is no exception to this rule. However, it can be said that the Lebanese government is facing two major external and internal crises. The Israeli issue, which is due to withdraw from southern Lebanon tomorrow, coincident with the end of the 60-day ceasefire with Hezbollah. Earlier, reports had been published that Israel does not intend to evacuate the strategic point in southern Lebanon. Today, the country’s army bombed some Hezbollah positions in eastern Lebanon, just one day after the warning of the Secretary General of Hezbollah. The only responsibility of the Lebanese government at this time is to make its maximum efforts, whether through political pressure and diplomatic communications or other means, to ensure that Israel withdraws on time and then move on. Internally, this crisis also comes back to Hezbollah. The current Lebanese government is trying to reduce Hezbollah’s influence to the lowest possible level. This bold approach began at the same time as Israel shattered Hezbollah’s military capabilities, and perhaps it can be said that it began on the first day of the ceasefire. The first major development in this regard in the Lebanese political arena was the attempt to elect a new president. Joseph Onn was elected as the country’s president after two votes by the Lebanese parliament. The second development was the election of Nawaf Salam as the 53rd prime minister despite Hezbollah’s opposition. But the climax of the story was the formation of the Lebanese cabinet, which this time, unlike previous periods, does not include any Hezbollah members. This unprecedented development was never imagined before. To better understand the story, it is enough to know that Hezbollah and its allies formed a total of 13 ministers in the previous Lebanese cabinet, while in the current government, only the post of minister has been transferred to the Hezbollah United Action Movement. Some decisions of the Lebanese government must be approved by two-thirds of the cabinet members, but the composition of the current cabinet Lebanon is in a situation where Hezbollah will not have the ability to veto important and fundamental decisions, unlike before. Another development has taken place during the 60-day ceasefire period. The formation of the second Trump administration was much faster in opposing Hezbollah, to the point that Morgan Ortagus bluntly declared that Hezbollah’s presence in the government is a US red line. However, it seems that from the current US administration’s perspective, even this reduction in Hezbollah’s weight in Lebanese domestic politics is not enough. Regarding Lebanon, our goal is a strong Lebanese government that can depose Hezbollah. On such a basis, one can understand the root of the recent clashes in Lebanon around Beirut’s Rafik Hariri Airport. The ban on two monthly flights to Lebanon and Hezbollah’s protest against this decision are signs of the group’s increasing predicament. On the other hand, Saudi Arabia’s support for the Lebanese government in dealing with the protesters is another sign of the new balance of power in Lebanon, which will not be good news for the Islamic Republic, the party’s main supporter. Mohammad Javad Akbar, a journalist from Paris, will join us to talk more about this matter. Mr. Akbarin In the midst of these internal and external crises, what kind of Lebanese should we expect after this? Can Hezbollah be left out of the Lebanese political arena for a long time? Good luck. Look, everything depended on the Islamic Republic. These planes that were banned from landing at Beirut International Airport were planes that, according to an announcement that the Secretary General of Hezbollah actually confirmed, the government had been informed that a large amount of money was accompanying these flights. Until now, they have been saying why extend the ban on these flights because of the risk that if money or weapons reach this flow, it will be possible to rebuild it. In the past, the Islamic Republic had access to this flow through land and sea routes in order to deliver weapons and money to them. Now, the land route has been closed. Due to the situation in Syria, the Islamic Republic no longer has the possibility of presence, penetration, or passage through Syria. There were also routes left by sea and by air that are now under strict protection and surveillance when flights are banned or if flights are resumed. This route will also be closed. Therefore, an important event will happen in the next few days. On February 23rd, next Sunday, Hezbollah is going to hold a grand funeral for Nasrallah and Safiadin. They said that even 400 media outlets from around the world are going to be there, and they are going to be hosting guests since two days ago. Well, Hezbollah intends to announce its revival in this program, to announce its resumption. The Islamic Republic’s effort, that is, its role, was to have Israel leave these sensitive points in southern Lebanon tomorrow, which it says are Hezbollah’s points of influence, and then this money was going to be delivered to them so that this grand ceremony could be held immediately after which Hezbollah’s next operations and Hezbollah’s next work could begin. What has happened now is that the Lebanese government closed an air route. Israel said that until my assignment with these five strategic points in the south is determined, I will not leave here. And we still do not have accurate information about whether an agreement and contentment have been reached or not. And third, Hezbollah will not be able to rebuild itself until these obstacles are removed, even though it still insists that The show on February 23rd can be held next Sunday with maximum splendor to see how the next paths will open up. But can you imagine Hezbollah trying to break away from this and continue on its own path without the support of the Islamic Republic? Look, the Lebanese government has done something that practically will not eliminate the Shiite movement. The Shiite movement in Lebanon cannot be eliminated. Millions of Shiites live in Lebanon. Even now, as your detailed report said, Hezbollah does not have a minister in the cabinet, but we have a Shiite in the cabinet who is not a member of the Hezbollah movement. What the new Lebanese government has done is to try to separate the Shiite account from Hezbollah. The quota of the Amal movement is another Lebanese Shiite party, even though it was allied with Hezbollah. Tell them to separate their account so that you can remain, but leave the rest of the Shiites alone. I think we are witnessing the birth of a new Shiite movement in Lebanon, which is neither Hezbollah nor Amal, a Shiite movement that has learned from and no longer wants to be subordinate to a foreign country. At the same time, it wants to blend in with other Lebanese sects so that it can participate in the new era of Lebanon, which is supposed to be an era of development and freedom, and not be excluded. Javad Akbar, this journalist from Paris, came. Thank you. But let’s talk about the US- Russia negotiations on the war in Ukraine, which will be held in Riyadh tomorrow without the presence of Kiev or European countries. US Secretary of State Mark Rubio, along with the National Security Advisor and the US Special Envoy for the Middle East, will meet with Russian representatives. Donald Trump said that both sides consider the war to be over and will probably meet with Putin soon. Today, Zelensky, who traveled to the United Arab Emirates, said that we do not recognize the US-Russia negotiations. At the same time, an emergency meeting of European leaders began in Paris an hour ago. Arash Ali, my colleague from the US Congress, will join us in Washington. Arash, how can you describe the atmosphere? How soon can you say that the end of the Russia-Ukraine war will come? Matt Mossour was a videographer. I had already said on the program that the Trump train is moving very fast, and now the storm that Mr. Jay Dunes unleashed after the Munich Security Conference. The speeches that the Vice President of the United States made in front of the heads of the European Union and many of these people who work in the parliament in Brussels, he addressed them one by one, asked their countries, asked why their countries cannot defend democracy, why each of these countries, Germany, France, named these countries one by one, and why they are now putting more pressure on American voters and taxpayers because they are putting the cost on the shoulders of the United States, and he criticized Germany in particular, and now Germany is heading towards elections during the election period and the political atmosphere is turbulent, while now Mr. Rubio has arrived in Saudi Arabia with Michael Wallace, the national security adviser, and Mr. Steve Whitaker, who is Trump’s representative for Middle East affairs, and now you can see live images of the Elysee Palace, where the leaders of the European Union are meeting behind closed doors and are deciding what their next step should be. The point is, what options does the European Union really have, how does the pyramids want to put pressure now? On America or Russia, in order to have a foothold in the negotiations that are going to take place tomorrow. And if you read the American press, the headlines of most of the press are full of various ambiguities. For example, I’m reading it now from memory. Bloomberg says that Vladimir Zelensky has said that talks without Ukraine are dangerous. Talks between the United States and Russia are very dangerous for Europe. Or the Wall Street Journal says that Mr. Trump is rewriting transatlantic relations, that is, relations between the two sides of the Atlantic Ocean. The main issue is that now Mr. Trump’s advisers and ministers are going to meet with the Russians. Kremlin spokesman Dmitry Peskov has also confirmed that representatives from the Russian Federation are going to be present. This will be the first stage, so that the two sides can sit down and work out their differences. Mr. Keith Kluge, who is Trump’s special envoy for Ukraine, told Zelensky that the last time that efforts for peace did not work out, Mr. Keith Kluge told Zelensky that the reason was that there were too many parties involved. There were so many parties at the table. The issue has become confused, and now Mr. Keith Klatt has said that it is in Ukraine’s interest, in your interest, and in Europe’s interest, to sit this part out for now, let the US and Russia have the initial talks, and then get into the details and maybe be able to have an impact on the negotiations between the US and Russia. My colleague, thank you from the US Congress, Arash. Today we reach the end of the first headline, Monday, February 29, at this moment, until tomorrow at the same level, right here.
Affiliate Disclosure: This blog may contain affiliate links, which means I may earn a small commission if you click on the link and make a purchase. This comes at no additional cost to you. I only recommend products or services that I believe will add value to my readers. Your support helps keep this blog running and allows me to continue providing you with quality content. Thank you for your support!
This article may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. To maintain the flow of the article, we’ve left these URLs in the text, but disabled the links.
Want an early peek at what’s new in VFP 7? This is the first article in a series where Doug Hennig discusses the language enhancements Microsoft is implementing and how to take advantage of some of them now.
In my article in the December 2000 issue of FoxTalk (“Reusable Tools: Have Your Cake and Eat it, Too”), I discussed “version envy”: wanting to use features planned in an upcoming version of a product in the current version. In that article, I discussed several new functions in VFP 7 and showed PRGs that can provide their functionality in VFP 6. After reading this article, FoxTalk editor Whil Hentzen thought it would be a great idea to extend this to covering all of the new commands and functions in VFP 7, both to familiarize you with them and to enable you, where possible, to use them in VFP 6.
So, we’ll start the new year off with this idea and spend several months looking at language enhancements in VFP 7. We won’t look at everything that’s new in VFP 7 (such as IntelliSense, editor improvements, DBC events, and so forth); it would take a whole book to cover such a broad topic. Instead, we’ll focus on functions and commands with three things in mind:
We’ll briefly consider the purpose of each command and function without getting too bogged down in details (for example, I won’t discuss parameters or return values in detail; you can get that from the VFP 7 Help).
We’ll look at practical uses for the commands and functions.
Where possible, we’ll explore ways to get the functionality now in VFP 6.
Keep in mind that, as of this writing, VFP 7 isn’t even in beta yet (it’s considered a Tech Preview version), and these articles are based on the version distributed at DevCon in September 2000. So, commands and functions might be added, removed, or altered.
Let’s start off with improvements to existing commands and functions, going through them in alphabetical order. Once we’re finished with these, we’ll move on to new commands and functions.
ALINES()
ALINES() has been a favorite function of mine since it was introduced. It parses a string (which may be in a variable or memo field) into lines terminated with a carriage return (CR), linefeed (LF), or carriage return-linefeed combination (CRLF) and puts each line into its own element in an array. ALINES() can now accept one or more parse characters, so the “lines” can be delimited with something other than CR and LF. For example, a comma-delimited field list can easily be converted to an array. Why would you want to do this? Because it’s easier to process an array than a comma-delimited string. Here’s a brute-force way of processing the items in such a string:
This is ugly code to both read and write. Here’s a more elegant approach that converts commas to CR, then uses ALINES():
In VFP 7, the first two lines in this code can be reduced to the following:
AMEMBERS()
This is one of those functions you likely don’t use very often, but it’s very useful at those times when you need it. AMEMBERS() fills an array with the properties, events, and methods (PEMs) of an object or class. There are two changes to AMEMBERS() in VFP 7: You can now get the PEMs of a COM object, and you can specify a filter for the PEMs.
Passing 3 for the third parameter indicates that the second parameter is a COM object. Here’s an example that puts the PEMs for Excel into laPEMs:
A new fourth parameter allows you to filter the list of PEMs so the array contains only a desired subset. For example, you might want only protected, hidden, or public PEMs, native or user-defined PEMs, changed PEMs, and so forth. This is handy, because prior to VFP 7, the only way to filter a list of PEMs was to use PEMSTATUS() on each one. For example, I use the following routine, CopyProperties, in VFP 6 to copy the properties of one object to another instance of the same class. Why would you want to do that? Imagine a form that you pass an object to and have the user modify the properties of the object in the form’s controls. What if the user wants to press a Cancel button to undo his or her changes? I decided to copy the object’s properties to another object of the same class, and then have the form work on the new object and, if the user chooses OK, copy the properties of the edited object to the original object. If the user chooses Cancel instead, the original object isn’t touched. So, the form creates another instance of the passed object’s class and then calls CopyProperties to copy the properties of the original object to the new instance. Here’s the code for CopyProperties (you’ll also find it in COPYPROPERTIES6.PRG in the accompanying Download file):
The VFP 7 version is a bit simpler. First, it uses the new “G” flag so the array only contains the public properties of the source object—we don’t have to use PEMSTATUS() to later ignore protected or hidden properties. Next, although there’s currently a bug that prevents it from working with array properties, we’ll be able to use the “C” flag so the array only contains properties that have changed from their default values; when this bug is fixed (notice that I’m being optimistic and didn’t say “if” <g>), we’ll be able to remove the PEMSTATUS() check for changed properties. Finally, I’ve submitted an enhancement request (ER) to Microsoft to provide a flag for read-write properties. If this ER is implemented, we’ll be able to remove the PEMSTATUS() check for read-only properties. Thus, the VFP 7 version will be simpler and faster than its VFP 6 counterpart. Here’s the code for COPYPROPERTIES7.PRG (I removed a few comments that duplicate those in the VFP 6 version in order to conserve space):
By the way, if you examine COPYPROPERTIES7.PRG, you’ll see that the header comments include my e-mail address and Web site, and that they appear blue and underlined, just like a hyperlink in your browser. Clicking on either of these gives the expected action (a Send Message dialog box with my e-mail address already filled in or my Web site in your browser). This editor enhancement makes it simple to direct other developers to your Web site for support, more information or documentation, updates, and so on.
TESTCOPYPROPERTIES.PRG shows how CopyProperties can be used. Change the statement calling CopyProperties6 to CopyProperties7 to see how the VFP 7 version works.
Here’s another use of AMEMBERS() that’s somewhat similar. PERSIST.PRG provides a way to persist the properties of an object so they can be restored at another time (for example, the next time the user runs the application). It creates a string that can be stored, for example, in a memo field in a table. This string contains code that can be used to restore the properties of an object. For example, the string might look like this:
After retrieving this string from wherever it’s stored, you’d then do something like this to restore the saved properties (in this example, lcPersist contains the string):
This example uses the new VFP 7 EXECSCRIPT() function, which I discussed last month.
I won’t show the code for PERSIST.PRG here, both because of space limitations and because it’s quite similar to COPYPROPERTIES7.PRG. To see this routine in action, run TESTPERSIST.PRG.
ASCAN()
Two things I’ve wished for a long time that Microsoft would add to ASCAN() are the ability to specify which column to search in and to optionally return the row rather than the element (to avoid having to subsequently call ASUBSCRIPT() to get the row). My wish was granted in VFP 7, plus ASCAN() gains the ability to be exact or case-insensitive. The new fifth parameter specifies the column to search in, and the new sixth parameter is a “flags” setting that determines whether the return value is the element or the row and whether the search is exact or case-insensitive.
Because I always want the row and never want the element number, normally want a case-insensitive but exact search, and have a difficult time remembering exactly which values to use for the flags (no wisecracks from younger readers <g>), I created ArrayScan, which accepts an array, the value to search for, the column number to search in (the default is column 1), and logical parameters to override the exact and case-insensitive settings. Here’s the code in ARRAYSCAN7.PRG (I omitted header comments and ASSERT statements for brevity):
In VFP 6, we can do something similar, but since we don’t have the new capabilities of ASCAN(), we have to use a different approach: We’ll use ASCAN() to find the value anywhere in the array, then determine whether it’s in the correct column. If not, we’ll change the starting element number and try again. ARRAYSCAN6.PRG has almost the same functionality as ARRAYSCAN7.PRG (although it’s slower and has more complex code), except support for case-insensitivity—to implement that feature, you’d have to do it via the brute-force method of going through each row in the array and looking for a case-insensitive match in the desired column. Here’s the code for ARRAYSCAN6.PRG:
TESTARRAYSCAN.PRG demonstrates how both ARRAYSCAN6.PRG and ARRAYSCAN7.PRG work.
ASORT()
VFP 7 adds one new feature to ASORT(): a case-insensitivity flag (in VFP 6, ASORT() is always case-sensitive).
BITOR(), BITXOR(), and BITAND()
These functions can now accept more than the two parameters they do in VFP 6; they’ll accept up to 26 parameters in VFP 7. This is useful in cases (such as some API functions and COM objects) where several flags have to be ORed together; in VFP 6, you have to use something like BITOR(BITOR(BITOR(expr1, expr2), expr3), expr4) to do this.
BROWSE
At long last, we get a NOCAPTION option for BROWSE that displays the actual field names rather than the captions defined for the fields in the database container. You can get this behavior in VFP 6 by running BROWSEIT.PRG instead of using BROWSE. This relies on the fact that a browse window is really a grid, so we can change the caption of each column to the actual field name. Here’s the code for BROWSEIT.PRG:
COMPILE
In VFP 7, the COMPILE commands (COMPILE, COMPILE CLASSLIB, COMPILE REPORT, and so forth) respect the setting of SET NOTIFY. With SET NOTIFY OFF, no “compiling” dialog box is displayed. This is important for two reasons: In-process COM servers
can’t display any user interface, and you likely don’t want your users to see such a dialog box. In VFP 6, we can suppress the dialog box by using the Windows API LockWindowUpdate function, which prevents updates to a window similar to VFP’s LockScreen property (although this won’t help in-process COM servers, since the dialog is still being called). The Download file includes LOCKWINDOW.PRG, which accepts .T. to prevent window updates and .F. to restore window updates. Here’s the code for this PRG:
To prevent the “compiling” dialog box from being displayed, use code similar to the following:
Conclusion
Next month, we’ll carry on examining improved commands and functions in VFP 7. When we’re finished with them, we’ll move on to new commands and functions.
Note: This is not a Microsoft Corporation website. Microsoft is not responsible for its content.
This article is reproduced from the January 2001 issue of FoxTalk. Copyright 2001, by Pinnacle Publishing, Inc., unless otherwise noted. All rights are reserved. FoxTalk is an independently produced publication of Pinnacle Publishing, Inc. No part of this article may be used or reproduced in any fashion (except in brief quotations used in critical articles and reviews) without prior consent of Pinnacle Publishing, Inc. To contact Pinnacle Publishing, Inc., please call 1-800-493-4867 x4209.
Driving the Data Bus: Chatting on Company Time–Building a VFP Chat Module
Article
06/30/2006
This article may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. To maintain the flow of the article, we’ve left these URLs in the text, but disabled the links.
Driving the Data Bus: Chatting on Company Time—Building a VFP Chat Module
Andrew Coates
Passing data to and from applications over the network makes the synchronization of data simple. In this article, Andrew Coates uses a messaging hub server to develop a chat component that can carry more than just typed conversations between application users.
The chat system allows users across the network to exchange data in real time. Most commonly, this data consists of typed conversations, but the power of the system lies in its ability to pass other data as well. This could be in the form of audio or video or, as will be presented here, other text data that will allow the two chatting parties to retrieve the same database record by sending a primary key or keys from one to the other.
The chat system
To allow chatting, each client registers itself with a chat server as it starts up. The chat server maintains a list of connected clients and can detect disconnections automatically. If a client goes offline either by choosing to disconnect or due to network or some other failure, the server removes that client from the list. A schematic representation of the setup is shown in Figure 1.
Each client consists of a chat handler, which sends and receives the messages, and zero or more chat forms. A chat conversation is carried out between chat forms, which are created specifically for that conversation and destroyed at the conclusion of the conversation. A client may be involved in many chats simultaneously, so to ensure that messages are routed to the correct form, the chat handler employs a concept of “chat slots” or a collection of instances of the chat form so they can handle multiple chats simultaneously and not get crossed lines. A schematic of the clients, the chat handlers, and the chat forms is shown in Figure 2.
In Figure 2, there are two conversations being conducted. Client 1 is talking to client 2 and client 3. Because client 3 addresses its messages to client 1, chat slot 2, they never get mixed up with messages from client 2, which are addressed to client 1, chat slot 1.
Initiating a chat
To establish a conversation between two clients, one of the clients needs to initiate the chat. The initiating client sends a request to the intended recipient, and the recipient either accepts or declines the invitation to chat.
The process from the chat initiator’s point of view is shown in Figure 3.
When a client decides to start a chat, it creates a chat form and assigns the form a slot number. Next, it sends a request to the recipient that includes the sender’s ID and slot index. It waits for a response from the recipient, and if it gets the response, it shows the form and the chat begins. If it doesn’t get a response, it destroys the form and tells the user that the request timed out.
Responding to a request for a chat
The process from the chat recipient’s point of view is shown in Figure 4.
When the recipient receives a request to chat, it decides to either accept or decline the request. If it declines to chat, it simply sends a message back to the requester declining the invitation. If it decides to accept the invitation, it creates an instance of the chat form and assigns it to a chat slot of its own. As long as it creates the form successfully, it sends a message to the requester accepting the chat and informing it of the recipient’s chat slot index. It then displays the form, and the chatting begins.
Chatting
To chat, the two clients send messages to each other addressed using the client ID and the chat slot index. When a client receives a message, it passes it to the form in the applicable chat slot, and the form displays the message.
Ending the chat
When a chat form is closed, it removes itself from the chat slot collection and sends a message to the other client that it’s being closed. When a form receives a message that the other party has closed the form, it remains open so any further action can be taken by the client, such as logging the conversation to a table or other file, but it won’t allow the form to send any more messages.
InterCom System
The InterCom System server (available from www.cns.nl/) is a messaging hub—that is, an application that sits somewhere on the network where all users can access it and allows applications to connect to it, register interest in certain events (subscribe), trigger events for other users, send messages to specific users, and disconnect from the hub. It sits somewhere on an IP network (note that the system is restricted to running over an IP network), and any client on the network—which could include the entire Internet—can connect to the server. Any connected client can then send a message to any other connected client. Clients can also trigger an “event,” which is broadcast to all of the other connected clients that have subscribed to that event. The triggered event can have data associated with it. Therefore, clients can communicate:
with all other interested clients (by triggering an event to which other interested parties have subscribed);
with a specific client (by sending a message to a specific client ID); or
with the server to get information about the other clients connected to the system.
The client is in the form of an ActiveX control and can therefore be placed on a VFP form and its methods, properties, and events accessed as for any other such control. The InterCom System provides a client with three types of functionality—Notification, Messaging, and Inventory. The InterCom System is discussed in more detail in my article “Pushing the Point” in the August 1999 issue of FoxTalk.
At the time of this writing, the InterCom System costs $399 USD for a royalty-free, single-developer license. There’s also an evaluation version of the system available for free download. The evaluation system is limited to a maximum of three simultaneous connections, but it’s otherwise identical to the full version.
Wrapping the client
The InterCom client has one feature that makes it awkward to use in VFP. It employs arrays passed by reference to return lists of information. VFP doesn’t handle this data type well (the COMARRAY() function only appears to work with COM servers created via a CREATEOBJECT call, not with ActiveX controls). To overcome this limitation, a wrapper for the ActiveX control was developed in VB. The wrapper intercepts the method calls and translates the array into a delimited string, which VFP handles very well. The wrapper class is included in the accompanying Download file.
The chat handler
The core of the chat component on each client is the chat handler. This object is instantiated when the application starts up and provides the communications link to the InterCom server. It’s based on the Form base class, so it can provide a container for the ActiveX InterCom client control. The load method of the class simply checks that the wrapped InterCom client is installed on the system. The init method accepts a reference to the calling object (for callbacks) and the name or IP address of the InterCom server machine. It then attempts to connect to the server and returns a logical indicating success.
To initiate a chat, the application calls the chat handler’s StartChat() method, passing the descriptor of the client with whom the chat is requested. The sequence of events shown in Figure 3 then begins. The code for the StartChat() method is shown in Listing 1.
Listing 1. The chat handler’s StartChat() method.
In the example shown here, there’s the facility to pass two additional pieces of information with the chat request—a Company ID and a Contact ID. In this application, these are primary keys to two main tables. Passing these keys to the other client allows that client to retrieve the data about which the initiator wishes to chat, perhaps even displaying information from the relevant rows in the table as part of the chat dialog box.
After checking the validity of these key parameters, the method requests a list of clients matching the descriptor from the InterCom server. The request is rejected if no clients match. If there’s a matching client, the method obtains a chat slot and populates it with an instance of the chat form. The chat form sends a message to the remote client’s chat handler requesting the chat and sets a timer that will fire if the operation times out. It’s then up to the other client to respond within the timeout period.
The chat handler form class contains only one (significant) control—the InterCom client control. That control has only one overridden event—the one that processes incoming messages, which is called, originally enough, the OnMessage() event. The event code simply directs the message to the appropriate chat handler method. The OnMessage() event code is shown in Listing 2.
Listing 2. The chat handler’s InterCom client OnMessage() event code.
The important point to note from the OnMessage() event code is that the type of message being sent is stored in the message subject. All the OnMessage() handler does is work out what kind of message is being sent by reading the subject and then route the message to the appropriate message-handling method of the chat handler object.
The chat handler object has four main message-handling methods:
HandleRequest()—Handles an invitation to chat from a remote client.
HandleAccept()—Handles the acceptance of an invitation to chat.
HandleMessage()—Handles a standard message (usually a line of typed conversation).
HandleDisconnect()—Handles the message sent by the other party when they terminate the chat session.
HandleRequest()
The HandleRequest() method is fired on the remote client when an invitation to chat is received. The method initiates the sequence shown in Figure 4. The code for the HandleRequest() method is shown in Listing 3.
Listing 3. The chat handler’s HandleRequest() method.
The HandleRequest() method starts by reading the message and breaking it down into its component parts. Each part is sent in the message’s data property on a separate line. The handler prompts the user, inviting them to accept the chat, and if the user rejects the invitation, it simply sends a message back to the initiator rejecting the request. If the request is accepted, the chat handler finds the next available free chat slot (or creates a new slot if there isn’t one free already). It then populates that slot with a new instance of the chat form. If it’s instantiated successfully, the chat form handles the notification of the acceptance of the chat. If it’s not instantiated successfully, the chat handler sends a message notifying the initiator that the chat was accepted, but that technical difficulties prevented it from occurring.
HandleAccept()
The HandleAccept() method is fired on the initiating chat client when it receives acceptance of an invitation to chat from the remote client. The code for the HandleAccept() method is shown in Listing 4.
Listing 4. The chat handler’s HandleAccept() method.
The HandleAccept() method begins by reading the constituent parts of the message from the data parameter. It then checks to see whether the chat was accepted or rejected, either because the remote user declined or technical difficulties prevented the chat from occurring. If it was accepted, the remote chat slot is assigned to a property of the appropriate chat form, the timeout timer is disabled, and the chat form is displayed—everyone is ready to chat! If it’s rejected, a message is displayed to that effect, and the chat form is released and the chat slot cleared.
HandleMessage()
The HandleMessage() method is fired on receipt of a standard message—the type of message that’s passed back and forth between clients during the course of a chat. The code for the HandleMessage() method is shown in Listing 5.
Listing 5. The chat handler’s HandleMessage() method.
The HandleMessage() method simply breaks out the chat slot (so it knows where to send the message) and sends the text of the message to the appropriate chat form for handling.
HandleDisconnect()
The HandleDisconnect() method is fired when the chat handler receives notice that the remote client has disconnected from the chat. The code for the HandleDisconnect() method is shown in Listing 6.
Listing 6. The chat handler’s HandleDisconnect() method.
The HandleDisconnect() method simply breaks out the chat slot (so it knows where to send the message) and fires the HandleDisconnect() of the appropriate chat form.
The chat form
The other half of the chat client component is the chat form itself. This is the visible manifestation of the chat component where the user types messages and reads the messages typed by the other user. The chat form in our sample chat app is shown in Figure 5.
The chat form handles much of the communication once the chat handler has established the conversation. To do this, it uses the following key methods:
Init()—Responsible for notifying the remote client of some pertinent details and for actually displaying the form.
HandleDisconnect()—Responsible for handling the notification that the remote client has ended the chat session.
ReceiveMessage()—Responsible for displaying the text of a message received from the remote client.
SendDisconnect()—Responsible for notifying the remote client that the local client is terminating the chat session.
SendMessage()—Responsible for sending a line of text to the remote client.
Init()
The Init() method has two different behaviors, depending on whether the chat form is being instantiated as a chat initiator or a chat receiver. In the end, the functionality of each type of chat form is identical, but the process of creating the form differs depending on its role. The code for the Init() method is shown in Listing 7.
Listing 7. The chat form’s Init() method.
The Init() method accepts quite a list of parameters. The first is the mode in which this form is being instantiated. The allowable values are CHAT_RECEIVER or CHAT_CALLER (defined in chat.h). This information is used to determine the behavior of the object later in the Init() process. The next parameter refers to the local chat handler’s chat slot to which this chat form has been assigned. Next, a reference to the chat handler object is passed so the chat form can access its properties and methods. The next two parameters are additional data used in this sample application to pass the primary keys of two sample tables.
The keys can be used by the form to display the data applicable to the chat. The descriptor for the remote client is the next thing to be passed. This will be displayed in the form’s caption so the user can tell who this chat session is with. Finally, if the chat slot for this chat on the remote client is known, this is passed as the last parameter. If this is the chat receiver, the remote chat slot will be known, but if this is the chat initiator, the remote chat slot will be passed back as part of the chat acceptance message.
The parameters are assigned to properties of the form for later use, and the caption is set. Next, an application-specific method, SetButtonState(), is called. In this case, this method is designed to allow the retrieval of the linked data if primary keys have been passed to the form.
Now the code forks. If the form is a chat recipient, it sends a message back to the chat initiator, accepting the chat and telling the initiator the chat slot ID that’s been assigned for use on the chat receiver, and makes the form visible. If the form is a chat initiator, it sends a message to the chat receiver requesting the chat and sets a timer so the chat requester doesn’t wait forever for a response.
HandleDisconnect()
The HandleDisconnect() method informs the user that the remote user has disconnected and sets a local property of the chat form to indicate that the chat is no longer live. It doesn’t close the form, as the local user might wish to review the contents of the chat before closing the form. The code for the HandleDisconnect() method is shown in Listing 8.
Listing 8. The chat form’s HandleDisconnect() method.
ReceiveMessage()
The ReceiveMessage() method adds a line of text to the list box chat log. The code for the ReceiveMessage() method is shown in Listing 9.
Listing 9. The chat form’s ReceiveMessage() method.
SendDisconnect()
The SendDisconnect() method sends a line of text from the local client to the remote client. It also displays the line in the list box chat log for later reference. The code for the SendDisconnect() method is shown in Listing 10.
Listing 10. The chat form’s SendDisconnect() method.
The SendDisconnect() method builds a message string that simply consists of the chat slot ID on the remote client. It then calls the SendMessage() method of the chat handler’s InterCom client control. The message is addressed to the remote client’s client ID; it has a subject of CHAT_DISCONNECT (defined in chat.h), and the text of the message consists of the remote chat slot ID.
SendMessage()
The SendMessage() method sends a line of text from the local client to the remote client. It also displays the line in the list box chat log for later reference. The code for the SendMessage() method is shown in Listing 11.
Listing 11. The chat form’s SendMessage() method.
The SendMessage() method builds a message string that consists of the chat slot ID on the remote client and the text of the message. It then calls the SendMessage() method of the chat handler’s InterCom client control. The message is addressed to the remote client’s client ID; it has a subject of CHAT_MESSAGE (defined in chat.h), and the text of the message consists of the remote chat slot ID and the line of text to be displayed. Finally, the line of text is added to the chat log list box on the local chat form.
Sample code
To demonstrate the use of the chat component, you’ll need the following:
The InterCom System server installed somewhere on a TCP/IP network. For the purposes of this exercise, it’s assumed that the server is installed at IP address 192.168.0.1.
The InterCom System client installed on all machines that are going to act as chat clients.
The InterCom client wrapper (available in the Download file) installed and registered on all machines that are going to act as clients.
An instance of VFP for each chat client (either running on the same machine or on separate machines). Note that the evaluation version of the InterCom server only allows three concurrent connections. The full version has no such limitations.
The class library CHAT.VCX (available in the Download file) extracted to a commonly accessible location. For the purposes of this exercise, it’s assumed that the path to the class library is \SERVERUTILSVFPCHAT.
Once these steps are complete, issue the following commands from the VFP command window for each instance of VFP. Substitute a unique number for n.
Next, on one of the clients, enter the following command, where n is the number of another client:
The second client should pop up a message box asking whether to accept the chat, and, if the chat is accepted, a chat form should be displayed on both the caller and receiver. Messages typed on one client should appear on the other (after the Enter key is pressed).
Conclusion
Being able to communicate with other users of an application in real time and with the facility to link the conversation with data from the application adds another powerful resource to the programmer’s toolbox. The techniques presented in this article combine a commercially available solution to inter-application communication with VFP’s data-handling and UI.
Note: This is not a Microsoft Corporation website. Microsoft is not responsible for its content.
This article is reproduced from the February 2001 issue of FoxTalk. Copyright 2001, by Pinnacle Publishing, Inc., unless otherwise noted. All rights are reserved. FoxTalk is an independently produced publication of Pinnacle Publishing, Inc. No part of this article may be used or reproduced in any fashion (except in brief quotations used in critical articles and reviews) without prior consent of Pinnacle Publishing, Inc. To contact Pinnacle Publishing, Inc., please call 1-800-493-4867 x4209.
ClassNavigator
Article
06/30/2006
This article may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. To maintain the flow of the article, we’ve left these URLs in the text, but disabled the links.
ClassNavigator
Jim Booth
Multi-tier system designs often require that we use base classes that can’t be defined visually. This means using PRGs to define our classes. The Class Browser built into VFP is a wonderful tool for navigating the hierarchy of class definitions. However, when we use programmatically defined classes, the value of the Class Browser is lost. This month, Jim Booth introduces Michael G. Emmons of Flash Creative Management (now GoAmerica), who has a solution for us.
Most of the classes we create in Visual FoxPro can be built using the visual class designer. For these visual classes, we have the Class Browser tool. However, there are a number of classes in Visual FoxPro that can’t be created in the visual designer. Classes like the column, page, session, and others must be created in program code using the DEFINE CLASS construct. For these classes the Class Browser fails, but the Class Navigator from Michael Emmons succeeds.
Simple installation
One thing that I dislike is a developer tool that takes a genius to install it and get it working. Michael has given us a utility that installs as simply as is possible. Just copy the APP file, ClassNavigator.app, to any directory on your machine, and it’s installed and ready to go.
The test run
To test this tool, I created two program files, as demonstrated in the following code:
Notice that the class defined in TestClass2 is a subclass of the one defined in TestClass.
Running ClassNavigator
Next, I ran ClassNavigator.app and was greeted by the screen shown in Figure 1.
There are four tabs—labeled Classes, Files, Options, and About—that are used in viewing the classes. The first tab we’ll visit is the Files tab, and we’ll select the Add button. In the file selection dialog box, I chose TestClass.prg; the resulting display is shown in Figure 2.
Switching to the Classes tab and expanding the tree gives the display shown in Figure 3.
The display has been expanded to show the existing details. You can see the filename and base class under Info, the Customer property under Properties, and the Custom method under Methods, just like the Class Browser would show us for a visual class definition.
Double-clicking on the class name in this display will open the editor with the program loaded for editing.
Hierarchies from multiple programs
Now return to the Files tab and open the TestClass2.prg file. The new Classes display is shown in Figure 4.
The Classes tab now shows us the hierarchy of these two classes, including the file information regarding each class.
Where to get ClassNavigator
This tool is included in the accompanying Download file. It’s also available at www.comcodebook.com, where future updates will be posted first (as well as the COM Codebook application framework). The source code for the Class Navigator is included in the download. The tool is freeware; you’re free to use or modify it to your desire, but you’re restricted from selling it to anyone else.
Summary
Michael G. Emmons has given us a utility that allows us to view classes that are defined in programs rather than visual class libraries. With his tool, we can see the inheritance hierarchy of these classes even when they cross multiple program files. A simple double-click opens any one of the classes for editing.
Michael and Flash Creative Management (now GoAmerica) have graciously made this tool, as well as many other tools including a complete application framework, available to us all at no charge.
The Component Gallery: VFP’s Best Kept Secret
Article
06/30/2006
This article may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. To maintain the flow of the article, we’ve left these URLs in the text, but disabled the links.
The Component Gallery: VFP’s Best Kept Secret
Markus Egger
Visual FoxPro 6.0 shipped with a great new tool called the “Component Gallery.” This tool is mainly thought to be a productivity-enhancing tool that makes the use of components, classes, and other items found in Visual FoxPro much easier. Unfortunately, so far, very few third-party vendors and development teams have utilized the Component Gallery to the extent one would expect, making this great new addition to VFP one of VFP’s best kept secrets. In this article, Markus Egger not only demonstrates how the Component Gallery can be used, but also how you can create your own catalogs.
When you start the Component Gallery from the Tools menu, it starts up with several default catalogs already loaded. Catalogs are simply collections of items stored in hierarchical fashion. You can think of each item stored in the Component Gallery as a shortcut to a Visual FoxPro item such as a class, a form, or a report. You might wonder what makes this tool valuable since we already have access to these items through the Class Browser as well as the Project Manager. That’s correct; however, there’s a significant difference: The Class Browser as well as the Project Manager are built as tools for the developer who needs access to every single item in the project. They show all classes, support classes, include files, bitmaps, and much more. The Component Gallery, on the other hand, simply provides access to the top-level items such as classes or components, but hides the complexity under the hood. You can compare this to a car mechanic who needs access to every part of the car, including the engine, transition, and car alarm, while the driver who simply uses the car to get to work every day doesn’t worry about all of those things.
If you’re the “application mechanic,” you’ll be better off using the Class Browser or the Project Manager. It will provide access to every little bit of the application. This is especially true if you wrote the entire application by yourself. However, if you’re using third-party tools or even components written by your fellow co-workers, you might not need this level of granularity. In fact, it will make it much harder to use those components. Imagine that a team member provides you with a class library that you can utilize for a specific task. This library contains a number of classes, one of which is useful to you. All of the other classes are really just helper classes that the main class depends on, such as parent classes, members of the class, or other classes that are utilized by the main class to do its job. In addition, you get a number of external files such as include (.H) files, bitmaps, and XML definition files that are also required to make this component work.
Do you really care about all of this information? Of course not! Or, well… you shouldn’t. Why would you want to become the mechanic of somebody else’s “car”? However, in reality, you’ll have to familiarize yourself with all of those components to make sure you add them all to your project and to pick the right class in the first place. Little do you know at this point that your co-worker tried to make this class as easy to use as possible and even provided a builder that can be used to configure this class.
The Component Gallery will help you in this scenario. Your colleague can create a simple catalog that provides a link to the main class. When you drag and drop that link on your form, not only will the class get added, but, at the same time, all external references are taken care of, and immediately the provided builder starts to make it easy for you to configure the required properties rather than finding out manually which properties have to be set.
You say this isn’t a problem for you, because you don’t work in a team, or perhaps the team is so small you can simply ask the co-worker? Well, what about third-party products? At EPS, we produce a product line called the FEC (Fox Extension Classes). This is simply a set of classes stored in class libraries, plus a few external dependencies, just as described in the preceding scenario. We gave a lot of thought to the product architecture, resulting in a very flexible environment that farms most of the functionality out to special behavior objects that can be configured and extended at will. The downside of this architecture is that 80 percent of the classes shipped in the libraries aren’t made to be used directly, but are designed for internal use only. How would you like to navigate all of the information through the Class Browser? So there!
Another great advantage of the Component Gallery is its hierarchical representation of the information. It allows organizing items into folders. This is surely much easier to use than the inheritance-view provided by the Class Browser, or the flat-view provided by the Project Manager.
Using the Component Gallery
So let’s have a look at the Gallery. When you start it the first time, it shows several default catalogs that provide access to the FFC (Fox Foundation Classes) as well as VFP’s samples (see Figure 1).
Most of the items referenced in the default catalogs are FFC classes. Note that the Gallery can maintain a large number of different items, such as forms, reports, wizards, files, utilities, ActiveX controls, and much more. Basically, any Visual FoxPro as well as Windows item can be referenced through the Gallery. In addition to static links to items, the Gallery also supports a feature called “Dynamic Folder.” Figure 1 shows a reference to such a folder. It’s named “Installed Controls.” This folder automatically shows a list of all COM components and ActiveX controls installed on your system.
To use a specific class such as the FFC VCR Buttons class, simply select the item and drag and drop it to your form or class that’s open in the designer (note that the Gallery can also be used for source code editing). It will automatically add an instance of the class to your form. You don’t have to worry about what library it’s stored in, nor are you bothered with all of the other classes stored in the same library. The Gallery abstracted all of that complexity away and provides simple, categorized access to this component. Note also that the Gallery displays a description of the component you selected.
You want to know how much easier this is than using the Class Browser? Well, just right-click on the item and select “View in Browser.” This automatically opens the library in which the class is stored and switches the Component Gallery into Class Browser mode (the Gallery and the Browser internally are really the same application). The result is shown in Figure 2.
As you can see, this view is much more cryptic. Not only do you see all kinds of classes you have no interest in (how about those custom classes—what’s your guess, can they be used by themselves or not?), but you also see class names that are much harder to understand, and the Class Browser doesn’t even provide a description.
Another good example is the list of samples that ship with VFP. Perhaps you’re not aware of this, but the FoxPro team has produced a large number of examples that explain many aspects of the Visual FoxPro environment and language. In previous versions, this information was hard to find. Samples are scattered over all kinds of directories, and who wants to run all of them just to figure out what they’re doing? The Component Gallery ships with a special catalog that lists all of the included samples and provides access to them in ways that make sense for each individual example (see Figure 3).
As I mentioned earlier, the Component Gallery can also be used to automatically trigger builders whenever a complex class is dropped in a designer. Try dropping the “Field Mover” class from the Data Navigation folder in the main Visual FoxPro catalog. Immediately, the builder shown in Figure 4 starts up and asks you to provide important property values. You can drop the same class from the Class Browser or the Form Controls toolbar, but then you’d have to go through an almost endless list of properties and try to figure out what they’re for, whether or not they’re important, and what the appropriate settings are.
Creating your own catalogs
So, by now are you convinced of the usefulness of this tool and eager to provide your own catalogs for your libraries, or perhaps even commercial third-party products? Well, you’ve come to the right place.
Creating a new catalog is easy. Simply click the option button and select the Catalogs page in the options dialog box (see Figure 5). Click the New… button and specify the name of the catalog file (which is a regular DBF file). Initially, the new catalog is listed by its filename. We’ll define a friendlier name a little later. Click the OK button to close the dialog box and open the new catalog right away.
To rename the catalog, right-click the item and choose Properties (the Rename feature doesn’t appear to work). This launches the dialog box shown in Figure 6. Note that you might not see all of the same options shown in Figure 6. If this is the case, open the Options dialog box and check the “Advanced Editing Enabled” feature on the first page. You can use the Properties dialog box not only to change the name, but also to set descriptions as well as icons that are to be displayed by the Gallery.
To make the new catalog useful, you’ll have to add some items. First of all, add a new folder that provides links to the classes you’d like to keep track of. You can create new items, including folders, by right-clicking in the right-hand pane (see Figure 7). Again, you have to open the Properties dialog box to rename the folder and set other properties such as the icon.
You can now proceed to add items to that new folder, in the same way you created the folder itself: Right-click in the right-hand pane and choose to add a new Class. The Gallery will present you with a GetClass() dialog box to select the class. The item added to the Gallery will automatically be assigned the name of the class, but again, you can change this to a friendlier name through the Properties dialog box.
This is all you have to do to create a catalog for your classes. Note that the Gallery is smart enough to attach the proper behavior to your new class item. You can double-click on your class to edit it; you can drag and drop it to the form or class designer to create an instance; you can right-click on the item and open the class in the Class Browser; and much more. As you can see in Figure 7, the Gallery can handle a large number of different items and attaches the right behavior to them. This way, report items can be printed or previewed, video files can be played, tables can be opened, and so forth.
But what if you’d like to add items that the Gallery isn’t aware of? A little while ago I wrote a public domain utility called GenRepoX (you can download it for free from www.eps-software.com). It extends the Visual FoxPro Report Writer, but it uses the internal report engine. Reports can be modified in the same way regular Visual FoxPro reports can be modified, but to execute the reports, a special function has to be called. Otherwise, the special features provided by GenRepoX will be lost. The Gallery is aware of reports and allows modifying, printing, and previewing them, but of course it isn’t aware of GenRepoX. Luckily, there are ways to teach the Gallery new behaviors.
All Component Gallery behaviors are encapsulated in individual objects. The source code of those classes ships with Visual FoxPro in the _gallery.vcx and vfpglry.vcx class libraries. The behavior you need for GenRepoX is very similar to a regular report behavior, which is defined in the _reportitem class in the vfpglry.vcx library. To reuse what’s already there, you can simply subclass this behavior. I chose to call the subclass “GenRepoXItem.”
There are two methods we’re interested in: Run() and SetMenu(). Those methods do what you think they would. Run() executes the item, and SetMenu() creates the right-click menu. Our major modification will be making the Run() method aware of GenRepoX, which can be done like so:
I basically overwrite all of the default behavior and replace it with my own, which is rather simple in this case, since all I do is execute the report in preview mode. In the second line, I create a command that executes the report. Note that the cFileName property tells us what report filename the item is linked to (once it’s used in a catalog). In line 3, I execute the report by running it through the GenRepoX() method.
This is enough to make the new item work. However, I’d also like to give the user a little visual clue that the item at hand isn’t a standard report, so I decided to modify the menu. The SetMenu() method is responsible for displaying the menu. Each behavior provided by the Gallery has default menu items. Some of those items are defined in each behavior, others (such as Cut, Copy, and Properties) are provided by the parent class used for all items, named “_item.” In our scenario, I’d like all of the default items, but I don’t want report-specific items, since I want to introduce my own. In do this in the following fashion:
In line 3, I execute the item defined in the _item class. Note that I specifically name the class rather than issuing a DoDefault(), because I intend to skip the behavior defined in the direct parent class, which is the report item.
In the next line, I add a new menu item using the AddMenuBar() method, which exists on every Gallery item. Parameter one specifies the caption, and parameter two specifies the method that’s to be executed when the item is selected. In this case, I simply execute the Modify() method, which I inherited from the standard report item. Note the special “oTHIS…” syntax. oTHIS is a special pointer that allows me to access the current object. The SetMenu() method is called by a Gallery internal mechanism, so by the time the menu is actually displayed, my object isn’t accessible through the THIS pointer anymore, which is the reason for this special naming convention used by the Gallery.
The last parameter is interesting, too. From within an item, “THIS.oHost” always links you to an instance of the Gallery itself. The Gallery has a property named “lRunFileDefault” that tells you whether the Gallery is configured to run items whey they’re double-clicked (.T.) or modify them (.F.). In the menu, I’ll print the default item in bold as required by the Windows interface guidelines. I specify this using the last parameter. So if lRunDefaultFile is set to .F., I pass a .T. as the parameter, and vice versa.
I’m sure you can now figure out the last line by yourself. It simply displays another menu item labeled “Preview GenRepoX,” and it executes the Run() method (the one I coded earlier) when selected.
Now all that’s left to do is tell the Gallery about the new item type. I do that in the Properties dialog box of the main catalog item (see Figure 8).
From now on, the new item shows up in the New Item menu (see Figure 9).
Once you’ve added a GenRepoX report item, you can right-click it to see and use the behavior you added. Note that the item also exhibits default behavior that makes a lot of sense for our use. The icon defaults to a report, for instance (see Figure 10). In addition, the item uses the custom menu and behavior. You can use the right-click menu or double-click the item to execute the GenRepoX report.
The options outlined in this article only represent a small example of what’s possible with custom items. The possibilities are truly endless. You can find more information about this subject on the Microsoft Visual FoxPro Web site (https://msdn.Microsoft.com/vfoxpro), as well as in the documentation and in several books (such as my own <s>).
So far, so good. The new catalog is coming along nicely. But what if a user I’ve provided this catalog to has questions? Perhaps I should provide a link to my Web site. I can do this easily by adding a dynamic folder to my catalog. I add the folder just like any other folder, but this time, I set the folder’s “Dynamic folder” property (in the Node page of the folder’s Properties dialog box) to www.eps-software.com. That’s all there is to it!
Conclusion
The Component Gallery is a very powerful tool. Unfortunately, there have been very few products and projects that make use of it. Partly, this appears to be due to the poor documentation, but it’s also due to the not terribly obvious advantages the tool provides. However, once you’ve started using the Gallery, you’ll have a hard time living without it.
If you have questions regarding the Gallery’s use, custom catalogs, and even AddIns (a possibility I couldn’t discuss in this article), feel free to e-mail me at Markus@eps-software.com.
Note: This is not a Microsoft Corporation website. Microsoft is not responsible for its content.
This article is reproduced from the April 2001 issue of FoxTalk. Copyright 2001, by Pinnacle Publishing, Inc., unless otherwise noted. All rights are reserved. FoxTalk is an independently produced publication of Pinnacle Publishing, Inc. No part of this article may be used or reproduced in any fashion (except in brief quotations used in critical articles and reviews) without prior consent of Pinnacle Publishing, Inc. To contact Pinnacle Publishing, Inc., please call 1-800-493-4867 x4209.
Understanding COM+ with VFP, Part 1
Article
06/30/2006
This article may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. To maintain the flow of the article, we’ve left these URLs in the text, but disabled the links.
Understanding COM+ with VFP, Part 1
Craig Berntson
When COM+ debuted in Windows 2000, it introduced many new capabilities to enhance n-tier applications. Now with VFP 7, you can use these enhancements to make your applications more robust. In this first installment of a series, Craig Berntson reviews COM and MTS, and then introduces COM+.
For many years, we’ve heard about the importance of breaking applications into multiple tiers or services. By splitting the user interface, business rules, and database access, we can easily modify or completely replace one service without affecting the others.
Historically, Visual FoxPro applications have been single-tier solutions, even if the data resides on the server. This is because developers have mixed the user interface, business rules, and data access into one application or even the same form.
With the use of SQL Server, we move to a two-tier scenario. The data is normally accessed via ODBC by the use of Remote Views or SQL pass through. Stored procedures are often called on the server, and the SQL SELECT statement is resolved before sending any data across the wire. It’s the splitting of the processing onto the server and the workstation that makes this design two-tier.
In a three-tier solution, the user interface only displays data and accepts input from the user. There might be some minor data validation, such as ensuring that the required fields are populated or limiting the user’s selection via a list or combo box. However, all of the actual processing of the data takes place in a separate component that holds all of the business rules. Calculations of totals or taxes, validation of data, or the generating of report data are examples of things that occur in the middle-tier business logic. Finally, the data tier is responsible for the reading and writing of data into the data store. The user interface should never directly access the data services, but should go through the business services layer to get at the data.
This separating of multiple tiers is what Microsoft calls the Distributed interNetworking Architecture, or DNA. The different components of each service can reside on the same computer, making a logical separation of each service—or, on multiple computers, providing a physical separation of the tiers. Typically, the user interface resides on the client computer, while the business and data components reside on an application server with the data store on a second server. When access is via a Web browser, an additional server for IIS is often added to the mix.
COMmon knowledge
The way to access these components is via the Component Object Model. COM is a specification that allows components written in different languages to interact with each other. Therefore, we can create a component in VFP that can be accessed from a VB or Delphi application, or even from Word or Excel. ActiveX controls are another example of COM objects. When you control Word or Excel from your VFP application, it’s done via COM.
The first thing to consider when creating a COM component is how it will fit in with the other pieces of your application. In other words, you need to determine whether it should run in-process or out-of-process.
An in-process component is compiled as a DLL and must be hosted by an executable program. It runs in its host’s memory space—hence the name in-process—which makes instantiating (running) the component fast. Data is marshaled (passed) across the COM boundary. Because the component runs in the same memory space as the application, if the component crashes, it most likely will cause the application to crash. One other thing to keep in mind: In-process servers written in VFP can’t have any user interface exposed.
An out-of-process server is compiled as an EXE and runs in its own memory space. When it’s instantiated, there’s some overhead required such as allocation of memory, process id, and so on. This all takes time, which makes instantiating an out-of-process server slower than an in-process server. In addition, it takes longer to marshal data across the process boundaries from the application to the component, so it runs slower. However, because the COM server is running in a different memory space than the client application, if the component crashes, the application will quite possibly keep running.
Creating a COM component in VFP is quite easy. The OLEPUBLIC keyword tells VFP to compile the code with the proper COM information needed for access from other applications:
When you build the component (see Figure 1), you can choose “Win32 executable/COM server (exe)” to create an out-of-process server. To build an in-process server, select either “Single-threaded COM server (dll)” or “Multi-threaded COM server (dll).” I’ll talk more about the difference between the two types of DLLs later. Building the component will automatically register it on the development computer. You then instantiate it using the CreateObject() function:
Many of the rules and intricacies of COM are automatically handled for us by VFP. However, we have to manually follow one rule. That rule states that we should never change the interface of a component. If we do, we need to create a new ID for the component. By interface, I don’t mean user interface, but the public methods and parameters of the component. Let’s look at the preceding example. If we add a third parameter to the Multiply method, we change the interface and need to create a new component ID. This is done on the Build dialog box. The last option on the dialog box is “Regenerate Component IDs.” Check the option to create a new GUID for the component.
When you start deploying your COM components on remote servers, you’ll access them via Distributed COM (DCOM). Historically, under DCOM, you distribute an out-of-process server and set up the calling information on the client computer. Chapter 16 of the VFP Programmer’s Guide goes into detail about how to do this. When you install the component on a remote server, the code runs on the server, not on the client workstation. Don’t have any UI in your server because it will display on the server, not the client workstation.
MTS to the rescue
Microsoft saw the need for a better way for remote components to run, so they created Microsoft Transaction Server (MTS). Originally available for NT and Windows 9x through the NT 4.0 Option Pack, MTS solved a number of problems by providing a host for COM DLLs. It also provided a wizard that set up all of the DCOM calls on the client station for you. Some other features of MTS include:
Just-in-Time Activation: A component is kept on disk and then brought into memory (activated) only when needed.
Object Request Broker (ORB): MTS will handle multiple calls to the same component from multiple clients.
Transaction Services: Commits and aborts are handled by the Distributed Transaction Coordinator (DTC) instead of the application. This makes it possible to have a transaction that spans multiple databases.
Role-based Security: The security scheme allows you to determine who can access your components based on NT logins and groups. If a user doesn’t have authorization to access a component, an error message is returned to the client indicating that the component can’t be instantiated.
Connection Pooling: Typically, an application will make a connection to the data store, and then hold that connection during the life of the application. MTS allows multiple clients to use the same connection.
Creating components for use under MTS requires that you think differently about your application design. First, your application should be stateless. This means that your client program should instantiate the component, make calls to a method, and then release the component. The connection to the component should be as short a time as possible. You should avoid setting properties and pass all of the needed information as parameters. Note that COM doesn’t allow parameters to be passed to the Init method.
You also need to think about threading. We typically think of threading as single or multi-threading. VFP creates single-threaded applications. That is, it can only do one thing at a time. This is like going to the grocery store and only having one checkout stand open. All customers must go through the same line. Only one customer at a time can be helped. The others wait in the queue for their items to be processed.
Multi-threading allows your application to split processing into different pieces, all running simultaneously. Using the grocery store example, you can unload parts of your shopping cart into different lines and have all of your groceries rung up at the same time.
MTS uses a third type of threading, apartment model. Again using our grocery store example, customers may choose any open checkout stand, but once you’ve chosen one, you always have to use the same one. Luckily, MTS will open a new line for us when all are used.
So, how do we make use of MTS in our VFP components? First, we have to add some code. Let’s modify our Multiply example to handle MTS.
The Context object contains information about our particular instance of the COM component. Also, note the call to SetComplete(). This will commit any open transactions. If we need to abort the transaction, we would call SetAbort() instead.
When we build our component, we can’t use “Win32 executable/COM server (exe).” MTS requires that components be DLLs. That leaves us with two choices: single or multi-threaded.
The single-threaded DLL is a good choice when the method call will be very fast or there’s the possibility that only one user will hit it.
The multi-threaded DLL isn’t truly multi-threaded. It’s apartment-model threaded. Make this choice when the method call is slow or many users will simultaneously call your component.
Once you’ve built your component, you install it on the server with the appropriate VFP runtime libraries. Then, you create an MTS package and import your component using the MTS Explorer. Using MTS Explorer, you can set security and transactional support, and export a client setup program.
You can get more information on MTS from Randy Brown’s article, “Microsoft Transaction Server for Visual FoxPro Developers,”.
Windows 2000
When Microsoft introduced Windows 2000, it came with several new services. One of those is COM+. Basically, COM+ is the marrying of COM and MTS, but new COM+ features were also introduced. Under Windows NT, MTS ran on top of the operating system. Under Windows 2000, it’s integrated into the OS. COM+ is only available in Windows 2000. However, Windows 95, 98, Me, and NT users can use COM+ components running on a Windows 2000 server. COM+ not only includes (and enhances) the features of MTS, but also introduces new services: Queued Components (QC), Loosely Coupled Events (LCE), Object Pooling, and Dynamic Load Balancing. In the next installment of this series, we’ll begin to delve into these services in detail.
COM+ Applications are administered through the Component Services Manager (see Figure 2). You’ll find it in the Administrative Tools group in the Windows Control Panel. Let’s walk through registering the component that we saw earlier.
Expand the tree under Component Services until COM+ Applications is available.
Click on COM+ Applications to make it the currently selected node, and then right-click on COM+ Applications.
From the context menu, select “New Application” to launch the COM Application Wizard. Then click Next.
Click “Create an empty application” (see Figure 3).
Enter the name for your application. In the example, I’ve called it “MyFirstCOMApp.” Then select the Activation Type. Normally, you’ll select Server application because your component will run on a server. If you install the component on a workstation and want it to run in your application’s memory space, then select Library application (see Figure 4). Click Next.
Select the User ID that the component will run under. When installing on a server, it’s a good idea to set up a user specifically for your component. Be sure to assign the proper rights to the user so that the component will have access to all of the drives, directories, and resources that will be needed (see Figure 5). Click Next, then Finish.
We now have the application set up, but it doesn’t contain any components. We have to add the component to the application:
Click the plus sign (“+”) next to our new COM+ Application to expand the tree.
Click on Components, and then right-click on Components. Select New Component from the context menu to launch the Component Install Wizard. Click Next.
The wizard gives you three options: Install new component, Import component(s) that are already registered, or Install new event class(es). We’ll use the third option when I talk about Loosely Coupled Events. The second option, Import component(s) that are already registered, is used when you’ve previously installed the component on the computer. However, at the time this was written, there was a bug in Windows 2000 that caused this option to not work correctly. That leaves option 1. Click the button next to this option (see Figure 6).
You’ll next be prompted to select the DLLs to install. If you don’t have the proper VFP runtime files installed, you won’t be able to select and install your component (see Figure 7). Once you’ve selected your components, click Next, then Finish.
Now that your component is installed, how do you access it? The same way as before. Just use CREATEOBJECT() to instantiate the component and you’re ready to go.
Summary
We’ve covered quite a bit of ground in this article, but most of it should be review. You might be wondering whether all of this COM stuff is still useful in a .NET world. The answer is Yes! COM still exists in .NET. In fact, .NET was originally called COM+ 2.0. In upcoming articles in this series, I’ll discuss security, distribution, loosely coupled events, transactions, queued components, and other COM+ features.
Sidebar: It’s GUID for Me, is it GUID for You?
A GUID (pronounced GOO-id) is a Globally Unique Identifier. It’s a 128-bit Integer and looks something like {1EF10DF8-8BF9-4CD7-860A-8DCD84EA3197}. The GUID is generated using a combination of the current date and time, a counter, and the IEEE machine identifier from the network card. The chances of two GUIDs being the same are extremely remote.
So how is this GUID used? When you build a component, three files are produced. The first is the DLL, and the second is a Type Library (TLB). The TLB is a binary file that lists all of the public classes, properties, methods, and events in your automation server. The third file is a Registry file (VBR). This lists the GUIDs for your server and is used to register your component.
When you register the component, the VBR file is used to make Registry entries about your component. Things like the directory location of the DLL, its threading model, and its public interfaces are placed in the Registry. When you instantiate the component, the server name—for example, Excel.Application—is looked up in the Registry. The GUID will then be used to get additional information about the component, such as the directory location and public interfaces.
Note: This is not a Microsoft Corporation website. Microsoft is not responsible for its content.
This article is reproduced from the May 2001 issue of FoxTalk. Copyright 2001, by Pinnacle Publishing, Inc., unless otherwise noted. All rights are reserved. FoxTalk is an independently produced publication of Pinnacle Publishing, Inc. No part of this article may be used or reproduced in any fashion (except in brief quotations used in critical articles and reviews) without prior consent of Pinnacle Publishing, Inc. To contact Pinnacle Publishing, Inc., please call 1-800-493-4867 x4209.
Understanding COM+ with VFP, Part 2
Article
06/30/2006
This article may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. To maintain the flow of the article, we’ve left these URLs in the text, but disabled the links.
Understanding COM+ with VFP, Part 2
Craig Berntson
In Part 2 of this series, Craig Berntson examines client distribution, security, and error handling.
In Part 1 of this series (see the May 2001 issue of FoxTalk), I reviewed COM and MTS and introduced COM+ services under Windows 2000. I also showed you how to create a new COM+ application and install a component on the server. Now in Part 2, I’ll look at how to get the client to use the component on the server, security, and error handling.
Is the client always right?
Last month, I showed you how to install your application on the server. But that doesn’t do much good if you can’t get to the component from the client. The good news is, Windows 2000 makes it easy to set things up on the client. Let’s go back to the component we built and installed last month. As a quick review, here’s the component code:
I call this the world’s dumbest COM component. All it does is multiply two numbers. However, keeping the sample code simple allows us to concentrate on the COM+ aspects of the example.
Now we need to do an install on the client. Let’s go back to the Component Services Manager. Expand the tree under COM+ Applications and select MyFirstCOMApp. This is the COM+ Application that we built and installed last month. Now right-click on MyFirstCOMApp and select Export. The COM Application Export Wizard will appear (see Figure 1). You’re first prompted to enter the full path and filename for the application file. Enter C:COMAppsMyFirstCOMAppProxy. Then make sure you’ve selected “Application Proxy—Install on other machines to enable access to this machine.” (The other option, “Server Application,” is used when you want to install the component on another server.) Then click Next and then Finish.
The wizard has created two files—MyFirstCOMAppProxy.MSI.CAB and MyFirstCOMAppProxy.MSI. These files can be copied and installed on the client computer. These files don’t include the component. You don’t need it on the client. They contain information on the public methods and properties of the component and pointers to the server so that Windows can find the component and instantiate it.
Again, you never install the component on the client. Instead, you install a proxy. Your application thinks the component is installed and running locally, but it isn’t. Make note of this. A component installed on an application server never runs on the client. For some reason, this is a difficult concept for some people to understand.
You instantiate the server component exactly the same way you instantiate a local component. Try this in the Command Window:
Why did this work? VFP makes a call to Windows, asking for the component to be instantiated. Windows looks up the component information in the Registry and finds that the component lives on an application server. Windows then instantiates a proxy to the component and makes a call to the server to instantiate the component. VFP doesn’t know it’s talking to the proxy; it thinks it’s talking directly to the component. When you call the Multiply method, the proxy sends the call to the server via DCOM and the result is passed back to the proxy, which passes it on to VFP.
Are you feeling insecure?
Now that the component is installed on the server and the client proxies are installed, let’s see how easily we can grant or prohibit access to the component. COM+ uses role-based security. A role is a type of user. For example, in a bank you might have tellers, managers, loan officers, customer service people, and so forth. Each of these people is a role. You want to prohibit tellers from making loans, so in COM+, you could set up security on a loan component to prohibit this. The nice thing is that this is a configuration option and easy to change using the Component Services Manager.
Roles are based on Windows users and groups, so the first step in setting up the security scheme is to establish the Windows security groups. It can be confusing to understand where roles fit in the hierarchy of groups and users. The COM+ Help file states, “Roles are categories of users that have been defined for the application for the purpose of determining access permissions to the application’s resources. The developer assigns the roles (as symbolic user categories) to the application.” That sounds a lot like a Windows user group to me, so to keep it easy, think of a role as a user group that’s application-specific.
Now, getting back to our bank example, we’d have four groups: tellers, managers, loan officers, and customer service. Go ahead and create them on the server using Windows User Manager in NT or the Computer Management Applet in Windows 2000. Enter the first user group, and then the other three.
Once those groups are created, go back to MyFirstCOMApp in the Component Services Manager. Click on Roles, and then right-click and select New Role. Enter the first role, Teller, and click OK (see Figure 2). It’s not necessary to name the roles the same as the Windows user groups, but it makes management easier. Now create the three remaining roles of Manager, Loan Officer, and Customer Service.
Next we need to identify the users in each role. Expand the tree under Teller. You’ll see a folder labeled “Users.” Click on the folder, and then right-click and select New User. Scroll down the list of Windows users and groups and select the Tellers user group, and then click Add. Do the same for Managers and Customer Service. Then click OK. You’ll see each of the Windows Security groups added to the Teller role in Component Services (see Figure 3).
When new users are added to the system, they’re added to the proper Windows group, which in turn automatically puts them in the proper role. So far, we’ve identified the roles, but we haven’t told Component Services to use any security. Click on MyFirstCOMApp, right-click and select Properties, and then select the Security tab. Check “Enforce access checks for this application,” and then click OK (see Figure 4). Ignore the other options for now, I’ll discuss them shortly.
Now right-click on MyComm.Math and select Properties, then the Security tab. You’ll see that “Enforce component level access checks” is selected. You’ll also see the security roles listed. Simply check the roles that are to have access to this component (see Figure 5).
You can drill down and assign the security access to the interface or method level if you want. This enables you to have a single component with several interfaces, each having different security levels. If a user doesn’t have the proper access to use a component, an error message is returned stating that the component couldn’t be instantiated.
Now, let’s go back to the Application Security dialog box (see Figure 4). There are some additional options that I need to discuss. The first is Security level. This controls when COM+ validates the user’s security. With the first option, “Perform access checks only at the process level,” role-checking won’t be done at the component, interface, or method levels. Under the second option, “Perform access checks at the process and component level,” the security role is checked when a call is made to the component. You’ll almost always use the second option. However, the first option is useful when you’ve already validated the user.
The next setting is “Authentication level for calls.” There are six options, as described in Table 1. As you move through the list, each option gets progressively more secure. Note that the higher the level of security, the longer it takes to validate the user. The default level is Packet.
Table 1. Authentication levels.Expand table
Level
Description
None
No authentication.
Connect
Checks security only when the client connects to the component.
Call
Check security at the beginning of every call.
Packet
Checks security and validates that all data was received.
Packet Integrity
Checks security and validates that none of the data was modified in transit.
Packet Privacy
Checks security and encrypts the packet.
Finally, we have “Impersonation level.” This sets the level of authority that the component gives to other processes. There are four different levels as described in Table 2. The default is Impersonate.
Table 2. Impersonation levels.Expand table
Level
Description
Anonymous
The second process knows nothing about the client.
Identify
The second process can identify who the client is.
Impersonate
The second process can impersonate the client, but only for processes on the same server.
Delegate
The second process can impersonate the client in all instances.
Thus far, I’ve discussed declarative, role-based security, which is defined and managed at runtime. You can also use programmatic security. This allows you to branch your code based on the access level of the user. For example, a loan officer might only be able to authorize a loan up to $50,000. After that, it takes a manager’s approval to authorize the loan.
By using both role-based and programmatic security, you can support just about any security scheme that you need.
Error handling
One of the questions I often see on online forums is, “How do I report an error back to the user?” If you think about this, the answer doesn’t seem easy. You can’t display any dialog boxes with the error from your component. It’s running on a different computer than the user interface. VFP has the COMRETURNERROR() function to send the error message back to the client. COMRETURNERROR() takes two parameters. The first is the name of the module where the error occurred. The second is the message to display to the user. Let’s look at the code.
Now compile the code into a DLL and instantiate it.
You might expect “This will never be displayed” to show on the VFP desktop. However, an error dialog box appears instead.
You can return any error information you want in the message parameter. You also might want to enhance the error method by capturing additional information using AERROR() or writing information to an error log. There’s one caveat: The Error method won’t fire if an error occurs in the Init method.
Conclusion
That pretty much covers installation, security, and error handling. Next month, I’ll discuss transactions and see how COM+ and VFP 7 allow us to include VFP data in transactions, something that couldn’t be done with MTS and VFP 6.
Note: This is not a Microsoft Corporation website. Microsoft is not responsible for its content.
This article is reproduced from the June 2001 issue of FoxTalk. Copyright 2001, by Pinnacle Publishing, Inc., unless otherwise noted. All rights are reserved. FoxTalk is an independently produced publication of Pinnacle Publishing, Inc. No part of this article may be used or reproduced in any fashion (except in brief quotations used in critical articles and reviews) without prior consent of Pinnacle Publishing, Inc. To contact Pinnacle Publishing, Inc., please call 1-800-493-4867 x4209.
Understanding COM+ with VFP, Part 3
Article
06/30/2006
This article may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. To maintain the flow of the article, we’ve left these URLs in the text, but disabled the links.
Understanding COM+ with VFP, Part 3
Craig Berntson
Transactions are an important part of any data update mechanism. Part 3 of this series by Craig Berntson introduces the Distributed Transaction Coordinator and explains how to use transactions under COM+.
Transactions, transactions, transactions. Without them, we can’t be sure that data is getting written to all of the Tables involved in an update. Before digging into how transactions work in COM+, let’s do a quick review of transactions.
A review of transactions
Joe wants to transfer $100 from his savings account to his checking account. He walks up to the ATM, inserts his card, and presses the buttons to initiate the transfer. Behind the scenes, this transfer can be accomplished two ways. The first way is that the balance of Joe’s savings account can be reduced by $100 and then his checking account balance increased by $100. The second option is that his checking account balance can be increased and then his savings account balance decreased. But what happens if there’s a system crash between the two updates? Under the first scenario, Joe isn’t happy. He’s lost $100. Under the second example, Joe is very happy. He’s $100 richer, but the bank has now lost $100. What we want is that, in the event of the aforementioned crash, either both accounts must be updated or neither of the accounts updated. To ensure that this happens is the purpose of transactions.
Transactions should follow the ACID rule—that is Atomicity, Consistency, Isolation, and Durability. Atomicity means that either all or none of the update is committed. Consistency means that if the transaction fails, the data is returned to the same state as before the transaction started. Isolation means that one transaction doesn’t know what another transaction is doing. Finally, Durability means that the transaction state is kept, no matter what happens to the system. This is generally handled through the use of a transaction log.
We can implement transactions on our VFP data by using the BEGIN TRANSACTION/END TRANSACTION/ROLLBACK commands. This pseudo-code shows the preceding example:
The transactions in VFP only work with VFP data, and VFP transactions fail the Durability rule of ACID. There’s no transaction logging.
If we’re using SQL Server, we need to use a different mechanism. We can use ADO commands to tell SQL Server when to begin and end a transaction or we can code it in a stored procedure. However, what happens if the savings account is in SQL Server and the checking account data is in Oracle? SQL Server transactions will only work on SQL Server, and Oracle transactions will only work on Oracle. We need a single transaction that will work against both databases. That’s where the Distributed Transaction Coordinator (DTC) comes in.
Using the DTC
The DTC allows us to have transactions that cross databases. This means that we can have data in both SQL Server and Oracle that will be updated by the same transaction. Under MTS and VFP 6, Fox data couldn’t participate in a DTS transaction. (This changes under COM+ and VFP7. More on that later.) Back to the DTC.
The DTS uses a two-phase commit. Basically, in phase one, DTS asks the database if it can do an update. If all of the databases respond yes to this question, then phase two begins, in which DTS tells the database to update the data. If any of the databases respond with a no, then DTS tells all of the databases to roll back the update.
Let’s look at how transactions were handled under MTS:
Note that when we either commit or abort the transaction, MTS will also release the component. This means that if the very next command in our application needs the component, we have to do another CREATEOBJECT() on the client. Let’s see how this changes in COM+:
In this example, we can either commit or abort the transaction with SetMyTransactionVote, but still keep the instance of the component active until we explicitly call SetDeactivateOnReturn with a .T. parameter.
You might now be wondering where the DTC fits in. COM+ automatically calls the DTC for us. The DTC talks to the database through the use of a Resource Manager. MTS and COM+ ship with Resource Managers for Oracle and SQL Server, but not for VFP. That’s why VFP data couldn’t take part in MTS transactions.
It turns out that Resource Managers are very difficult to implement. So, COM+ has what are called Compensating Resource Managers (CRMs). CRMs are easier to implement than a Resource Manager. By using a CRM we can have our Fox data be involved in DTC transactions.
A CRM consists of two parts, the CRM Worker and the CRM Compensator. These correspond to the two-phased commit of the DTC. A detailed discussion of the CRM is beyond the scope of this article. However, VFP 7 ships with a CRM sample application. You’ll find it in the SAMPLESCOM+CRM folder under your VFP 7 installation.
Configuring COM+ transactions
Like many of the features in COM+, transactions are managed at runtime. Open the Component Services Manager applet and drill down to one of your components. Right-click on the component and select Properties, and then select the Transactions tab. You’ll see five transaction settings (see Figure 1 and Table 1).
Table 1. Transaction types supported for COM+ components.Expand table
Setting
Description
Disabled
Transactions aren’t needed. Set this when you don’t want the extra overhead of a transaction—for example, a component that doesn’t update any data.
Not Supported
Prevents a component from using a transaction, regardless of the transactional state of the calling component.
Supported
The component participates in the transaction if one is active.
Required
The component participates in the transaction if one is active. If there’s no active transaction, a new one is started.
Requires New
A new transaction is always started.
You’ll also notice the “Override global transaction timeout value” check box. When you select Required or Requires New transactions, this check box becomes enabled. You can then enter the number of seconds the transaction will run before timing out.
That’s it for transactions. In Part 4, we’ll look at a COM+ feature that gives you asynchronous calls: Queued Components.
Note: This is not a Microsoft Corporation website. Microsoft is not responsible for its content.
This article is reproduced from the July 2001 issue of FoxTalk. Copyright 2001, by Pinnacle Publishing, Inc., unless otherwise noted. All rights are reserved. FoxTalk is an independently produced publication of Pinnacle Publishing, Inc. No part of this article may be used or reproduced in any fashion (except in brief quotations used in critical articles and reviews) without prior consent of Pinnacle Publishing, Inc. To contact Pinnacle Publishing, Inc., please call 1-800-493-4867 x4209.
Decorating for the Busy Developer
Article
06/30/2006
This article may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. To maintain the flow of the article, we’ve left these URLs in the text, but disabled the links.
Decorating for the Busy Developer
Lauren Clarke
Decorating or “wrapping” an object represents a flexible alternative to subclassing. In this article, Lauren Clarke explains what a decorator is, demonstrates a novel way to implement the pattern in Visual FoxPro, and provides some application ideas.
If you’re like me, your eyes tend to glaze over a bit when object-oriented design pattern terms are thrown about. The word “decorator” is one of those terms, and due in part to the image of Martha Stewart it immediately conjures up, and the complete lack of tasteful decorations in most programmers’ lairs, it leaves one wondering what decorations and programming have to do with each other. Decorator (a noun) is a design pattern that uses aggregation (another OOP term, which means one object holds a reference to another) to “wrap” an object and perhaps provide some additional features not present in the wrapped object. Simply put, a decorator is a class that provides a “skin” around another object to which one wishes to add new responsibilities at runtime. A simple example follows.
Consider the object that SCATTER NAME creates in VFP:
This line of code creates an object with properties that correspond to the fields of the table in the current workarea, and property values corresponding to the values of those fields. This process represents a nice, lightweight alternative to assigning the properties of a custom data object from the fields of a table. However, wouldn’t it be nice if loData could do something other than store field values? It’d be nice if it had methods you could use in your day-to-day life as a developer working with this object. For example, what if it could validate itself, or render itself as an XML string, or save itself? The trouble is that we don’t have access to the internal Visual FoxPro class used to create loData. We can’t create subclasses of it, and even if we could, we couldn’t force SCATTER NAME to use our subclass instead of the base class. So we have an object that we’d like to endow… decorate… with new abilities, and we can’t (or don’t want to) create a subclass to deal with these new responsibilities. So, we’re going to implement a method of extending the abilities of the SCATTER NAME object at runtime. Enter the decorator pattern.
Well, that was a bunch of work (but don’t worry, I’m going to show you a way to avoid most of it). Let’s go over the highlights of this class. First, note that we have a property for each field in our customer table. Also, we have a property oData that will hold a reference to our SCATTER NAME generated data object. Finally, we have a property cFullName that will provide the customer’s full name based on the cFname and cLname fields. Then, we have a bevy of access and assign methods that serve to link the oData properties to the decorator’s properties. With this construct in place, the following expressions will both return the same value:
The access and assign approach ties us to version 6.0 or later of VFP. The alternative is to use GetProp() and SetProp() methods to provide access to the wrapped object. For example, we could have a GetFname() function that would return oData.cFname, but this really makes the wrapper less than transparent, which isn’t desirable. Finally, note that the INIT() method takes as a parameter a reference to the data object to be wrapped by the class. Okay, let’s put our decorator to work.
We’ll dissect the following code snippet line by line:
First, we create a standard SCATTER NAME object. The BLANK keyword indicates the object will be created with empty properties.
Next, we assign our new object a first and last name.
Nothing spectacular so far, but this next line is the point at which the rabbit goes into the hat.
Here, we instantiate a class DecoCust1, the init function of this class takes an object as a parameter, and we send our SCATTER NAME generated loData object for this parameter. DecoCust1 wraps itself around loData and augments its abilities. Note that we reuse the loData variable name to store a pointer to our new instance of DecoCust1. This isn’t necessary, but since DecoCust1 will seamlessly wrap our data object, presenting all of its original properties as if it were the old loData, it’s natural to do so. In our case, DecoCust1 has an IsValid() method, and we can use this to validate Mr. Yellow.
If we pass this test, a record is added to the current table and we fire the Save() method, which will save the record to the table.
Now that the object has been created and is decorated with additional properties and methods, we can check our record with IsValid(), save it with Save(), render it to XML with toXML(), and all the while we can still reference the objects’ original properties:
And we also have an additional property calculated from underlying fields.
To summarize, we have a class DecoCust1, which adds a cFullName property, IsValid(), Save(), and toXML() methods (and potentially many other useful methods) to our SCATTER NAME generated data object. From the developer’s standpoint, there’s very little practical difference between the wrapper and a bona fide subclass of the Visual FoxPro data object class. The key point, of course, is that you can’t subclass Visual FoxPro’s data object class. Also note that these abilities were added at runtime, meaning we have the option of adding these abilities if and when they’re needed without instantiating a large feature-ridden class each time a record object is needed.
Another real-world sample of a decorator, csZIP/csUnZip, is available in the accompanying Download file. It decorates the popular DynaZip utility to provide some simplifications and extensions that are helpful when using the utility from within VFP.
Subclasses vs. decorators
Decorators offer an alternative to subclassing, but they must be used judiciously. The advantages come from the fact that you can gain subclass-like behavior for classes that you can’t actually subclass. Also, you’re given more flexibility at runtime to endow your objects with abilities only if they need it to fulfill the current task. In our example, there might be many places in an application where the base FoxPro data object will suffice. This being the case, it would be a shame to have to instantiate and use a complicated and expensive class where the lightweight class would do. Decorators offer “pay as you go” options where one can add functionality as needed. It’s possible to nest decorators inside decorators. If we decided that mixing the validation code and the XML rendering code in one class made it too large and inflexible, we could create a separate decorator for each task. For example, we could start with the basic data object:
Then, if necessary, endow it with the ability to validate its properties:
Then, if needed, we could decorate again and gain some rendering functionality:
Which would allow us to do things like this:
or this:
And, unless you need to validate and render your data object every time you use it, you can save a lot of overhead by avoiding the giant do-everything data class.
The following lists summarize the pros and cons.
Advantages of decorators:
They allow extension of classes that we can’t directly subclass.
They allow us to avoid deep class hierarchies.
They provide a pay-as-you-go option, which avoids instantiating large feature-ridden classes when few of the features are needed.
Disadvantages of decorators:
Pass-through code must be maintained.
Passing requests through to the decorated component requires a performance hit.
They can complicate debugging.
From the developer’s perspective, the single most important issue here is the maintenance of pass-through code. The access and assign code must be maintained in concert with the wrapped object. In our example, this means that each time the structure of the table changes, we’ve got some work to do in our decorator class definition. This issue is exacerbated when we’re wrapping classes that have methods as well as properties, as we have to write pass-through code for each method. In short, if the interface of the wrapped object changes, so must the wrapper. Until recently, this fact was enough to really cool one’s feet to the idea of using the decorator in anything but the most dire situations. However, version 6.0 of Visual FoxPro gives us an opportunity to generalize decorator classes and completely eliminate this fragile use-case specific pass-through code. Our rescue comes in the form of the THIS_ACCESS method.
THIS_ACCESS overview
THIS_ACCESS is a method that can be added to any subclass in VFP. This method will fire every time the class is accessed. This means that every time a property is set or accessed or a method is called, the THIS_ACCESS method will fire prior to that action taking place. THIS_ACCESS takes as a parameter the name of the member being accessed. (Side note: It’s too bad that THIS_ACCESS only takes the called member as a parameter; if one could also access the value being sent [in the case of a property assignment] or the parameters being sent [in the case of a method call] inside the THIS_ACCESS method, it would open a world of possibilities, but that’s off topic for this article.) THIS_ACCESS must also return a reference to the object being accessed. It’s this last requirement that we leverage to implement an almost codeless delegation scheme for a generic decorator class. Let’s redo our prior example using this new approach.
Redecorating with THIS_ACCESS
Here’s what the class definition for DecoCust might look like when we utilize THIS_ACCESS:
That’s it. Notice the substantial reduction in lines of code from our previous DecoCust1 example. The “big idea” here is the THIS_ACCESS method that first checks to see whether the requested member belongs to the decorator class, and, if not, a reference to the wrapped data object is returned. This way, the decorator can decorate by adding functionality like this IsValid() while forwarding requests for the oData properties directly to the oData object.
Also, notice that the DecoCust2 class is very generic. The IsValid() and toXML() methods could be removed and we’d have a nice BaseDeco class to wrap any component that we could subclass to add things like IsValid() for specific implementations.
Paying the piper
Wrapping a class has some costs in terms of both development and runtime. The development costs come from the need to keep the interface of the wrapper synchronized with the interface of the wrapped component. If you choose to manually maintain the interface, this can be a costly proposition—especially if the wrapped class is changing often. Using the aforementioned THIS_ACCESS trick can vastly reduce your development load, as the interface will be updated automatically. However, since THIS_ACCESS fires each time the object is used, there’s a runtime cost to be paid for this approach. Table 1 will give you an idea of the runtime costs for these different approaches.
Table 1. The different approaches and their associated runtime costs.Expand table
Task
Subclass
Deco1
Deco2
Instantiation
1
1.81
2.66
Access decorator property
1
0.95
9.90
Assign decorator property
1
2.20
11.34
Call decorator method
1
0.96
4.48
Access decorated property
1
0.96
6.81
Assign decorated property
1
1.14
5.37
Call decorated method
1
2.15
4.88
Key: • Subclass = no decorator, subclass only. • Deco1 = a hardwired decorator with explicit pass-through code. • Deco2 = a decorator implemented with THIS_ACCESS.
This table has been normalized to be machine-independent and more readable. For each task, the “Subclass” option has been given a weight of 1 and the others scaled accordingly. So, for example, Deco2 takes 9.90 times longer to access a property than a traditional subclass. To get actual time values for your system, just run the perfcheck.prg provided in the Download file.
Some of these factors look pretty alarming, but keep in mind the times we’re talking about here. My system, a PIII that’s limping along at 500 Mhz, takes 0.000006 seconds to access a property from Deco1, and a staggering 0.00003 to access the same property through a decorator using THIS_ACCESS (Deco2). In a real use-case, say a middle-tier data object, an application might access a data object 100 times to serve a user’s request. In this situation, the THIS_ACCESS method represents a cost of no more than 0.003 seconds in our benchmark classes. Considering the THIS_ACCESS method might eliminate hundreds of lines of high-maintenance pass-through code, this might represent a good tradeoff. However, these results do make one pause to consider carefully where to implement these techniques.
WITH/ENDWITH and GATHER gotchas
If you plan on using a THIS_ACCESS decorated class in a WITH/ENDWITH loop, you’ll be in for a surprise. VFP exhibits some peculiar behavior in this area. In the April 2001 issue of FoxTalk, Randy Pearson wrote an article on the advantages of the WITH/ENDWITH command. It’s likely you’ll want to use this construct with a decorated class at some point. The trouble is that VFP won’t let you. The following code won’t fire the THIS_ACCESS method of loData and will result in an error:
A workaround is to reference the decorated component directly in the WITH construct:
There are some differences in the behavior here between VFP 6 and VFP 7 Beta 1. Both are odd and not really consistent with the documentation on access and assign methods. There’s a program in the Download file you can use to explore the differences.
In addition to this, while the GATHER NAME command works fine with the property-level access methods, it seems to ignore the THIS_ACCESS method at this time.
Conclusion
The decorator pattern offers a nice alternative to subclassing. The THIS_ACCESS method of building decorators allows us to avoid writing reams of pass-through code when building decorators in VFP. This convenience comes with a performance price, but in many situations I think the price is more than justified. I’ll leave you with one possibly interesting diversion. Look up “multiple inheritance” in a good general OOP reference. Then, take a look at our DecoCust2 class, and consider the possibility of aggregating more than one object at a time and replacing the IF/THEN in the INIT() clause with a CASE statement. Bon voyage!
(Lauren thanks thehttp://fox.wikis.comcommunity for their help in refining and testing some of the ideas presented in this article.)
Sidebar: References
Design Patterns, Elements of Object Oriented Software, by E. Gamma, R. Helm, R. Johnson, and J. Vlissides (Addison Wesley, 1994, ISBN 0201633612).
“Simulating Multiple Inheritance,” by Michael Malak, in the April 2001 issue of Journal of Object-Oriented Programming.
Note: This is not a Microsoft Corporation website. Microsoft is not responsible for its content.
This article is reproduced from the August 2001 issue of FoxTalk. Copyright 2001, by Pinnacle Publishing, Inc., unless otherwise noted. All rights are reserved. FoxTalk is an independently produced publication of Pinnacle Publishing, Inc. No part of this article may be used or reproduced in any fashion (except in brief quotations used in critical articles and reviews) without prior consent of Pinnacle Publishing, Inc. To contact Pinnacle Publishing, Inc., please call 1-800-493-4867 x4209.
TYPE() to StringType()–Bridging a Gap
Article
06/30/2006
This article may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. To maintain the flow of the article, we’ve left these URLs in the text, but disabled the links.
TYPE() to StringType()—Bridging a Gap
Pradip Acharya
Intuitively, you’d think that the string “123” represents a number and the string “ABC” is of type character. Right? Not according to the standard TYPE() function in VFP. If ABC happens to be a date variable, for example, the type of “ABC” will be returned as D. Yet, in many situations, we need to know the data type of the contents of an unknown string. In this article, Pradip Acharya looks at the problems associated with determining the data type of a string and describes the creation of a new function, StringType(), suited for this purpose.
One of my customers called and said, “When I type an X in your program, I get an error message, and nothing happens. Am I doing something wrong?” I rushed over and discovered that, as always, the customer was right, and I needed to create a new function to get the customer going again.
A generic text input box was presented to the user for entering a search parameter for scanning a specific column in a table for the presence of such a value. For example, if the user needs to look at the invoices created on a certain date, a date will be typed in. To look for all five HP motors, one would enter a numeric value of “5” and so on. I had validation code that ensured that if the user entered data that clearly wasn’t of the same type as the field to be scanned, he or she would be notified and asked to re-enter the value. For a date type field, the user incorrectly entered an X. My validation, for some reason, failed to alert the user, and an unhandled data type mismatch error led to the previously noted disruption of work.
Dual use of the TYPE() function
Simply put, the TYPE() function in VFP accepts as input a character string and determines whether a memory variable or a field exists by that name and, if so, what its data type is. However, this description is deceptive and limiting. More strictly, TYPE() resolves the string as an expression and checks to see whether the result makes any sense.
To make sure that the slate is clean:
Now let’s define a memory variable:
?TYPE(“XYZ”) will display D. In this mode, the TYPE() function determined the data type of a prevailing memory variable (in scope). Next, if I do ?TYPE(“123”), I’ll get N. Obviously, in this second instance, my intention has been to use the TYPE() function to check the nature of a string and not the existence of a variable, field, object, or property.
In trying to use the TYPE() function for the two unrelated purposes, we fall into a trap. In the case study presented earlier, if the user types 123, I’ll correctly determine that the type of the value entered is numeric. If, however, the user types XYZ instead of the desired data type C, I’ll incorrectly determine the data type to be D because a date variable already exists by the name of XYZ. This was the reason behind the failure of my validation code that then led to a data type mismatch error. The target table field was of type date; the user typed a character instead of a date, and I incorrectly inferred that a date had been typed in because a date variable by that name existed and TYPE() fooled me.
To make matters worse, if the user enters a perfectly valid date such as 07/25/2001 (assuming that the date format is set to MDY), I’ll incorrectly determine that the data type of the string is N and not D. Why N? Because 07/25/2001 evaluates to 0.0001399 as an expression, having interpreted each “/” as a division operator—unintuitive indeed! What this proves is that using the TYPE() function to determine the data type of the content of a string is a misapplication of the TYPE() function. I created a new function, StringType(), to determine the type of data contained within a string, based on a string parsing strategy, and at the same time to internally take advantage of the TYPE() function.
Function StringType()
The purpose of this function is to determine the type of data contained in a text string that’s passed as the only argument. Case is immaterial, and leading and trailing white space, not just spaces, are ignored (see Table 1). White space is defined in Listing 1. (Note that there’s no U for undefined category.)
****
Table 1. The function returns a single-character uppercase letter.Expand table
L
Logical
N
Numeric
I
Integer
Y
Currency (for example, $53.27)
D
Date, either strict or conforming to the prevailing date format, but independent of SET CENTURY
C
Not one of the above, character, default
****
Listing 1. Code for function StringType().
This function can be useful in any situation where an unknown string is encountered and one needs to determine what kind data it contains prior to taking further action. In addition to Listing 1, the file STRTYPE.PRG is available in the Download file. Table 2 presents a comparison of the output.
****
Table 2. Comparison of output.Expand table
String
TYPE()
StringType()
“.T.”
L
L
“.False.”
U
L
“123.52”
N
N
“123”
N
I
“$53.68”
U
Y
“01/01/01”
N
D
“//”
U
D
“123abc”
U
C
“m.aVarName”
Depends
C
An empty string
An empty string or a string made up of white space isn’t interpreted. The function returns “C.” You may reserve a word BLANK, for example, and ask the user to enter BLANK if a distinction is to be made between no value entered and an intended empty value. Then test for “BLANK” on return. This isn’t done inside the StringType() as supplied, although you might wish to incorporate such a test inside the code yourself and assign a special return character—perhaps E.
Data type logical
The function will return L if the input string is one of the following:Expand table
.T.
.F.
.True.
.False.
The inclusion of the last two is an extension.
Data types numeric and integer
Normally, the function will return “N” if the string contains a number. As an extension, it will return “I” if the value entered is truly an integer. “123” and “123.” will both return “I”. The distinction between “N” and “I” might be useful, for example, prior to SEEKing an integer field of Invoice numbers. Under special circumstances, strings containing character data might be incorrectly identified as numeric in the presence of embedded operators. See the “Limitation” section later in the article.
Data type currency
Since parsing is involved, we might as well make a special case out of numeric data when the leading character is a $ sign. For example, “$ 52.68” will return Y instead of N. Probably no one will use this option.
Data type date
Correctly determining a string to be of type date is a vexatious problem. The problem is split into two parts. What’s an empty date? And what’s a valid date? If the input string is enclosed in curly brackets—that is, {…}—the result returned is always “D” regardless of the validity of what lies inside the brackets. In keeping with VFP convention, an input string like “{abc}” will return a value of “D.”
Only two character representations are recognized by StringType() as a blank date:
• //
• {}
In-between white space is ignored. Therefore, /ss/ or { ss} will also return “D”.
As for valid dates, internally, the TYPE() function is put to use. The problem is that VFP is highly forgiving in interpreting dates. For example, ?{4.7} will print as 04/07/2001, whereas, for our purposes, we’d like to interpret 4.7 as a numeric value and certainly not a date. Accordingly, reasonable parsing constraints have been introduced in StringType() before a string can be declared to be a date. For example, there must be two and only two identical separator characters, and the rest must be digits. Dates entered in the strict date format will also be correctly identified as date.
Limitation—no check for operators
In this version of StringType(), no attempt has been made to isolate an individual data item from an expression with embedded operators. “53.86” and “2+7” both will return N (or I). Should we interpret a string such as 27*3 as “C” or “N”? I don’t know. Furthermore, StringType() normally doesn’t depend on which work areas are open. Not checking for operators leaves a loophole in this regard. An input string such as “53 * Invoice.Total” will produce unpredictable output depending on whether Invoice.Total is a visible field or not. If you code a version that checks for operators and expressions and closes this loophole, I’ll be happy to get a copy.
A wish
TYPE() as it stands identifies a valid property of an object. If TYPE(“m.oMyObject.Size”) returns “U” or “O,” it’s not a valid property. Otherwise, the property exists. As a logical and consistent extension to this interpretation, it makes sense if TYPE() also identifies an unprotected method and returns, for example, “H” if a method by this name exists for the object. I believe this generalization will be useful.
Conclusion
The standard TYPE() function will return the data type of a variable but isn’t suitable for determining the data type of the contents of a string. The new function StringType() has been designed specifically for this purpose, with a few limitations. In a future article, I’ll present a utility for generic output formatting of any type of value into a printable character string.
Note: This is not a Microsoft Corporation website. Microsoft is not responsible for its content.
This article is reproduced from the September 2001 issue of FoxTalk. Copyright 2001, by Pinnacle Publishing, Inc., unless otherwise noted. All rights are reserved. FoxTalk is an independently produced publication of Pinnacle Publishing, Inc. No part of this article may be used or reproduced in any fashion (except in brief quotations used in critical articles and reviews) without prior consent of Pinnacle Publishing, Inc. To contact Pinnacle Publishing, Inc., please call 1-800-493-4867 x4209.
Create Modern Interfaces with VFP 7
Article
06/30/2006
This article may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. To maintain the flow of the article, we’ve left these URLs in the text, but disabled the links.
Create Modern Interfaces with VFP 7
Doug Hennig
It seems that every new version of Microsoft Office changes user interface standards. Whether you like it or not, your users expect your applications to keep up with this ever-moving target. Fortunately, VFP 7 adds new features that make it easier to create interfaces similar to Office 2000. Doug Hennig explains.
In addition to new language features (see my “Language Enhancements in VFP 7” series of articles in the January to June 2001 issues of FoxTalk), database events, support for COM+, Web Services, and a ton of other new features, VFP 7 provides some user interface improvements, including hot tracking and modern-looking toolbars and menus.
Hot tracking
Hot tracking means controls appear flat (rather than the three-dimensional appearance we’re used to) but change appearance as the mouse pointer moves over them. Most controls will then appear sunken (the way they normally appear with hot tracking off), except for check boxes, option buttons, and command buttons, which appear raised. For an example of hot tracking, look at the toolbars in Microsoft Office 2000 applications. As you can see in Figure 1, toolbar controls appear flat (for example, the command buttons have no outlines) until you move the mouse over them.
Hot tracking is easy to turn on in VFP 7: Simply set the SpecialEffect property to 2 (for check boxes and option buttons, you also have to set Style to 1-Graphical). For control classes that might have to be used in earlier versions of VFP, you should set this property programmatically (such as in the Init method) rather than in the Property Window to prevent an error when the control is used in those versions. Here’s an example (taken from SFToolbarButton in SFBUTTON.VCX):
clVFP7ORLATER is a constant defined in SFCTRLS.H, the include file for SFToolbarButton, as follows:
Since version(5) was added in VFP 6, the type() test and use of evaluate() in this statement ensure that it will work even in VFP 5.
You can create other types of effects with code in the new MouseEnter and MouseLeave events. For example, you can set This.FontBold = .T. in MouseEnter and This.FontBold = .F. in MouseLeave to make a control appear bolded when the mouse is over it. You can also change the foreground or background color, and do pretty much anything else you want in these events.
SwitchboardButton in MYCLASSES.VCX is an example. It’s used as a button in “switchboard” forms, forms that provide quick access to the major functions of an application. In VFP 7, as the user moves the mouse pointer around the form, the SwitchboardButton object under the mouse is surrounded with a blue outline (see Figure 2 for an example). SwitchboardButton is actually a container class with an image and a label. Its BorderColor is set to 0, 0, 255 (blue) and its Init method sets the BorderWidth to 0 (it’s left at the default of 1 in the Property Window so you can see it in the Class or Form Designers). The MouseEnter event sets BorderWidth to 3 and MouseLeave sets it back to 0.
In addition to the SpecialEffect property and MouseEnter and MouseLeave events, command buttons have a new VisualEffect property. This property, which is read-only at design time, allows you to programmatically control the raised or sunken appearance of the control at runtime. Although you won’t often use this, it’s handy when several buttons should change appearance as a group. We’ll see an example of that later.
Although you can use hot tracking wherever you want, I personally don’t care for hot tracking except in controls in toolbars (none of the dialogs in Microsoft Office use hot tracking, for example). So, rather than setting SpecialEffect to 2 in my base classes (those in SFCTRLS.VCX), I’ll do it in specific subclasses that I use for toolbars.
To see an example of hot tracking for different types of controls, run TESTHOTTRACKING.SCX and see what happens as you move the mouse over each control.
Toolbars
Like other “modern” applications, toolbars in VFP 7 now have a vertical bar at the left edge when docked to provide a visual anchor to grab to move or undock the toolbar (see Figure 1). Another improvement related to toolbars is the addition of a Style property to the Separator base class; setting this property to 1 makes a Separator appear as a vertical bar at runtime (at design time, Separators are still invisible, which is kind of annoying). As with hot tracking, you might want to set this property programmatically to prevent problems with earlier versions of VFP; I use the following code in the Init method of SFSeparator (in SFCTRLS.VCX):
Figure 3 shows the same toolbar running in VFP 6 and 7. The VFP 7 version looks and acts like a toolbar in a more modern application.
A new style of toolbar button showing up in more and more applications is the dual button/menu control. Figure 4 shows an example of such a button, taken from Internet Explorer 5.5. Clicking on the left part of the control (the button with the image) causes an action to occur, while clicking on the down arrow displays a drop-down menu of choices. Another place I’ve seen such a control used is in West Wind Technologies’ HTML Help Builder to open Help projects. Clicking on the button displays an Open File dialog, while clicking on the down arrow displays a “most recently used” (or MRU) list of files. The advantage of this control is that it doesn’t take up much screen real estate, yet it can have a large list of choices.
SFBUTTON.VCX has a couple of classes used to create such a control. SFDropDownMenuTrigger is a subclass of SFToolbarButton that’s sized appropriately and displays a down arrow (Caption = “6,” FontName = “Webdings,” FontSize = 6). It also has assign methods on its FontName and FontSize properties so they aren’t inadvertently changed programmatically by something like SetAll(). SFDropDownMenuButton is based on SFContainer, our container base class in SFCTRLS.VCX, and it contains an SFToolbarButton object named cmdMain and an SFDropDownMenuTrigger object named cmdMenu. The MouseEnter and MouseLeave events of each button set the VisualEffect property of the other button to 1 and 0, respectively, so the buttons’ hot tracking are synchronized. The Click event of cmdMain calls the ButtonClicked method of the container, which is empty since this is an abstract class and the desired behavior must be coded in a subclass or instance. The MouseDown event of cmdMenu has the following code to display the drop-down menu:
Since SFContainer already has methods and code for handling shortcut menus (see my column in the February 1999 issue of FoxTalk, “A Last Look at the FFC”), why reinvent the wheel? As a refresher, the ShowMenu method of SFContainer instantiates an SFShortcutMenu object (defined in SFMENU.VCX), which is an adaptation (not subclass) of the FFC _ShortcutMenu class. SFShortcutMenu handles all of the work of displaying a shortcut menu; you just call the AddMenuBar and AddMenuSeparator methods to define the bars in the menu, and then call the ShowMenu method to display it. SFContainer.ShowMenu calls the ShortcutMenu method to do the actual work of defining the bars (that method is abstract in SFContainer).
However, one issue SFDropDownMenuButton has to address that SFContainer doesn’t is menu placement. SFShortcutMenu automatically places the menu at the current mouse position, but if you look at Figure 4, you’ll notice the menu appears directly below the control, aligned with its left edge. To support that, I added nRow and nCol properties to SFShortcutMenu so you can control the position of the menu; if they contain 0, which they do by default, SFShortcutMenu will figure out where the menu should go, so the former behavior is maintained. The ShortcutMenu method of SFDropDownMenuButton, however, has to place the menu at the right spot, so it calculates the appropriate values for the nRow and nCol properties.
What’s the right spot? That depends on if and where the toolbar hosting the control is docked. If the toolbar is docked at the right or bottom edges, the menu has to be placed to the left or above the control so it appears inside the VFP window. Otherwise, it has to be placed below and at the left edge of the control. The code to perform these calculations is fairly long and complex (I adapted—okay, ripped off <g>—the code from NEWTBARS.VCX in the SOLUTIONSEDONA subdirectory of the VFP samples directory), so it isn’t shown here.
To use SFDropDownMenuButton, drop it or a subclass on a toolbar. To see an example, look at the instance named ColorPicker in the MyToolbar class in MYCLASSES.VCX, included in the Download file. ColorPicker is just a simple demonstration of this control; it allows the user to change the background color of the active form from either a pre-selected list of colors (the drop-down menu) or a color dialog (when you click on the button). The ButtonClicked method, called when the user clicks the button, displays a color dialog and sets the background color of the active form to the selected color:
The ShortcutMenu method has the following code:
toMenu is a reference to the SFShortcutMenu object. The first parameter for the AddMenuBar method is the prompt for the bar, and the second is the command to execute when that bar is chosen.
Menus
Modern applications usually provide many different ways to perform the same action: main menu selections, toolbar buttons, shortcut menu selections, and so on. I’ve already discussed toolbars, and the SFShortcutMenu class makes it easy to create shortcut menus for every form and object in your application. So, let’s talk about the main menu.
Menus haven’t changed much in FoxPro since FoxPro 2.0 (although in my August 2001 column, “Objectify Your Menus,” I presented a set of classes that make it easy to create object-oriented menus). New in VFP 7, however, are the abilities to specify pictures for bars (either the picture for a VFP system menu bar or a graphic file) and to create inverted bars that only appear when the user clicks on a chevron at the bottom of a menu popup (“MRU” menus, although the meaning of MRU here is different from how I used it earlier). These features allow us to create Office 2000-style menus.
Specifying a picture is easy. In the VFP Menu Designer, click on the button in the Options column for a menu bar, and in the Prompt Options dialog, select File if you want to specify a graphic file or Resource if you want to use the picture for a VFP system menu bar. If you select File, you can either enter the name of the file in the picture text box or click on the button beside the text box and select it from the Open File dialog. If you chose Resource, either enter the name of the VFP system menu bar (for example, “_mfi_open”) or click on the button and select it from the dialog showing the prompts of system menu bars. In either case, a preview of the picture is shown in the Prompt Options dialog. The settings result in the PICTURE or PICTRES clauses being added to the DEFINE BAR command that will ultimately be created for this bar. If you’re using the OOP menus I presented in August, set either the cPictureFile or cPictureResource property of an SFBar object to the desired value.
The MRU feature is more difficult to use, and much more difficult to implement in a practical manner. The DEFINE BAR command has new MRU and INVERT clauses, but because there are no specific options for either clause in the Menu Designer, you end up having to use a trick: Enter “.F.” followed by either “MRU” or “INVERT” in the Skip For option for the bar. VFP 7’s menu generator, GENMENU.PRG, is smart enough to see that you’re really using the Skip For setting as a way of sneaking other clauses into the DEFINE BAR command that the generator will create, so it leaves off the SKIP FOR .F. part of the command.
However, that’s only the beginning. You’re responsible for managing what happens when the user selects the MRU bar (the chevron at the bottom of the menu) yourself. Typically, you’ll remove the MRU bar from the menu and add bars with the INVERT clause to the menu, but since the Menu Designer doesn’t create those bars for you, you have to code the DEFINE BAR statements yourself (although you could create the desired bar in the Menu Designer, generate the MPR file, copy the DEFINE BAR statement for the bar from the MPR, and then remove it in the Menu Designer). Also, once the user has selected one of the inverted bars, you have to add the MRU bar back to the menu and remove the inverted bars, except perhaps the selected one, which you may decide to leave in the menu as Office applications do. But then you have the complication of changing it from an inverted bar to a normal one and not adding that bar the next time the user selects the MRU bar, and that’ll only last until the user exits the application. See what I mean by “much more difficult to implement in a practical manner”?
I can’t think of any application I’ve written in the past 20 years that was complex enough to actually use this type of MRU feature, but at least the OOP menu classes I presented in August manage a lot of this stuff for you. Set the lMRU property of an SFPad object to .T. if that pad should have an MRU bar in it, and set the lInvert property of any SFBar object to .T. to have that bar appear when the MRU bar is selected and disappear after a menu selection is made. You’ll have to subclass SFPad if you want different behavior, such as changing an inverted bar into a normal one if it’s selected.
A more useful version of an MRU feature is the one I referred to earlier—a list of things the user has accessed recently. Office 2000 applications use this: The bottom of the File menu shows a list of the most recently accessed documents. Most VFP applications don’t use the concept of “documents,” but they do use records. It might make sense in some applications to put the most recently accessed records at the bottom of a menu so users can quickly return to a record they were working with before. Rather than automatically doing that, you might want to provide a function the user can select to add the current record to the MRU list.
The sample application included in the Download file has an example of such a feature. First, a button in the MyToolbar class, used as the toolbar for the customers form, allows the user to “bookmark” the current record; it does so by calling the Bookmark method of the active form. That method in CUSTOMERS.SCX has the following code:
This code expects that the Bookmark class, which we’ll look at in a moment, has been instantiated into a global variable called oBookmark. The AddBookmark method of that class expects two parameters: the command to execute when the bookmark is selected and the caption for the bookmark. In this case, the command tells VFP that if the active form is the customers form, call the Seek method of that form with the customer’s CUST_ID value (that method positions the form to the specified key value); if there’s no active form or it isn’t the customers form, call the DoForm method of the application object, telling it to run the customers form and passing the CUST_ID value (the Init method of the customers form accepts an optional CUST_ID value and calls the Seek method if it’s passed). The company name is used as the caption for the bookmark.
The Bookmark class, in MYCLASSES.VCX, is a simple class based on SFCustom. It has a two-dimensional array called aBookmarks to store the bookmarks; the first column is the command to execute and the second is the caption. The nMaxBookmarks property determines how many bookmarks can be stored. The AddBookmark method adds a bookmark to the array and to the bottom of the File menu. Here’s the code:
Before the first bookmark is added to the File menu, a separator bar is added above the Exit bar. Then bars for the bookmarks are added above that separator. The cBarPosition property is used to control the bar positions.
Figure 5 shows an example of the File menu after I bookmarked four records. Selecting a bookmark opens the customers form (if necessary) and displays the chosen record.
The Bookmark class has a couple of other methods, SaveBookmarks and RestoreBookmarks, that save and restore the bookmarks, using BOOKMARKS.DBF. These methods ensure that the user’s bookmarks are persistent between application sessions.
Tying it all together
The sample application shows all of the techniques discussed in this article. DO MAIN starts the application. MAIN.PRG instantiates some objects, including a simple application object and the Bookmark class, and creates a menu for the application. It then runs the SWITCHBOARD form and issues a READ EVENTS. The only functions in the menu and switchboard that do anything are Customers (which runs CUSTOMERS.SCX) and Exit.
The switchboard form uses the SwitchboardButton class mentioned earlier to show hot tracking. The menu shows the use of MRU and inverted bars, includes pictures for some bars, and demonstrates the use of most recently used (bookmarked) records. The customers form isn’t fancy, but the toolbar it uses shows the SFDropDownMenuButton class (as a color picker), includes a button to bookmark the current record, and demonstrates the new features of VFP 7 toolbars, including buttons with hot tracking and vertical separator bars.
VFP 7 has several new features that make it easier to create applications that look and act like Office 2000. Of course, Office XP raises the bar yet again, but for now, our applications can look more modern than VFP 6 applications could.
Note: This is not a Microsoft Corporation website. Microsoft is not responsible for its content.
This article is reproduced from the October 2001 issue of FoxTalk. Copyright 2001, by Pinnacle Publishing, Inc., unless otherwise noted. All rights are reserved. FoxTalk is an independently produced publication of Pinnacle Publishing, Inc. No part of this article may be used or reproduced in any fashion (except in brief quotations used in critical articles and reviews) without prior consent of Pinnacle Publishing, Inc. To contact Pinnacle Publishing, Inc., please call 1-800-493-4867 x4209.
Become the Master of All You Survey–Using XML as a Flexible Data Capture and Retrieval Medium
Article
06/30/2006
This article may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. To maintain the flow of the article, we’ve left these URLs in the text, but disabled the links.
Become the Master of All You Survey–Using XML as a Flexible Data Capture and Retrieval Medium
Andrew Coates
Customer Relationship Management (CRM) systems often require that a survey or script be played for a particular customer while an agent is on the phone with them. Often, the exact content of the survey or script depends on the type of customer. In this article, Andrew Coates develops a system for capturing and retrieving such data. This technique uses XML as the storage medium for the answers to the questions and displays the enormous flexibility afforded by the use of a standard that is at once both free-form and structured.
I recently was asked to retrofit an existing Customer Relationship Management system with the ability to capture information that my client wanted to gather from a targeted group of his customers via a telephone survey. My first thought was to add a new table to the database with a one-to-one relationship to the main table and a field for each question in the survey, as shown in Figure 1. This was probably the simplest approach, but on further reflection I realized that it lacks flexibility should my client ever want to undertake additional surveys.
My next thought was to still have a table specific to the survey, but to have a one-to-many table allowing the entity to be linked to many survey tables. This would add some flexibility to the system in that new surveys could be added by adding a new table and adding rows to a survey master table. Information about which table referred to which survey could be stored in a survey master table, and information about which companies were eligible for which survey could be stored in a many-to-many table. This approach is illustrated in Figure 2.
The downside to the second approach is that every time a new survey is added, a new table has to be added to the database. In addition, if a survey needs fine-tuning by adding or changing questions, then the data structure needs to be updated. While these aren’t insurmountable problems, I’d rather not have to muck around with the data structure every time my client wants to tweak the survey.
What I needed was a flexible way of storing answers to survey questions that could still be retrieved in a structured way. I decided to store the answers directly in a text (or memo) field in the many-to-many table. To make sure that the data was still retrievable in a sensible manner, I decided to use XML as the storage format within the text field. The final layout of my database is shown in Figure 3.
Data—the object of my desire
The architecture I decided on for this project was one of data objects. Each set of answers to a survey is represented by a data object that has a property for each answer. The object is then converted to and from an XML representation using Rick Strahl’s ObjectToXML and XMLToObject from his (free) wwXML library. I’ve included the version of wwXML (with permission—thanks, Rick) that was current at the time of this writing in the accompanying Download file, but I strongly suggest that you visit Rick’s site (www.west-wind.com) to check whether there’s a more recent version. Rick’s constantly adding great stuff both to existing libraries and as completely new sets of useful things.
As a companion to the data objects, there’s a GUI class. This class instantiates the appropriate data object and then the data object’s properties as control sources for its various controls. The GUI class itself does no data manipulation or handling (apart from displaying the data and allowing the user to enter or change answers). Instead, it calls the methods of the data object, which knows how to load and save itself from and to the XML data on the back end.
Data object abstract class
Both the data object and the GUI object are defined in the first instance as abstract classes—that is, classes that are only ever subclassed, never themselves instantiated. The data class standard properties and methods are shown in Table 1. ******
Table 1. Methods and properties of the data object abstract class.Expand table
Property/Method
Description
LoadData()
Loads the XML data from the back end for the SurveyID/CompanyID combination specified in the properties.
SaveData()
Persists an XML representation of the object’s properties to the back end.
CreateCursor()
Creates a cursor with a field of the same name and of the appropriate type for each data property of the class.
cComments
Standard free text field available in all surveys.
cConnectString
Connect string for use when instantiating the object and connecting to a remote back end.
nCompanyID
ID of the company to which this set of answers applies.
nSurveyID
ID of the survey from which this set of questions is taken.
tLastUpdated
Last date/time this survey was saved for this CompanyID/SurveyID combination. Note that the default value is an empty time. You can’t just use {} for this, as this is interpreted as an empty date and the parser chokes on time values later on. You need to convert the empty date into an empty time like this: =DTOT({}).
The code for the Init() method is shown in Listing 1.
****
Listing 1. The data object’s Init() method.
When the object is instantiated, the Init code accepts two parameters. The first parameter is an integer representing a handle of an already established connection to a back-end data source via SQLCONNECT() or SQLSTRINGCONNECT(). This gives the object an opportunity to share a connection and thus reduce the resource requirements of the application. The second parameter (which is only used if the connection handle passed is non-numeric or <= 0) allows the overriding of the SQL connect string used to establish a connection to the back end if there’s no handle passed.
If there’s no connection handle passed, the data object’s first job is to establish a connection to the back end. If it can’t do this, there’s no use continuing and it bails out. Next it attempts to create an instance of the wwXML helper class. This class is vital for loading and saving the data to the back end, so again, if it can’t create an instance, it just bails out.
The grunt work of the object is done by the LoadData() and SaveData() methods, shown in Listing 2 and Listing 3, respectively.
****
Listing 2. Loading data from the back end.
****
Listing 3. Saving the answers back to the database.
If the method is passed XML as a parameter, it just uses that to load the values into the properties of the object (we’ll get to why this is useful a little later on). To load data from the back end, the method first checks that the company is listed for this survey. It then generates a SQL statement to retrieve any currently stored data for this company/survey combination. Finally, if there were already answers stored in the XML field, then the values are transferred to the data object’s properties with the single line:
This is the powerhouse of the method. This single line of code transfers each property’s stored value from the XML. There are a couple of cool things to note here:
If the property’s been changed or added since the data was persisted to the table, the default value is used—there’s no requirement to go back through the data retrofitting changes to the survey. (Of course, it’s possible you may want to do some translations for business reasons, but the architecture we’ve used means that it’s not required from a technical standpoint.)
Deleting a property from the data object means that the data for that property simply won’t appear in the new version of the object, and next time the object is persisted to the table, the deleted data will simply disappear.
Saving the properties in a data object is just as simple as loading them. Again the powerhouse of the method is a single line:
This takes the properties in the current object and converts them to an XML representation. A sample of the XML generated by this call is shown in Listing 4.
****
Listing 4. Survey answers stored in XML format.
The rest of the method simply writes the XML string into the text field. Note that I’ve used a parameterized update command:
The ?lcXML tells the ODBC connection to ask VFP for the value of the lcXML variable. Using this construct eliminates a large number of issues with encoding of illegal characters and so on. All of that is handled behind the scenes by the ODBC driver interface. Similarly, ?ltUpdateTime tells ODBC to ask VFP for the value of the ltUpdateTime variable. Dates are another great source of incompatibility between various back-end data sources. Letting the ODBC driver do the conversion and formatting in this way eliminates a potential headache if you change back ends.
Adding a new survey
The steps for adding a new survey are:
Decide what questions are to be asked (or, perhaps more accurately, which answers will be recorded) and what type their answers will be.
Subclass the surveybasedata class and add a property initialized to a value of the appropriate type for each answer. Override the CreateCursor() method to create a cursor with columns with the same names as the properties just added (don’t forget to add the four properties from the data base class—nSurveyID, nCompanyID, cComments, and tLastUpdated).
Update the nSurveyID property for the data object subclass so this survey has a unique number.
Create a subclass of the surveybase class that will present the survey to the user.
Add a control or controls to the subclassed form with controlsources in the form thisform.oDataObject.<data object property>
If there are any dependencies between the questions (for example, questions that should only be asked if others were answered in a certain way), then put code in the UpdateControls() method to change control states. Note that this method is called after the data object’s LoadData() method is called, so the control’s states are set initially. You should also call this method whenever there’s a potential need for a refresh. For example, if a check box state changes to true, another set of questions might become relevant.
Update the cDataObjectName property with the name of the subclass you created in step 2. This ensures that the UI object instantiates the correct data object when it’s created.
Make an entry in the Survey_Master table with the SurveyID from step 3, a description for the survey, the name of the data class from step 2, and the name of the UI class from step 4.
For each company that’s eligible for a survey, add a row to the Company_Survey table with that company’s CompanyID and the SurveyID from step 3.
While this might seem to be a lot of work, remember that you only need to do it once for each survey.
Putting it into practice
For the purposes of this exercise, I designed a simple survey with the questions shown in Table 2. ******
Table 2. The survey questions.Expand table
No.
Question
Comments
1
How did you hear about our company?
C(3) options are: WOM: Word of mouth YP: Yellow Pages WWW: Web search ADT: TV advertisement ADR: Radio advertisement OTH: Other
1a
If Other—where did you hear about us?
C(20) Only available if OTH selected for question 1
2
Gender?
I 1: Male 2: Female
3
Do you use SQL Server?
L
4
Do you use FoxPro (Visual or otherwise)?
L
5
Do you use Visual Basic (not VBA or VBS)?
L
Next, I created a subclass of surveybasedata called surveycustomerdata and added properties for each of the questions. The subclass is included in the Download file, but the properties added were: cSource, cSourceOther, nSex, lSQLServer, lFoxPro, and lVB. I also overrode the CreateCursor() method to create a cursor with a field of matching name and data type for each property.
I assigned this new survey an ID of 1.
The next step was to create a subclass of the surveybase GUI class. I called this subclass surveycustomer.
I added controls to the subclassed form—a drop-down for the source, a text box for the other source description, an option group for the gender, and check boxes for each of the development tool questions. These controls were in addition to those provided by the base class—companyID, last update date/time, and comments, as well as the Save and Cancel buttons.
Because the other source text box should only be available if the user chooses Other from the source drop-down, I added enable/disable code to the UpdateControls() method that checks the value of the drop-down and takes appropriate action.
I set the value of the cDataObjectName property to “surveycustomerdata” so the correct data object is instantiated by the GUI class.
I updated the survey_master table by adding a row with the values SurveyID = 1, Survey_Name = “Generic Customer Survey,” Data_Class = “surveycustomerdata,” UI_Class = “surveycustomer.”
Finally, I added two new rows to the Company_Survey table, one each for CompanyIDs 1 and 2, both with SurveyID 1.
To display the survey, I typed the following in the command window:
Note that the second and third parameters of the CreateObject() call are passed to the Init() method of the GUI object. In this case, the 1 means that I want to load the survey data for CompanyID 1, and the .t. means that I want to open the form in edit mode (rather than just viewing the data). The result is shown in Figure 4.
Answering the questions and clicking the Save button fires the form class’s SaveSurveyData() method, which in turn fires the data object’s SaveData() method. The XML generated and saved to the memo field is shown in Listing 4.
Retrieving the data
“But wait,” I hear you cry. And you’re right. Storing data in this format doesn’t make querying and retrieval a simple matter of running a SQL statement. The data is stored in a free-form memo field, and most of us have had experience with how much of a hassle it is to retrieve data from there. This is where the power of the XML format (and one of Visual FoxPro’s most useful commands) comes to the fore. It’s a simple matter to retrieve all of the data from the text field into a cursor, and once it’s in the cursor the whole might of the native data engine is available to you.
The code in Listing 5 (included as ExtractData.PRG in the Download file) shows how simple it is to retrieve all of the data from the XML memo fields into a single usable cursor.
****
Listing 5. Retrieving VFP data from the memo field quagmire.
After checking that the appropriate class library is loaded, the extraction program instantiates a data object and connects to the back end using the data object’s connect string. It then retrieves a cursor containing all of the rows with answers to survey questions. Next it calls the data object’s CreateCursor() method, which generates a cursor with a column of the appropriate type and name for each data object property.
Scanning through the list of answer text fields, the code then passes the XML for each set of answers to the data object’s LoadData() method. Remember when I said that the tcXML parameter of the LoadData() method would come in handy? Well, here it is. It means that there’s no requirement to go back to the back end to retrieve the answers for each company. We can just get them all into a cursor with one back-end hit and then use the local data engine to scan through them and pass the XML to the data object.
Once the data object has been loaded up with the answers, it’s time to add a row to the results table and populate it with the date. Two simple but very powerful lines of code do this:
GATHER NAME is a wonderful command. It makes the process so much simpler. The alternative would be to iterate through all of the properties of the object and do a REPLACE for each one with the corresponding field in the cursor. I haven’t benchmarked this, but I imagine that having a native command to do this results in significant efficiencies.
After scanning through the entire list of answers, this code will leave you with a cursor called ResultSet, which has a row for every company and a column for every answer. From there, the reporting process is up to you.
Making changes to a survey
The last thing I want to mention is how much flexibility this approach gives you. Let’s say that in our example you want to add a new question about the respondent’s income range and another about the number of computers at their primary working location. Let’s also suppose that you discovered the 30 characters you’d allocated to the other source field was too small—40 would be better—and that your boss is no longer interested in the answer to whether people are using VB. The following is all you’d have to do:
Add a property called cIncomeRange and another called nComputerCount to the surveycustomerdata class.
Remove the lVB property from the same class.
Update the surveycustomerdata::CreateCursor() method to include cIncomeRange C(3) and nComputerCount I. Remove lVB and change the length of the cSourceOther field from 30 to 40.
Update the surveycustomer class to include new controls for the income range (probably a drop-down like the source drop-down) and the number of computers (probably a spinner or text box). Ensure that their control sources are set to the matching properties of the data object. Remove the VB check box.
That’s it! No data changes are required either to capture or to retrieve the data. The next time a survey is opened that was completed using the old format, the default values will be used for the new properties, the VB property will be ignored, and the existing 30 characters will be used for the other source field. As soon as it’s saved, the data will be in the new format.
Extra credit
You can use the metadata stored in the survey_master table to build a list of the surveys to which a particular company is “subscribed.” You could present a list to the user, including the description of the survey and the data that was last completed for this company in a GUI. The UI_Class field would then allow you to instantiate an appropriate form for viewing or editing survey responses.
It’s quite simple to change the back-end database used for this class. In fact, I developed the system using a SQL Server back end. All you need to do is change the cConnectString property of the surveydatabase class to one that’s appropriate for your back end of choice and then set up the tables with the structure shown in Figure 3 on that back end. That’s it—the conversion’s complete.
Conclusion
Using XML to store data in a memo field provides an extremely flexible architecture while allowing the structured retrieval of the data. While it’s not essential that XML be used (it could have just as well been a proprietary text or even binary format in the memo fields), the fact that XML is a standard for this type of work means that tools like Rick Strahl’s wwXML library make working with the format simple and quick. I encourage you to get comfortable with this powerful data exchange format.
Note: This is not a Microsoft Corporation website. Microsoft is not responsible for its content.
This article is reproduced from the November 2001 issue of FoxTalk. Copyright 2001, by Pinnacle Publishing, Inc., unless otherwise noted. All rights are reserved. FoxTalk is an independently produced publication of Pinnacle Publishing, Inc. No part of this article may be used or reproduced in any fashion (except in brief quotations used in critical articles and reviews) without prior consent of Pinnacle Publishing, Inc. To contact Pinnacle Publishing, Inc., please call 1-800-493-4867 x4209.
Subclassing Existing Applications
Article
06/30/2006
This article may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. To maintain the flow of the article, we’ve left these URLs in the text, but disabled the links.
Subclassing Existing Applications
Richard David Hodder
Most developers have a store of reusable code they rely on during development. Most (if not all) of our apps use or subclass things from this store. In this article, Richard David Hodder presents an approach for reusing application functionality across applications.
You create subclasses to reuse existing functionality in a class and to extend/change its behavior. You can “subclass” an application to reuse existing functionality in the application and to extend/change its behavior. I use the term “subclassing” somewhat loosely here, but I think it conveys the right intent.
Let’s say that I have an existing application “Oingo” and I wish to create a new application “Boingo” that’s based on Oingo. There are several possible reasons to subclass the Oingo application:
Add functionality: I want Boingo to have all of the functionality of Oingo plus some new features.
Substitute/override functionality: I want Boingo to have all of the functionality of Oingo with substitutions for some existing functionality (for example, an Import form that looks totally different).
Remove functionality: I want Boingo to have all of the functionality of Oingo with some existing functionality removed (for example, remove the Import option from the menu).
The first approach that might come to mind would be to create a new project file for Boingo, within the Oingo application directory. This approach mixes code bases and leaves you at high risk for breaking Oingo while trying to extend behavior in Boingo.
The most direct approach would be to create a new directory for Boingo, copy all of the files from the Oingo application into the new directory, make changes/add functionality, rebuild, test, and distribute, right? The problem with this approach is that the “connection” between Oingo and Boingo no longer exists: They no longer stem from the same code base. There are now two distinct code bases: When changes to Oingo are made, the changes must also be applied to Boingo to maintain the same functionality.
In a perfect world, several things would happen:
The Boingo project would have its own directory.
The project file for Boingo would be pointing to the same code base that’s found in the Oingo project file. This would allow the changes to be made to Oingo and “ripple” to Boingo.
The project directory for Boingo should have markedly less code—only the code that implements the additions, substitutions, and removals of Oingo functionality.
Changes to the application layer (“a-layer”) code in Oingo would be inherited by Boingo.
Changes to the a-layer in Boingo wouldn’t be inherited by Oingo: Again I refer you to the subclass metaphor. Changes in subclasses don’t affect the superclass; there’s no “upward” inheritance.
One of my favorite quotes is, “Wherever you go, there you are.” In a perfect world, you’d know the exact locations where functionality would need to be added, substituted, and removed before the originating application (Oingo in this example) is designed. This would allow you to do things like place hooks into and data-drive the application in order to control what’s in an application and how to extend it. Most times it’s not possible, and you may not know beforehand that the application needs to be “subclassed.” That’s why I included the word “existing” in the title of this article: You’ve already created the application. Now you want to make use of your existing work.
The keys to subclassing an application
The approach I’ll present later for subclassing an application relies on being able to “trick” VFP into using other functions and classes. I’ll present the general concepts first, and then I’ll demonstrate how I applied them in Codebook applications I’ve written.
The keys to subclassing an application are:
Managing the program stack (SET PROCEDURE)
Managing the class stack (SET CLASSLIB)
Managing the pathing (SET PATH)
Copying the project file and massaging its contents
Copying supporting files
****
Management of the program stack
When you call a function, VFP goes through the list of PRGs in the SET PROCEDURE list until it finds the function and then executes it. It goes through the list in the order of the PRGs in the SET PROCEDURE list. If two functions with the same name exist in one or more of the PRGs, then VFP executes the first one it encounters. Most of us have made the mistake of accidentally creating two functions with the same name. It gets really fun (read: frustrating <g>) when you keep modifying the function that’s later in the stack, and then run the application and find that things still seem broken. It always happens at 3 a.m. when you’re tired and out of caffeine. Consider the following three programs (Test, Foo, and Bar):
When you run TEST.PRG, you’ll always get the message box saying “I’m broken,” no matter how many times you change the “I’m fixed” string in the Hello function in BAR.PRG. That’s because when walking through the list of PRGs in SET PROCEDURE, VFP finds the Hello function in FOO.PRG first. The same goes for instantiating classes stored in PRGs: The first class encountered in the SET PROCEDURE list is instantiated.
You might be asking, “What’s that got to do with subclassing an existing app?” Consider the following situation: Oingo has a stock price importing form that calls a function named ImportStockQuotes, which retrieves stock quotes from a Web site and imports them into a database. You want Boingo to import stock quotes from a file on disk rather than from a Web site. To change just the ImportStockQuotes “behavior” in Boingo, add a PRG to the Boingo project (for example, BoingoFunctionOverrides.PRG) and in that PRG create a function called ImportStockQuotes and fill it with the code to import the quotes from a file.
The only step left in order to override the ImportStockQuotes behavior is to make sure that Boingo loads BoingoFunctionOverrides.PRG into the SET PROCEDURE list earlier than Oingo’s ImportStockQuotes. If you want to change the behavior of a class called DataImporter stored in a PRG, add a PRG to the Boingo project (for example, BoingoClassOverrides.PRG). In that PRG, create a class called DataImporter and fill it with the code that performs the behavior you want that class to execute in Boingo. You can be surgically “precise” with what you change by using this approach.
****
Management of the class stack
Managing the class stack is very similar to managing the program stack. When you instantiate a class that exists in a VCX class library, VFP goes through the list of class libraries in the SET CLASSLIB list until it finds the class and then instantiates it. It goes through the list in the order of the class libraries in the SET CLASSLIB list. If two classes with the same name exist in one or more of the class libraries, then VFP instantiates the first one it encounters. There’s one important difference between managing the program and class stacks: The class stack can’t contain two class library files with the same name. For example, suppose you had two directories (Oingo and Boingo) and each had a class library called DeadMansParty.VCX. If you executed the following command:
SET CLASSLIB TO ;
OingoDeadMansParty, ;
BoingoDeadMansParty
you’d get the cryptic error “Alias name is already in use.” Obviously, behind the scenes VFP is opening the class libraries as tables, and you can’t have two tables with the same alias (DeadMansParty) open in the same workarea. You could get around this by using the ALIAS parameter of the SET CLASSLIB command:
As with the program stack, the trick to subclassing an application is to make sure that the a-layer class libraries for the subclassed app (Boingo) are loaded into SET CLASSLIB earlier than the class libraries from the superclass app (Oingo).
****
Management of the pathing
Managing the path by using SET PATH can also be important. Codebook developers can test their applications without having to build executables by taking advantage of path settings. Boingo may rely on the setting of path to open a file that’s in the Oingo directory. ******
Copying the project file and massaging its contents
A few paragraphs ago I mentioned that it’s important to make sure that Oingo and Boingo are based on the same code base. What’s the quickest way to do that? Just copy the Oingo project file (PJX and PJT) into the Boingo directory, right? Close but no cigar. Now Boingo’s project thinks that its directory contains Oingo’s code: The pathing to the project items is wrong. The pathing needs to be adjusted so that the items in the Boingo project file point to the items in Oingo’s directory. Some care has to be taken with this because some items still should exist in the Boingo directory—supporting files, for example. ******
Copying supporting files
Some items in a project support a framework or application and are application-specific, and therefore copies should be made of them, rather than pointing to the superclass app’s files. Databases and tables are a good example of this. What good is it to point the Boingo project at Oingo’s data, when one of the things that may be changing from Oingo to Boingo is data structures? Also, for development environment purposes it’s better if Boingo has its own data structures, even if there are no changes. Other examples of supporting files are reports and INI files. Support files will differ based upon which framework(s) you develop with (for instance, Codebook, INTL, WebConnect, and so forth).
Frameworks can make most if not all of the keys to subclassing an application simpler to achieve because usually they’ve been addressed in the framework. For example, as you’ll soon see, Codebook keeps a table of the programs and class libraries to load. By changing the framework slightly, these programs and classes can be loaded in a manner that supports the task of a-layer ordering of items in SET CLASSLIB and SET PROCEDURE.
Subclassing a Codebook application
Rather than trying to address all possible frameworks and libraries, I’m going to stick to territory that’s familiar for me: the Codebook framework. ******
Management of the program and class stacks in Codebook
Codebook applications build a list of the programs and class libraries used by the application by querying the contents of the project file. In a function named BuildMetaData in Setup.PRG, the project file is opened with the alias “_project” and then the following query is run:
SELECT NAME, TYPE ;
FROM _project ;
WHERE !DELETED() AND ;
(TYPE = "V" OR ;
TYPE = "P") ;
ORDER BY TYPE ;
INTO CURSOR cTemp
Records with a type equal to “V” are class libraries (VCXs), and records with a type equal to “P” are programs (PRGs). The contents of this cursor are saved to a table called METADATA, which is built into Codebook executables. In another program named SetPath, the information in this cursor is looped through. All of the program records (type=”P”) are used to build a comma-delimited list of the programs in the project. The function then SETs PROCEDURE to this list of files. All of the class library records (type=”V”) are used to build a comma-delimited list of the class libraries in the project. The code then SETs CLASSLIB to this list of files.
Although this list is organized by type, this doesn’t order the files so that the subclassed application’s a-layer will get loaded earlier. Then I came up with an idea. I had the project file opened as a table, and I was looking at the Name field of the PJX file. The Name field uses relative pathing to point to project items. Therefore, framework files all started with “..” (for example, “..common50libscapp.vcx”). Files that were in the a-layer, on the other hand, did not start with “..” because they were either in the project’s directory or a subdirectory of the project’s directory (for example, “progssolvetheworldsproblems.prg”).
I decided to change the contents of MetaData.DBF and reorder the records so that names not beginning with “..” float to the top of the list. Here’s the modified query that I used:
I created a new field (LAYER) that holds the first two characters of the name of the file. This field is only used for the ORDER BY of this query. The framework doesn’t use the field for anything. All non-a-layer code will have a LAYER equal to “..” and all a-layer code will not. Due to the fact that the period character “.” has a lower ASCII value than the alphabetic characters, it was necessary to order the list by descending LAYER so that all a-layer records would be at the top of the cursor. Being at the top of the cursor, they get loaded into the respective stacks first!
****
Management of the pathing in Codebook
The main reason for managing pathing in Codebook is to create a development environment that allows you to develop an application without constantly having to rebuild the executable. When subclassing an application, Codebook must know two things: first, whether the current application is a subclassed application (like Boingo), and second, if it is, where the superclass application (Oingo) resides so that it can adjust its paths to point at Oingo. To solve this, I create a #DEFINE called APPLICATION_SUPERCLASS_DIRECTORY that contains the superclass’s directory. This #DEFINE only exists if the current application is a subclass. Therefore I was able to use the #IFDEF directive to change the pathing in the SetPath function in Setup.PRG:
#IFDEF will only execute its code if the #DEFINE exists (if the application is a subclass).
****
Copying supporting files and the project file and massaging its contents in Codebook
I created a simple tool called the Codebook Application Subclasser (see Figure 1).
The form SUBCLASS.SCX is available in the accompanying Download file. I won’t show all of the code here, but once the superclass application directory and subclass application directory are chosen, the following steps are taken:
Let’s look at the last four function calls in this code snippet.
BuildIncludeFile—This routine creates the application include file for the subclass application (Boingo). It #INCLUDEs the application include file from the superclass application (Oingo). This is done so that #DEFINEs added to Oingo in the future will be “inherited” by Boingo. Boingo’s include file can be added to manually: #DEFINEs added to this file don’t affect Oingo (as I said before, inheritance doesn’t move upward).
ModifyMainProgram—Main.PRG is the main program for Codebook applications. Main.PRG gets copied over from the superclass. ModifyMainProgram uses LLFF (low-level file functions) to add the equivalent of the following to the bottom of Main.PRG:
This has no effect on the code, but it makes sure that the next time the Boingo project is built, the aappBoingo class library will be added to the Boingo project.
ModifyStartCB—StartCB.PRG is a program that sets up the development environment (paths and so on) for an application. It isn’t built into the application; it merely sets up the environment. ModifyStartCB adds code to StartCB so that the superclass application’s paths are included.
CreateApplicationObjectSubclass—Every application created with the Codebook framework has an application object stored in AAPP.VCX. The application object holds global information for the application. When subclassing an application, it may be necessary to add or change properties and functionality on the subclassed application’s application object. For example, Boingo might need to attach a timer object to the application object to remind the user to import stock prices (a feature not available in Oingo). Therefore, I create a subclass of the superclass app’s application object and place it in the LIBS directory of the Boingo project’s directory. Boingo-specific application object changes get made to this object. In order to avoid the class library naming collision problem mentioned earlier, I name the class library “AAPP<Subdirectory of CDBK50 To Create>” (for example, AAPPBoingo).
When to subclass an application
Just because cause you can subclass an application doesn’t mean that you should. I can think of two occasions when subclassing an application would be appropriate:
If you sell a product and receive a lot of requests for “one-off” functionality.
If products will be internationally distributed. I worked on products that were developed in the U.S., but with the foresight to make them ready for the international market by incorporating Steven Black’s INTL Toolkit (www.StevenBlack.com). As international versions of the product were developed, there was locale-specific functionality that needed to be incorporated. Spain required new reports, Italy needed enhancements to the import form, and so on.
Lessons learned
Having coding standards—particularly frameworks and standard directory structures and the like—made this process simpler: This is true for coding in general. I’m not suggesting that you use Codebook specifically (although four out of five VFP developers surveyed… <g>). Rather, I suggest that you pick (or create) standards and stick with them.
Also, use of the NEWOBJECT() function could actually get in your way because it hard-codes the location of the class library of the class you wish to instantiate. I’ve never really been a fan of this function for that very reason. I prefer to let the environment figure it out (particularly if I need to refactor classes into new class libraries), but that’s just my own bias.
Note: This is not a Microsoft Corporation website. Microsoft is not responsible for its content.
This article is reproduced from the December 2001 issue of FoxTalk. Copyright 2001, by Pinnacle Publishing, Inc., unless otherwise noted. All rights are reserved. FoxTalk is an independently produced publication of Pinnacle Publishing, Inc. No part of this article may be used or reproduced in any fashion (except in brief quotations used in critical articles and reviews) without prior consent of Pinnacle Publishing, Inc. To contact Pinnacle Publishing, Inc., please call 1-800-493-4867 x4209.
Affiliate Disclosure: This blog may contain affiliate links, which means I may earn a small commission if you click on the link and make a purchase. This comes at no additional cost to you. I only recommend products or services that I believe will add value to my readers. Your support helps keep this blog running and allows me to continue providing you with quality content. Thank you for your support!
The text is a collection of interwoven narratives centered around Lin Meiya and Ouyang, two individuals who mistakenly exchange luggage on a plane. Their subsequent interactions reveal intertwined storylines involving a long-term relationship between Meiya and Chen Zhe, Ouyang’s family business, and various comedic misunderstandings. The narrative also explores themes of family, love, and the complexities of relationships. Several subplots, such as Ouyang’s involvement in kickboxing and Meiya’s struggles in France, further enrich the story. Ultimately, the text offers a multifaceted portrayal of characters navigating personal and professional challenges.
Character Study: Love, Loss, and Labor
Quiz
Instructions: Answer the following questions in 2-3 sentences each.
Why does the narrator initially mistake Ouyang for a pop star?
Describe the narrator’s initial encounter with Jiang Yilong, and what does it reveal about the narrator’s character?
How does the narrator describe her relationship with Chen Zhe and what is her goal related to that relationship?
What is the significance of the old restaurant to Li and his family, and why is he required to work there every Monday?
Why does Ouyang post the WeChat moment with photos of Lin Meiya, Chen Zhe, and the diary excerpts?
Explain the misunderstanding at the front desk when Lin Meiya goes to find Ouyang.
What leads to Lin Meiya and Chen Zhe’s break-up, despite their long history?
What is Lin Meiya’s relationship to the old neighborhood, and how does her dad’s business fit into this setting?
Describe the interactions between Ouyang, Lin Meiya, and Uncle Li, and how they create tension and humor.
What is Lin Meiya’s drunken rant about, and what does it reveal about her relationship with Chen Zhe?
Answer Key
The narrator mistakes Ouyang for a pop star because he is surrounded by people and bodyguards upon exiting the plane. This leads her to assume he must be a celebrity given the attention he is receiving.
The narrator meets Jiang Yilong after attempting to intervene in what she believes is Ouyang’s kidnapping. This reveals that she is impulsive, concerned for others, and has a tendency to jump to conclusions.
The narrator describes her relationship with Chen Zhe as a twenty year love affair and her goal is to marry him. She has returned from her studies in France with this purpose in mind.
The old restaurant is where Li’s grandfather began his business, and working there each Monday is a tradition to remember their roots. It is a rule intended to keep the family grounded and connected to their humble beginnings.
Ouyang posts the WeChat moment impulsively after finding Meiya’s diary, partly out of curiosity but also out of a playful desire to mock the situation and her earnestness. He is not aware of how serious Meiya’s commitment is until later.
At the front desk, Meiya is mistaken for someone looking for a job or to cause trouble, as she yells about seeing a video of Ouyang playing kickboxing, which is a personal matter. Her persistence to find Ouyang and the video leads the receptionist to be suspicious.
Despite their long history, Lin Meiya and Chen Zhe break up because Chen Zhe confesses he’s tired of their relationship and feels a sense of obligation rather than love. He feels they were together because of circumstance, not mutual desire.
Lin Meiya is part of the old neighborhood, her dad has run his food stall there for years. This setting is her “home” and community, a space that represents her history and relationships.
The interactions between Ouyang, Lin Meiya, and Uncle Li create tension through misunderstandings, playful banter, and the promise of blackmail. Uncle Li becomes a mediator, using his connection to both to mitigate potential conflict and bring humor to the situation.
In her drunken state, Lin Meiya rants about her break-up with Chen Zhe, alternating between expressions of love and anger. The rant reveals her deep attachment to him, feelings of betrayal, and pain caused by the abrupt separation.
Essay Questions
Instructions: Answer the following essay questions using information from the provided text. Be sure to use details from the source to support your response.
Explore the theme of identity in the source material, examining how characters’ perceptions of themselves and each other impact their interactions and the overall narrative.
Analyze the contrasting social and economic backgrounds of the characters, and how these differences create conflict and misunderstanding throughout the story.
Discuss the role of technology in the characters’ lives, and how this impacts communication, relationships, and reveals deeper truths about the characters.
Examine the themes of love, relationships, and heartbreak, and how they are portrayed through multiple character perspectives and their interactions in the narrative.
Evaluate the importance of family and community ties in the story, and how these relationships shape the actions and choices of the characters, both positively and negatively.
Glossary of Key Terms
Bodyguards: Individuals hired to protect another person, often someone of high status or wealth.
CHD: Congenital heart disease. A heart defect or abnormality, that one is born with.
Cosmetic Brand: A company that manufactures and sells products related to personal beauty and skincare.
Entertaining Market: A sector that includes the production, distribution, and consumption of entertainment products such as music, film, television, and performance.
Kick Boxing: A form of martial art and contact combat sport, using kicking and punching.
Orphanage: A residential institution for children whose parents have died or are unable to care for them.
Paparazzi: Freelance photographers who aggressively pursue celebrities for photos to sell to the media.
Second-Tier Cities: Cities that are not considered primary economic or cultural centers within a country or region, but still play a significant role in development.
Samsung Assistant: A digital assistant software on Samsung devices for a variety of functions like setting reminders and making phone calls.
WeChat Moments: A social networking feature within the WeChat app where users can share text, photos, and videos with their contacts, creating an online social circle.
Lost Love, Found Identity
Okay, here’s a detailed briefing document analyzing the provided text:
Briefing Document: Analysis of “Pasted Text”
Introduction:
This document analyzes a series of transcribed dialogues and internal thoughts, likely from a script or novel. The narrative centers around several interconnected characters, primarily Lin Meiya, a young woman returning from studies in France; Chen Zhe, her childhood sweetheart; and Ouyang, a wealthy and somewhat aimless heir. The text explores themes of love, loss, social class, and personal growth within a contemporary Chinese setting.
Main Characters and Relationships:
Lin Meiya: A headstrong, passionate woman returning from studying in France, intent on marrying Chen Zhe, her boyfriend of twenty years. She is initially portrayed as somewhat naive and idealistic, deeply attached to her past. Her experiences throughout the story force her to confront the reality of her relationship with Chen Zhe and her own personal identity. She also exhibits a fierce spirit and is not afraid to speak her mind.
Chen Zhe: Meiya’s childhood sweetheart. He works as a sales manager in Ouyang’s company. He appears somewhat conflicted and emotionally distant, ultimately breaking up with Meiya, revealing the relationship to be a long-standing obligation more than a deep connection. His actions suggest a desire for personal freedom and growth, or perhaps simply a fear of commitment. He is portrayed as having a kind nature but also hiding his emotions.
Ouyang: A wealthy, somewhat irresponsible heir to a large company. He is initially portrayed as detached and privileged, but his interactions with Meiya, combined with a family mandate to work, lead to a change in his behavior. He seems to have a hidden passion for boxing. He struggles with family expectations and his own lack of direction.
Jiang Yilong: Ouyang’s security supervisor. He provides a point of connection between Meiya and Ouyang, as he is the one who gives her the business card on the plane. He is a loyal and dedicated employee.
Supporting Characters:Meiya’s Father: A kind, hardworking man who raised Meiya alone after adopting her from an orphanage. He runs a food stall.
Siyu: Meiya’s best friend, who appears to be wealthy and supportive.
Other Company Employees: They add to the work environment and the social aspect of the plot.
Key Themes and Ideas:
The Illusion of Childhood Romance vs. Reality: Meiya returns with a clear image of her relationship with Chen Zhe, a “twenty years’ love” that she believes is unbreakable. The narrative, however, deconstructs this idea. Chen Zhe reveals that their connection is more out of obligation and familiarity than deep, current love. As Meiya is forced to confront this reality she also is forced to re-evaluate her understanding of her past.
Quote: “Three years away from you can’t reduce our twenty years’ love. Zhe, I’m coming back to marry you. Wait for me.”
Social Class and Privilege: The story highlights the stark contrast between Meiya’s working-class background and the world of Ouyang and his family. Meiya works at the family food stall and struggles for recognition, while Ouyang has access to considerable wealth and resources but feels stifled by his family expectations. This disparity is also shown when Ouyang is forced to perform manual labor in the old restaurant, a humbling experience for him.
Quote: “My father spent all of his money. For this, I did a lot of part-time jobs Everyday to cover my living expense. And her father is a famous investor in China investment business.”
The Search for Personal Identity and Purpose: Both Meiya and Ouyang struggle with defining their identities. Meiya must learn to move beyond her ingrained view of her relationship with Chen Zhe and make choices for herself. Ouyang is forced into the family business after a period of relative freedom.
Quote: “The distance of eleven thousand seven hundred and thirty-nine hundred and seventeen kilometers can’t block my feelings… I love you with a clear and firm faith…Love is a king of power can take me to you.” (Meiya’s romantic vision initially contrasts sharply with Chen Zhe’s later indifference).
The Impact of Family and Tradition: Family obligations weigh heavily on both Ouyang and Chen Zhe. Ouyang’s father forces him into the business, while Chen Zhe feels obligated to Meiya because of their shared past and the support of her adoptive father. Tradition also plays a role, as seen in the expectation that Ouyang must spend Monday’s working at his family’s old restaurant and Meiya taking up the family stall as soon as she gets back from France.
The Role of Misunderstandings and Chance Encounters: The entire plot is set into motion by Meiya and Ouyang accidentally swapping luggage, which leads to a series of humorous but also life-changing interactions between them. The coincidental fact that Chen Zhe works for Ouyang’s company creates another connection.
Quote: “Dear friends in the WeChat moments. I took the wrong luggage on the plane with a girl today. Her name is Lin Meiya…Attached are three photos, whoever finds her will be greatly indebted.”
The Power of Communication (or lack thereof): Miscommunication and unspoken feelings plague the relationships in this narrative. Chen Zhe’s lack of honesty with Meiya and his own inability to articulate his needs are central to their relationship breakdown. Meiya’s insistence on her viewpoint also contributes to miscommunication. The communication between Meiya and Ouyang on the other hand seems more direct even if they have a rocky start.
Social commentary on modern business practices: There is an undertone of commentary when Ouyang’s sister is discussing the business situation and reveals that the company has been slow to adapt to changing marketing practices. It is suggested that the new generation of Chinese business people is more open to new approaches.
Important Facts and Plot Points:
Meiya returns from France to marry Chen Zhe.
Meiya and Ouyang accidentally swap luggage on the plane.
Ouyang’s bodyguard, Jiang Yilong, gives Meiya his business card to avoid a potential “kidnapping” scene.
Meiya discovers that Chen Zhe works for Ouyang’s company and that he’s been aware she’s coming back.
Ouyang posts a WeChat moment with photos of Meiya, her diary, and himself.
Chen Zhe breaks up with Meiya after she returns, revealing a long-standing disconnect.
Ouyang’s family forces him to work at the company and implement new strategies after ignoring his sister’s suggestions for several years.
Meiya gets drunk and ends up at Ouyang’s fight club.
Meiya is portrayed as a surprisingly good drinker and quite resilient.
Overall Narrative Arc:
The narrative appears to follow a classic arc of disruption and transformation. Meiya’s return marks the disruption of a static and somewhat idealized past. The plot events lead to a dismantling of her expectations, forcing her to reconsider her past and future. Similarly, Ouyang’s forced entry into the family business promises to upend his own privileged existence. The ending suggests that both characters are on a path of change and self-discovery. The story also suggests that what seems like a perfect love story might not be so, and that appearances can be deceptive.
Potential Themes for Further Exploration:
How does the narrative use humor and coincidence to develop character and plot?
What is the significance of the recurring motif of food?
How do the characters’ internal thoughts and monologues affect our understanding of them?
How are cultural expectations and social pressures portrayed?
How might the relationship between Meiya and Ouyang develop going forward?
This briefing document provides a comprehensive analysis of the provided text and highlights its core themes, characters, and plot points. It sets the stage for a deeper dive into its literary and dramatic potential.
Lin Meiya and the Misunderstood Suitcase
Frequently Asked Questions
How does Lin Meiya’s initial encounter with Ouyang on the plane set the stage for the story’s conflicts?
Lin Meiya mistakenly believes Ouyang is being kidnapped due to the presence of bodyguards, leading to an embarrassing misunderstanding that is compounded by her taking the wrong suitcase. This mix-up is the catalyst for the main conflicts of the story: Meiya’s need to retrieve her belongings (containing her diary and important documents) and Ouyang’s attempts to avoid a public scandal with Meiya over the video she now possesses. It also connects Meiya to Chen Zhe’s workplace as Ouyang is the boss and ultimately leads to the revelation of Meiya’s connection to Chen Zhe.
What are the key differences in social status and background between Lin Meiya and Xu Siyu, and how do these affect their interactions?
Lin Meiya comes from a humble background, raised by her adopted father, who runs a small food stall, and had to work multiple part-time jobs to support herself while studying abroad. In contrast, Xu Siyu comes from an extremely wealthy family, with her father being a famous investor, giving her access to a privileged lifestyle. Despite their different backgrounds, Xu Siyu treats Meiya with respect, acknowledging her effort and struggles, which deepens Meiya’s appreciation and respect for her. This interaction highlights the theme of respect transcending socio-economic differences.
Why is Chen Zhe initially reluctant to openly acknowledge his relationship with Lin Meiya, and what does this reveal about his character?
Chen Zhe is hesitant to acknowledge his relationship with Lin Meiya due to their past; they were together as childhood friends in the orphanage where they were each raised by loving guardians. Their close friendship turned into a romantic relationship, but Chen Zhe feels it has slowly alienated over time and two years ago, he ended the relationship. He is unwilling to address it with her and the situation is complicated by the fact that he likes someone else. This reluctance and the way he frames the past to his present love interest, show that he struggles with directness and confrontation and prefers to avoid difficult conversations.
What is the significance of the food stall run by Lin Meiya’s father in the narrative?
The food stall symbolizes family, tradition, and community in the story. It represents the warmth and stability in Meiya’s life, a stark contrast to the complex world of business and wealth. It is the place that represents her home, history and sense of belonging that is very important to her. It’s a place where long-standing relationships are maintained and where Meiya is loved and cared for. The food stall also serves as a space where different social classes converge, demonstrating how food and tradition are important connections.
How does Ouyang’s personal life and family background contrast with his image in the public eye?
Ouyang is perceived as a powerful, wealthy businessman, and a possible pop star by those who don’t know him. However, he has to balance his family obligations. His family is very traditional. He works at his family’s company and is required to follow old traditions like doing dishes at his grandfather’s restaurant once a week. He is also secretly a kickboxer. He has an estranged relationship with his family, particularly his father, and engages in boxing against his father’s wishes and has a dislike for his corporate job that is forced upon him by his family. He also initially comes across as arrogant and careless, but he softens when he starts to show compassion for Meiya and others.
How does the theme of “love” unfold in the story and what varying perspectives are shown by the different characters?
The theme of love is a driving force, manifesting in various forms. Lin Meiya’s long-standing, unwavering devotion to Chen Zhe emphasizes a strong and romanticized idea of love that seems very unrealistic to the other characters. She is completely blindsided by the breakup, and unable to see the reality of their relationship for what it is. Chen Zhe represents a love that changes over time, and chooses a different relationship despite the history with Meiya. Other characters like Ouyang’s sister have more complex views on love, and they advocate for the reality of what a person really is. Meiya’s mother is also referenced when Meiya warns her child not to choose men based on the things they say. These various perspectives portray love as complex and not always easy.
What are some of the generational conflicts in this story and how do they impact the plot? There are multiple generational conflicts portrayed in this story. Ouyang struggles with his father’s traditional expectations, like doing chores at the family’s original restaurant, and he chooses to fight instead of working. His father wants him to be business-oriented while Ouyang wants to pursue a passion. Similarly, Chen Zhe’s father also places traditional expectations on him to get married to Lin Meiya. And Meiya herself struggles with the fact her mother wants her to get her life together, even when she is spiraling out of control. These intergenerational conflicts highlight the challenges of adhering to family expectations while also pursuing personal fulfillment and desires.
How does the story explore themes of personal identity and self-discovery?
The story follows Lin Meiya’s journey of realizing her romanticized idea of love is not true when she is forced to come to terms with her break-up and the changes in the relationships she has built over the years. Ouyang is forced to re-examine his role in the family business, and is made to rethink some of the decisions he has made in life. Chen Zhe also has to learn to be direct and honest about his feelings. These situations allow each character to undergo a transformation, discovering different aspects of themselves and their priorities.
Misplaced Luggage: A Catalyst for Chaos
Several characters in the sources experience issues related to mistaken or switched luggage [1-4].
Here’s a breakdown of the incidents:
Lin Meiya mistakenly takes Ouyang’s luggage on a flight returning from Paris [1]. This mix-up occurs because she is in a hurry to meet her boyfriend, Chen Zhe, and does not notice the luggage is not hers [5].
Her luggage contains important documents for an interview, her diary, and a gift from her friend, Siyu [4, 6].
Ouyang’s luggage contains a video of him kickboxing [7].
The mix-up leads to a series of events, including:
Meiya trying to find Ouyang to exchange the luggage [7].
Meiya going to Ouyang’s workplace, a company where her boyfriend Chen Zhe also works, to try to locate him [7, 8].
Ouyang posting about the incident on WeChat which leads to Chen Zhe’s colleagues learning about his relationship with Meiya [9, 10].
Ouyang is also affected by this incident [8].
He is trying to find Meiya to get his luggage back [1].
He ends up having to deal with Meiya and her insistence on getting her luggage back [3].
He faces pressure to not leak Meiya’s personal information [8].
His father makes him go to work after the incident [9].
The luggage mix-up is eventually resolved, with Meiya getting her suitcase back [4]. However, the luggage switch and its consequences have a significant impact on the characters and the plot [4, 10].
The mistaken luggage incident acts as a catalyst for various plot points, revealing relationships, backstories, and character traits [4, 9-11]. It also serves as a source of humor and embarrassment [1, 5].
Love and Distance: The Meiya and Chen Zhe Story
Long-distance relationships are a significant theme in the sources, with the most prominent example being the relationship between Lin Meiya and Chen Zhe. Their relationship spans many years and is tested by distance [1, 2].
Here’s a breakdown of their long-distance love and other instances of distance impacting relationships:
Lin Meiya and Chen Zhe:
They have a twenty-year relationship that began in childhood when they grew up in the same orphanage [1, 2].
Meiya goes to Europe for several years to study [3, 4].
While she is away, they maintain their relationship [1, 2, 5].
Meiya returns from Paris to marry Chen Zhe [1].
The distance and time apart contribute to their eventual break up [2]. Chen Zhe admits he is tired of the relationship [2].
Meiya feels the distance has changed things, and her perceptions of Chen Zhe are based on the past [2].
Despite the break up, Meiya still loves Chen Zhe [6].
The impact of distance on Meiya:
Meiya expresses her longing for Chen Zhe while she is in Paris, indicating the emotional strain of the long-distance relationship [1]. She writes in her diary, “I miss you so much. I miss you every minute of every hour. I wish I could hold you right now, coming back to you” [1].
Meiya is devastated by the break up and feels lost and directionless [7].
Meiya copes with her heartbreak by drinking [7].
When drunk she expresses she is about to die because she cannot live without Chen Zhe [6, 8].
She is very persistent in trying to get her luggage back from Ouyang, as it contains a gift from her friend Siyu, and other important documents, including her diary [9].
She feels that the most important thing in the suitcase is the diary that Siyu gave her [9].
Meiya has many good memories of her relationship with Chen Zhe, and she is confused as to why they broke up [6, 8].
Chen Zhe’s perspective:
Chen Zhe admits that he has been tired of the relationship [2].
He feels the relationship has become more like family and is no longer romantic [10].
He feels guilty that he allowed the relationship to continue with Meiya, and that he should not have accepted the ring or red bean from her [2].
He knows that Meiya still has feelings for him and doesn’t know why [10].
Chen Zhe also does not want to hurt Meiya [10].
Other examples of distance in the sources:
Ouyang has been out of contact with his father for half a year, which makes his father angry and causes him to send people to Paris to bring him home [11].
Ouyang’s father does not allow Ouyang to leave the company to go home [12, 13].
The theme of long-distance relationships in the sources highlights the challenges of maintaining connections across distances and the impact that time apart can have on relationships. In the case of Meiya and Chen Zhe, the long-distance relationship contributed to their eventual breakup.
Family Dinners: Ouyang and Meiya
Family dinners appear as significant events in the sources, often highlighting family dynamics and the characters’ relationships.
Here’s a breakdown of family dinners as they appear in the sources:
Ouyang’s Family Dinner:Ouyang is required to attend a family dinner upon his return from Paris [1]. He mentions to someone on the phone that he cannot meet with them that day because of the family dinner [1].
This dinner is also attended by his sister [2].
The dinner is important enough that his father orders his assistant to pick him up from the airport and bring him home for it [1].
It is implied that these family dinners are not a casual event, but rather a requirement for Ouyang [1, 3].
Meiya’s Family Dinner:Meiya has a close relationship with her adopted father who runs a food stall [2].
Her father is very pleased that she has come home from Europe [4].
Meiya mentions that she will be having dinner with her father and also says that she will have dinner with her boyfriend, Chen Zhe, after work [5, 6].
Meiya’s father cooks special dishes for her when she comes home, including her favorites, such as spicy crayfish [5, 6].
Meiya’s father tells her she must spend time with him now that she has returned [7].
Other Family Dinner Details:During a phone call, Meiya tells Chen Zhe that her father wants them to get married as soon as possible and then go to France, but she refuses to do so [8].
Ouyang has a conversation with his father and sister at their home about the retail business [9].
Meiya’s father and his friend Uncle Xiaoli appear to have a close relationship [10, 11].
Meiya tells Ouyang he should try the food at her family’s restaurant [12].
Meiya tells her boyfriend’s colleagues about her family’s food stall, inviting them to visit or to let her pack food for them [13].
It is clear that Meiya and her father have a close relationship [2, 5, 7].
Meiya’s father also cares for her very much and tries to comfort her after her break up with Chen Zhe [14].
These family dinners serve different purposes in the sources. For Ouyang, it is a formal obligation, while for Meiya, it is a source of comfort, connection, and love.
Misunderstandings at OU Group
There are a few instances of business-related misunderstandings in the sources, with the most significant one involving Lin Meiya and Ouyang, and another related to Chen Zhe’s work performance.
Here’s a breakdown of these misunderstandings:
Lin Meiya and Ouyang’s Luggage Mix-Up:Meiya mistakenly takes Ouyang’s luggage from the airport, thinking it is hers [1].
This is not a business misunderstanding, but it does lead to business-related consequences.
Meiya seeks to find Ouyang at his company to exchange the luggage [2].
Ouyang is a vice president at OU’s group, a cosmetics company, where Meiya hopes to get an interview. She does not know this when she takes his suitcase [3, 4].
The misunderstanding causes a significant disruption in both of their lives [3].
This incident leads to Meiya becoming known as the girlfriend of Chen Zhe, who works at the company [5].
The need to resolve the luggage mix-up leads to several interactions between Meiya and Ouyang at the company, and also at a restaurant [2, 6].
Meiya misunderstands the nature of the business relationship between Ouyang and her boyfriend, thinking Ouyang is threatening him by being his boss [7].
Ouyang is concerned about how to handle the situation with Meiya due to her strong personality and the sensitive contents of both of their suitcases [6].
Ouyang’s business is affected as he is required to go into work, because of his father’s orders to resolve the misunderstanding [8].
Chen Zhe’s Work Performance:Chen Zhe’s colleague makes assumptions about his work, noting that he is new and that the sales reports have already been completed by a more senior employee [9].
The colleague thinks Chen Zhe is being lazy and feels he is expecting to receive the benefits of work without having to do the work [9].
Ouyang witnesses this interaction and intervenes [9].
Ouyang reprimands the senior employee for mistreating the new employee and not being helpful. He emphasizes that the company should work as a team [9].
Ouyang’s intervention demonstrates his commitment to fairness in the workplace and is part of a larger shift toward a more hands-on approach to the family business [10].
Other Business-related points:Ouyang and his sister discuss the family business, and his sister explains how retail sales are suffering and proposes focusing on online sales [10].
Ouyang’s father also has a change of heart about the family business and puts his children in charge of creating an online sales scheme [10].
Meiya mentions that the beauty company her mentor recommended was OU Group [4].
The business misunderstandings in the sources stem from different situations and are resolved in different ways. The luggage mix up between Meiya and Ouyang creates a disruption in their lives, while the issue between Chen Zhe and his colleague highlights issues in the workplace.
Ouyang’s Kickboxing Video: A Plot Catalyst
The kickboxing video is a significant plot point in the sources, primarily impacting Ouyang and Lin Meiya. Here’s a detailed breakdown of its relevance:
Ouyang’s Kickboxing Hobby: Ouyang is revealed to be a kickboxer, a fact that is not widely known [1]. The video is kept on his phone [1]. It’s suggested he participates in kickboxing matches around the world [1]. He is shown in the video getting beaten [1].
The Video’s Discovery: The video is discovered by Lin Meiya when she mistakenly takes Ouyang’s luggage from the airport [1]. She finds the video while looking for her own belongings, which were mistakenly packed in Ouyang’s suitcase [1].
Meiya’s Reaction: Meiya is surprised to see the video and pities Ouyang, noting that he looks good, but his face is swollen from being punched and kicked [1].
Ouyang’s Concern: Ouyang is very concerned that the video will be leaked [1]. He is worried that if the video is made public, he will be embarrassed and face ridicule [1, 2].
The Threat: Meiya uses the video as leverage to ensure that Ouyang returns her luggage [3]. She threatens to post the video online if he doesn’t cooperate [2, 3]. She tells him that she has a backup of the video, and if he doesn’t return the suitcase, she will release it [2].
Video as Evidence: Meiya shows the video to Ouyang’s colleagues at the company to prove that she is telling the truth about the luggage mix-up [1].
The video’s role in the plot:The video’s existence is a key reason for the interactions between Meiya and Ouyang, which helps move the plot forward [1, 3].
It serves as a source of tension and conflict between them, particularly when Meiya threatens to release it [2].
It adds a layer of complexity to Ouyang’s character, showing a side of him that is not known to the public, as he comes from a wealthy family [1].
The video serves as a catalyst for the events that follow, including Meiya’s interactions with Ouyang at his company, as she tries to get her luggage back [1].
The Video’s Impact on Ouyang’s Image:
Ouyang does not want people to know about his kickboxing hobby, as it conflicts with his image as a wealthy and successful businessman [1].
Ouyang’s sister also has knowledge of his kickboxing activities [4].
In summary, the kickboxing video is more than just a random detail. It’s a crucial element that drives the plot, reveals character traits, and creates conflict in the sources. It is also a source of humor and embarrassment for Ouyang [2].
Simple Girl Helped a Man, but She Didn’t Expect That He Was a Billionaire, and Love Began!❤️
The Original Text
Summary
This text narrates a chaotic series of interconnected events revolving around a chance encounter between Lin Meiya, a woman returning from studying in France, and Ouyang, the son of a wealthy businessman. Their accidental luggage swap on a plane leads to a comical and ultimately revealing chain of misunderstandings, uncovering a long-term, deeply committed relationship between Meiya and Chen Zhe, Ouyang’s colleague. The narrative jumps between multiple perspectives, weaving together themes of love, family, misunderstanding, and the clash between traditional and modern business practices. Ultimately, the text explores the complexities of long-term relationships, the pressures of family expectations, and the sometimes humorous consequences of miscommunication.
Stop. OK. OK. Ouch. Stop it. I am going back with you. Let me help you. Thank you for upgrading my ticket. Excuse me? Your ticket is first-class. It was not an upgrade seat. Really? Don’t you know Xu Siyu? Sorry, I don’t know. What would you like to drink? Just like that. OK, Madame. Thank you. Now I know. She upgraded it by herself. It is not for free. She kept my pride for saying that to me. So I can accept it as her good will. If I were not studying in the same college with her, I thought we would not have a chance to know each other. I spent all my effort studying and got this chance to study in France. My father spent all of his money. For this, I did a lot of part-time jobs Everyday to cover my living expense. And her father is a famous investor in China investment business. It seems that she always has apartments everywhere in the world she’d been. However, she is also a girl with worry and concern as the others. Just money is the last thing she needs to worry about. Even I am not in the same class she is, but she respects me very much. She is really a well-educated and how really a good person Looks like. She makes me know that I must be making more efforts to work so I can return what she had helped me one by one in another way. Thank you. Excuse me? One more, Thanks. Excuse me? I spent several years in Europe And I have no idea about what happened in the Chinese entertaining market. I know little about it now. Are you a new actor or singer? You know? Paparazzi are everywhere following you stars. They take a ton of pictures and you would be on the headlines in the next day. I will hire bodyguards for sure. These people, are they having too much time to spend? I am sorry. Let’s take a picture. Although I don’t know who you are, but I can keep it as a record. When I know you later, I will show to others that I used to take a same plane with you. Come on. Please sign your name here. Thank you very much. What’s wrong? I need to get off the plane. Do you know what will happen if I shout that you are kidnapping me? I know. Just do it. Great. You are great. I go back with you. Hey, how are you doing? I was drunk on the plane. I can’t control myself. It make you embarrassed. I am sorry. Are you kidnapping? Do you need me to call the cops? Excuse me, Madame. This is my business card. I am the security supervisor in OU’s group. My name is Jiang yilong. This is Ouyang, our vice president in our group. I just take him back home by the order from his father. Oh, I am sorry. It is a misunderstanding. Sorry. Sorry. Take your time. Too embarrassed. Hey, Zhe? I am going out from the exit. I am waiting for the luggage . You look very happy. Don’t rush. Take it easy. I am already in the airport. Don’t worry. Take your time. OK. See you later. Attention, passengers by No.7381 flight now are boarding. Please take your luggage to Gate 7 The flight is on boarding now. Sister. Thanks. Sister. Chen Zhe. I miss you so much. Come here. I miss you too. I am dreaming about this moment everyday. I am dreaming about you everyday. I want to be stay with you soon. Now you are here, right? Let’s go. What’s going on? I want to look at you. Go. Let’s go home. Siyi, I arrived. He picked me up already. Now I am in his car. Where is he? Let me have a look. Be quick. OK. Chen Zhe. I didn’t see. Let me have a look again. OK. Hey, Zhe, Siyu wants to say hi to you. Hi Chen Zhe. Hi How are you? Be good to my Meiya. She is my best friend. If you are not good to her, I will come to find you. Hear me? OK. I don’t bother you two. He is very shy. Just stay with me. Go. See you. See you. Hello? Why so serious? Are you in a meeting? Yes. OK. Then you just listen to me. I can’t be with you today. Ouyang is back. We’ll have a family dinner. OK. I know. OK. Then you just go on your meeting. See you. See you. Who is that? Just for work. I guess so. You are very handsome when you are at work. Well, what did I say? Just forget it by Siyi’s call. Oh, I remember. I met a guy on the plane. Do you know Ou’s Group? The cosmetic brand? I met the son of Ou’s boss on the plane. He just sit next to me. You know, a lot of people surrounded him. I though he is a pop star. However when the plane landed, those bodyguards stood up and carried him to move. I though he was kidnapped and I was I was going after him and tried to help him. Finally, the head of the bodyguard gave me a business card. That was a misunderstanding. I almost called the police. I was so embarrassed. Chairman and madame are waiting for you at home. Your sister also will go home. Can I have my phone back? Sorry. I was ordered by chairman. Sumsung assistant. Call Mom. Hello, Mom. I’ve picked him up on the way back home. OK. Bye. Just now when you were in the Exit, did you see a girl there? She is good looking but seemed very angry. I was far away from her but I also can felt chilly. Did you feel that. No. I think she is his family. I saw them stay together. It is too scared. I though rich family has not so much worries. Well, to my surprise, every family is the same. What? Anything? I finally can have a real Zhe here. Do you need a signature from me? Tu Dou. It is fine. I am on it. OK. The chef working hard here tossing the wok, the little old man, is my father. When I was six, he adopted me in the orphanage. I suffered from CHD when I was born. I was abandoned possibly because of this disease. My father raised me up alone. And he sent me to the hospital to cure my CHD. I felt very sorry for him. Because he was unmarried till now because of me. But he said he is just waiting for the woman he loved. But till now, the woman did not come to find him. Dad. I am hungry. OK. The food is ready. I asked my father that why he chose me such a kid with heart disease and raise me alone? My father said, because at that moment, I, the little pale girl, went towards him to hold his hand. Father. Tu Dou. Serve it. OK. Ya. You are home. The beauty company my mentor recommended is Ou Group. I’m the director of the security department in Ou Group, Jiang Yilong. This is Ouyang, our vice President. Let’s take a picture together. Although I don’t know who you are now, I can keep it as a souvenir. When I find out who you are, I’ll tell others. I’ve been on the same flight with you before. Hurry up. Oh my god. I’m done. Ou Group is so big. Even if I go to work, I’ll stay in the lab every day. I’m not gonna see that Ouyang. Besides, he must have forgotten. He won’t remember me. The interview need my graduation card. Let me help you. I’m dead. Please sign it for me. Thank you. So many… I didn’t mean to read your secret but I have to make sure who you are. You’ll forgive me, right? Chen Zhe, my life in France is so tough. I miss you so much. I miss you every minute of every hour. I wish I could hold you right now, coming back to you. What can I do? Zhe. Dear Zhe, what can I do? I’m going crazy. All my god. What can I do? What can I do? This is crazy. I love you with a clear and firm faith. I love you with a warm and brave force. I don’t care how hurt my heart is and how other people think. Love is a king of power can take me to you. My god, so funny. She copied the lyrics. It was a terrible beating. Never have I seen a man beaten so badly. What a pity! The distance of eleven thousand seven hundred and thirty-nine hundred and seventeen kilometers can’t block my feelings. Three years away from you can’t reduce our twenty years’ love. Zhe, I’m coming back to marry you. Wait for me. Twenty years. How old is she? Beat him! Ouyang, you are so stupid. What can I say about you? How can there be such a stupid person as you. You ask for it. So pity. I’d better stop looking this. I’d better stop. Dear friends in the WeChat moments. I took the wrong luggage on the plane with a girl today. Her name is Lin Meiya, She came back from studying in Paris to marry her boyfriend of 20 years, Chen Zhe. The age at which the girl’s puppy love began, I’m curious too. Attached are three photos, whoever finds her will be greatly indebted. Genius. Father, did you see the cloth I wore yesterday? I washed it. Ya, you came back? Yes. Hi, uncle Yang and aunt Yang. Father, before you washed my cloth, did you go through my pockets? I have a business card in my pocket. Did you see that? What business card? I didn’t see it. What’s the matter? Nothing important. I took the wrong box with a guy named Ouyang on the plane. His bodyguard gave me a business card. I have to find him now to exchange my luggage back. You took the wrong luggage? Yes. All my important papers are in it. Why did his bodyguard give you a card? It’s just a misunderstanding. Don’t worry, father. Leave it to me. I can handle it myself. You lost your luggage? It’s not lost. It’s taken by mistake. Teacher Wang. Try it, I just mixed it. Too acid. My bad. You take this. I’ll mix another for you. Li dong, pick up the dishes outside. I’ll go upstairs. Okay, aunt Mei. Liu. Clean all the dishes in a minute. and put them in the disinfection cabinet for sterilization. -Remember it. -Okay. No problem. You handle here, I’ll go outside. Okay. Welcome. Take your time, please. Please come again. Li dong. I’m leaving. Okay, uncle Liang. You’ve finished? Take care. Hello, who is there? It’s me. Where did you go? Why did you come back? I got all the calls from Paris. The game is about to begin. and you disappeared. Your phone is turned off too. What’s the matter with you? Forget about that. This tour match, I haven’t been in touch with my father for half a year, making him mad. A gang was sent to Paris to take me back. What could I do? I couldn’t stand a gang chasing me all day in Paris. So hard to get rid of them. So you escaped from a gang on the streets of Paris like an action movie. I can’t imagine you’ll meet this. Why it’s so noisy there? I can’t hear you. I said why it’s so noisy there. Don’t forget it’s Monday. I’m in Li’s old restaurant. Oh, it’s Monday. You’re so funny. The sole heir to billions of dollars still have to work in the old restaurant serve as a servant every Monday. I have to. Don’t you forget my grandfather started his business in here. Without this restaurant, is it possible to have what we have today. These are the rules set by grandfather. The old restaurant must be passed on So, no matter you are young master Li or heir to the whole group. No exception. Come in every Monday, do the dishes and serve as a waiter. The purpose is to remember our origin. Do you understand? I’m not as blessed as you are. What do you mean? Your father’s company, how many times have you been there, Mr Ouyang? Don’t tell me about the company. It annoys me. Who is the girl? Ex-girlfriend. Where did you find this? In the drawer. Liu, drive to home. By the way, I’m not here this time. How’s the club doing? What else can the club do? The whole army was wiped out. What did I say? They can’t win without me. Come on. You don’t have to brag to me. When have you not been beaten? But this time, I’m glad you didn’t play. You know why? So you don’t have to come back black and blue, hiding in my house to recover. I have to make that up for you or your parents would think you’re chasing after girls. I don’t understand. Why are you so stubborn? Boxing is not a shady business. Why can’t you let your family know? You’re still talking about me? How about you and my sister? You two don’t love each other but pretending to be together because of parents. Just make it clear to them. Aren’t you tired? You always change the subject to something I don’t want to discuss. Don’t talk about your sister with me in the phone. It annoys me. All right, I gotta get busy. Have you had meals? Come and see me if you haven’t had it. I gotta get busy for the whole day. Okay. I’ll be there when I’m done. Wait for me. Sure. Ouyang. Where’s the wrong taken luggage? In my room. Delete your yesterday’s WeChat moment. I’ll help you find the luggage. How can you help me find it? Chen Zhe is the sales manager of our company. I’ll go to your room and take the box away. What a coincidence. How’s you doing, manager Yuan? Why are you free to visit our sales department? Don’t play a joke on me. I just want to ask you. Recently, have you been feeling really happy? Hold back from telling us to wait for some day giving us a surprise? Are you making fun of me? Didn’t you always say you didn’t have a girlfriend? You’ve been together for almost twenty years. She traveled thousands of miles back to marry you. To be honest, I envy you so much. What are you talking about? Keep pretending. Try to pretend better. You really don’t know? I’ll tell you that your girlfriend took the wrong luggage which was our young president Ou’s when she came back. Last night, Ouyang posted a WeChat moment. A friend of mine took a screenshot and sent it to me. Take a look. Isn’t that you?? What’s the matter? Get on this car. What do you want again? I have to go out right now. I’m gonna drive my own car. I don’t need your help. I’m sorry. The chairman gave orders. You are required to go to work every day from now. Even if you get up late, you need to work no matter when. I’m sorry. It’s all the orders from the chairman. Work for the company, right? All right, I’ll go right now. Get out of my way and I’ll drive myself. No. The chairman gave orders. I must drive you there in person. What about my car? I have to park my car back. Don’t worry. I’ll let someone to deal with that. Give in? Let me go. You’re good at fighting. Fighting is not something you can learn in a short time. What we practice is boy skill. I have learned these since I was a child. It’s already in my head. No set moves but it’s really strong, right? So the moves you do are like child’s play to me. Don’t show your teeth in front of me again or I’ll hurt you. My moves? What do you know? Don’t worry. I won’t tell others. The thing that you played kick boxing, I won’t tell anyone. Hello, may I help you? Hi, I’m looking for Ouyang. I mistaken his luggage on the plane. I want to change it with him. I’m sorry. Even if you do take the wrong luggage. You won’t find him here either. We work here every day but we only see him once a year. That’s pretty good already. What? All the important materials for my interview are in my luggage. If I can’t find him, I can’t go to the interview. How about this? You give me Ouyang’s phone number or his bodyguard’s. His bodyguard gave me a call earlier. But I’m sorry that I lost it. What’s it called? I’m really sorry. The question you raised is private. We can’t help you. I’m really not a liar. This box is Ouyang’s, I promise. Isn’t he playing kick boxing all over the world? Here’s the video inside. I’ve seen it. It’s really him. It can’t be wrong. If you don’t believe me, I will… What did you yell? Come with me, back to the office. It’s okay, she’s my friend. We’re leaving. Mr Ou’s friend? Is she his girlfriend? It’s hard to say. You, stand aside. Why? You’re in the way. What were you yelling at the front desk? Which video did you watch? I need to make sure who owns the box. You have a mess in here. I don’t know what it is. So I dig it up. what have you found? I haven’t figured out anything else. But I feel pity for your face. You look good and handsome. Not really ugly. But you got punched right and left and kicked from left and right. Your face is swollen like that. I really think you’re crazy. Why? How old are you? Twenty-three. You’ve fallen in love for twenty years. That means you start dating at three. Precocious enough. You read my diary secretly. Are you Lin Meiya? I’m telling you. If you dare to leak out the video of my game. Your pictures, diary and all your secrets. I put it all on the Internet. You don’t have to spend a penny on publicity. You and Chen Zhe will be famous for sure. What I don’t understand is your Chen Zhe works in our company. He’s the sales manager. Why don’t go straight to him? Why did you yell at the front desk? What did you say? Chen Zhe works in your company, and he’s the sales manager? Really, you don’t even know where your boyfriend works? Aren’t you falling In love for twenty years? You don’t even know this? Let’s change the luggage in the meantime. Come on, where’s my luggage? Give it to me. I haven’t seen my luggage yet. I have to check everything first. Take away your hands. Take away. Okay. You can go back Go back to where? Someone will send your luggage to you. Are you kidding me? All my valuable things are in that. How do I know if my luggage is safe with you? Come on, give me mine. Your luggage is at my house now. But I really can’t give it to you right now. It doesn’t matter. I don’t think you’re busy. I’m free today too. Come on, I’ll go home with you. Really? Then you get his permission first. If you can get me out of here today, I’ll follow you in the future. Mr Ou can’t go anywhere today. He must work here all day. I was tied up for work. I want to get out of here more than you do. I have nothing to do with your family stuff. I don’t know either. Don’t tell me. I don’t want to know. Call your family to send the luggage over. I’ll wait here. Can you be reasonable? Didn’t I already call? They didn’t answer my phone. It’s not convenient for them now. That is to say I can’t give you the luggage now. Do you understand? How about this? Just in case, you promise me you won’t let my privacy out. Let’s make a video to be the evidence. You say that again to the camera. What are you doing? I dialed my number. Now you have my phone. I have your phone, too. So? Go back and wait my message. Why should I believe you? You help each other Your twenty years’ boyfriend, Chen Zhe, he works in our company. I’m his boss. Due to this, you should believe me. What does it matter that you’re his boss? I’m telling you this, Chen Zhe is very good. Don’t think you’re his boss so you can threaten me. He can quit if he’s not happy. He can change jobs, do you understand? I’m going back. I’ll wait for your call. Okay. Please. Bye. Who was that girl out there? Nobody. She wrong taken the luggage, come and change. Are you still eating lollipop? Throw it out. Walk me through the company. Chen Zhe. If I hadn’t gotten your call today, I might not be able to keep going. The landlord kicked me out because I cooked in the house. It is pouring with rain outside. I have nowhere to go. I think I’m going to freeze to death in the foreign street. But it was then you called me. I didn’t tell you my situation. But your voice gives me strength. My whole body seemed to be warmed up in an instant. Hello. Hello, I’d like to see Chen Zhe. Are you manager Chen’s girlfriend Lin Meiya? Yes. Come with me and I’ll show you in. Thank you. Mr. Chen’s girlfriend. Mr. Chen’s girlfriend. What are you doing? What are you doing? I’m in the office. Zhe. How are you? I guess you haven’t eaten yet? These are your favorite foods. What are you doing here? How did you know I worked here? Why are you so nervous? No. How did you know I worked here? I’ll tell you if you take one. Don’t make fun of me, tell me. Try one. I didn’t have time to tell you last night. Last night, I found out my luggage and Ouyang’s was mistaken. I came here to change with him. He told me you worked here. When did you start to work here? I’ve never heard you say that to me. Besides, when I came in, I found your colleagues seem all know me. Are you keep showing them pictures of me everyday? What did they say about me? Tell me. Did they tell me I am good-looking? Do you want to know why did they know about you? Because yesterday, Ouyang posted your photo, my photo and the journals you wrote. All of them on WeChat moment. Really? Of course it’s real. The whole company is laughing at us now. Let me have a look. What’s the matter? You and I have nothing to hide. We’ll get married sooner or later. Instead, in the way to tell your colleagues about our marriage. It’s good. I’m satisfied. My father told me last night to marry you as soon as possible. Get married and go to France. I refused that. I made it very clear to him. I wouldn’t go anywhere this time. He was angry. How about you and I get married first? Ya. To make him happy. Ya. I think you should go back to Europe first too. Stop. Why do you say the same thing as my father? I’m telling you again. This time I came back, I’m not going anywhere anymore. Don’t you ever say that to me again Don’t forget to accompany me to the north shooting range later. Take one more. The scenery here is pretty good. Xiaoya. If you’re okay, go back first. I have a meeting later. Then I won’t bother you. I will go back first. Do you come back for dinner tonight? The meeting will end late. You can eat first. Then I will go. Hug me. There are so many people here. They will see. Who doesn’t fall in love? Hurry up. If you don’t hug me, I won’t go. Hurry up. Hurry up. Ok, ok, ok. Is that ok? All right now. Zhezhe. Ok, ok, ok. Remember to eat what I bought for you. Ok, ok, ok. Go now. Then I really go back. All right. Ok. Go. By the way. I forgot that there is a package of food. I bought it for your colleagues. I’ll send them. No no..I.. Meiya, No, I’ll just give them. OK, you go to work. I will go. Meiya, Meiya. Hello, everyone. I am Lin Meiya. I brought you something to eat today. Thank you for your usual care for Xiaozhe. I heard him say that you always work overtime. Thanks. Thanks. You are welcome. You are welcome. Sorry, I’ll take a call first. Hello, dad. No, I haven’t changed it yet. Ok, I see. I’ll hang up. It is your turn. You’re welcome. There is a little left, If you guys are hungry, eat them yourself. Our family has a food stall. My dad’s fried crayfish is a specialty, it’s very fragrant. One day if you get off work early, you must let Xiaozhe take you to our stalls to eat. Otherwise, I’ll pack it for you. I’ll go now without disturbing you. Bye. See you. Bye. Xiaozhe. See you. But then you called me and I didn’t tell you my situation. But your voice gave me strength. My whole body seemed to warm up in an instant. Chen Zhe. Do you have something to explain to me? I don’t think it’s necessary to explain it to you. Like I said before, Lin Meiya is my ex-girlfriend. But we have broken up. The two of us grew up in an orphanage. His adoptive father treated me well. So the two of us were logically together later. But then we get older. She went to Europe. The relationship is slowly alienating. We broke up two years ago. This is true. I know. She has always been thinking about me. I don’t know why. But this is her unilateral wishful thinking. Don’t you understand who I like now? What’s this? Just open it and see. No matter what you see inside. We broke up two years ago. Chen Zhe. I give you time. Take this diary seriously and think carefully about how to explain it to me. It happens that this Lin Meiya is not a person who only cares about how much she pays. What she records every day is that others treat her well. Wouldn’t you like to tell me she’s a pet drowned patient? Or do you want to tell me that the time difference between here and there has changed from six hours to two years? I admit that I have a little more concern for her. But this concern is more of a mercy, a sympathy. The two of us grew up and depended on each other. It feels like a family, a loved one. I just can’t bear to be so decisive with my family. I thought she would meet other men when she went to Europe. She will stay there to work. Anyway, this is something I did wrong. I will solve it. Ok. Leave this diary for you. Her suitcase is in my car You give these two things back to her. I give you time. I believe you can handle this matter. Right? Aunt Feng. Busy now? This is little Meiya. 5 pounds each of shallots, potatoes, cucumbers, tomatoes, and radishes, eggplant, cauliflower, and green vegetables. Ok, all right. Aren’t you going to France? Back for holiday? Yes. So great. You have grown into a slender girl. No. Your dad must be happy when you come back. You have to accompany him. I know. Where is your car? I stopped at the back door, same place. OK, I’ll ask you Uncle Feng to send you. Ok. Aunt Feng, how much is the total? My dad and I have changed to monthly bills. I have a small notebook. I will checkout with your dad later. Just leave it. OK, then you can do your business, I’ll look elsewhere. Ok. Do your business. Take it slow. Uncle Daxia. Look who is back. Maya, did you help your dad as soon as you came back from France? Yes. What a good girl. Uncle Daxia, how is your business? Quite good. Pretty good. It’s all because of your dad. That’s good. Still the same today. Understood. Four boxes of crayfish, four boxes of clams, and one box of prawns,right? Right. Today this pippi shrimp is particularly fresh. I’ll send you two pounds later. Go back and respect your father. Thanks, uncle Daxia. Then I will take it. OK, I’ll take it to you later. Ok, I will wait you at the door. Ok. Done. See you soon. I give you time. Take this diary seriously and think carefully about how to explain to me. It happens that this Lin Meiya is not a person who only cares about what she paid. What she records every day is how others treat her well. Senior, excuse me Can you send me the report that our leader said at the meeting today? What report? The sales report of our company last year. You are Chen Zhe, right? You are new, I don’t blame you. Those reports were worked out by me. The leader wants me to send you and I have to send you? No. Are you too simple? If you want, count again. Understood? How can there be so many good things to sit and enjoy? I said that all these newcomers thought that the pie could be dropped in the sky? Gain without paying. How can there be so many good things? When did your bullying newcomer prevail? You are the sales department and you are a team. Everyone works in a team to work together. As an old employee, you don’t help the new employee, but you put on the old attitude here for temporary joy, which slows down the progress of the entire team. I want to ask you who is responsible for you? The entire company. I absolutely do not allow this problem to occur in the entire company in the future. If you have any questions you can come to me. Understood? Mr. Ou, I know. I will post it right away. Mom and dad. I have found a job. Don’t worry. I will work hard. Soon I will climb up and step them all under my feet. Ok, let’s go. Bye. I will go. Hold him. Rebound. Go there. Good play. Stop him, stop him. Spread out, spread out. Hit hand. Is it delicious? Yes. My dad simmered for two hours. He’s partial. He also told me to tell you. You must eat all the pork elbow he stewed with heart. Don’t worry, I’m sure I’ll eat them all. You will take the college entrance examination in half a year. Cheer up. Get a good grade, clear? I will surely work hard. Otherwise, how can I deserve you and my uncle’s big elbows for the past two hours? So delicious. When those red berries come in springtime, Flushing on your southland branches, Take home an armful, for my sake, As a symbol of our love. Come on, put it on. Can you squat? Hurry up. Squat. Ok ok I squat. I squat. Squat. Do you like it? Yes. Mr. Ou is coming. The shop is so bright. President Li himself cooked. So respectful and admirable. Stop it. Didn’t you tell me that you were abducted by your dad to work in the company and you couldn’t get out? Let me tell you. I went with my father to visit the company all afternoon. I behave quite well-informed. He agreed to let me out and let me move freely. But I told you, I won’t accompany you to do the dishes here. What about doing the dishes? Working people are the most glorious. Let me tell you. You have to come to me often, it’s time to catch the popularity. Understand? Sit outside. You are busy today. What do you want to eat? Give me whatever you have. I will eat everything. How rich you are! Don’t just eat, you have to pay. I will surely do. Wait. Dad. I am back. Brother Tudou, you really are a strong potato. See what about it. Welcome to Lijia Old Specialties. Pork elbow with Hung Hom Sauce. Take a try. What are you watching? Did you hear the name of the dish? What do you mean? Want to go there and taste? Leave it. Their home is messier than yours. I will never eat in such a place in my life. Let me tell you, Ouyang. Don’t look down on people. Not only isn’t their home dirty and messy, but the taste is one of the best in this old street. Uncle Lin has been cooking for more than a decade. He has first-class craftsmanship and is very nice. We are friendship between generations. The one in the yellow T-shirtT is his daughter. She has just returned from studying abroad. She is now helping her. But she is an orphan. She was adopted by uncle Lin. The two of them have been running this shop on this street for more than ten years. Hard for them. Do you think this girl looks so innocent and beautiful? Brother, what is your taste? My taste? Didn’t you just stare there for a long time? Let me tell you. Don’t think of being together with her. You can consider anyone but her. It’s okay to accompany you to order crayfish. Brother. Do you think my aesthetic is the same as yours, the restaurant opened here and stayed in the old century aesthetic? Uncle and aunt Wang. Come, uncle Wang, let me do this. Come. Take it slow. Come, all right. Come, take it slow. Uncle Wang. Ok. The world is changing fast. Some old flavors and old shops will be extra precious for people. Make an analogy. If you used to eat in a restaurant when you were young. But suddenly one day you found that this shop was gone. Demolished and can’t be found. You will feel particularly lonely. This loneliness seems to be suddenly abandoned by a good friend for many years. So, the old shop needs to have the old taste. Sitting in the old shop and enjoying the old taste. This is a unique sense of security. This is a sense of security that has not been abandoned in this era. So people who came to eat in our old Lijia restaurant are all old neighborhoods. I envy you. I don’t even know what old taste is. For me, the old taste may be the dish made by our chef. Waiter, waiter. Fresh garlic. Ok, coming. Your garlic. I don’t want this peeled I want it completed. Ok. Brother Tudou. I forgot to buy the garlic today. Xiaoya. Go to your uncle Li to borrow two. Ok. Hold on. Ok. I will do. Sorry, I’ll be right back. Uncle Xiaoli. Can you lend me two garlic? It ‘s the kind of not peeled. See how busy your business is. You even run out of garlic. Wait, Uncle will take it for you. Ok. What? It is you! I still want to ask you. Did you follow me all the way? I followed you? I’ve been on this street since I was little. Have you seen? That is my restaurant. I followed you? Sorry. You two know each other? No. Meiya. The garlic you asked. God! Uncle Xiaoli! It’s too much. I will just take two. Okay, put it all in. Make yourself at home with me. Just a few heads of garlic. So little money. Me and your father are friendship between generations. Since you call me Uncle Xiaoli, why are you so kind with me? I call you Uncle Xiaoli because of my dad. You really think you are my uncle? How can you have such a young uncle? Thanks. You are welcome. What’s the situation? I got the wrong suitcase with this strange woman on a plane coming back from abroad. She came to my company and asked me. I wondered how I could meet her everywhere. You two still have this fate. What fate? No wonder you just stared there for a long time. Why didn’t you say early? What fate? You haven’t watched my moments? Uncle Xiaoli. Meiya, what happened? To thank you for borrowing garlic, I give you a bowl of crayfish. Eat whatever you want. If not enough, I will let my dad cook more. Who let you eat? Didn’t you say eat whatever you want? I asked Uncle Xiaoli to eat whatever he wants. I didn’t ask you. You gave uncle Xiaoli. And I am his friend. So he will surely give it to me. Right, uncle Xiaoli? Where is your safeguard? Don’t you have bodyguards all the time, so you can’t go home? I find that you are in charge of many things. What’s the matter with my bodyguard is with me or not? This is surely none of my business. But my luggage is of my business. Since your bodyguard didn’t follow you, I’ll go home with you to pick up my luggage. Didn’t I tell you that I’ll call you when I get the luggage. Why are you in such a hurry? Stop. You’ll call me when you get the luggage. So my luggage isn’t with you. Then where is my luggage? Let me tell you, Ouyang. All my stuff is in that suitcase. That suitcase and the things in it are very, very important to me. If you dare to lose my suitcase, I will.. What? What do you want? Want to hit me? Come, come. Hit me, hit me here. Come. Maybe you don’t know about some videos in your suitcase, but I took a backup. Don’t you want everyone in the world to see some people being hit and crying? Who was crying? Let me tell you. If you dare to send the video, never want to get your suitcase in your life. Dear both.. Dear both, it is hot today. Be calm. You two both are my friends. What about giving me a face. After Ouyang eats the crayfish, shall we have a good chat? Since you are Uncle Xiaolii’s friend, then I will give Uncle Xiaoli a face. But I want to ask Uncle Xiaoli for a certificate. Ouyang must return Lin Meiya’s box as soon as possible. Otherwise I will upload the video. Ok. Uncle Xiao Li testified. Ouyang, Return Lin Meiya’s suitcase to her as fast as possible. Ok? Meiya, Before Ouyang returns the suitcase to you, please be sure to save this video and not let it go out. Just give me a face. Ok? Ok. I trust you, uncle Xiaoli. I will wait for your call. Thanks for your crayfish. Eat it as you wish. If not enough, my dad will cook more for you. I can’t eat that strange thing. The problem is did she really watch your video? The meatballs are freshly fried. Don’t get cold. Eat them now. Brother Tudou. Ok. What do you want? Hello. Is your meeting finished? Let’s have a dinner together. I ordered a western restaurant. Why go to western restaurant? So expensive. Come home and eat. I will let my dad cook for you. Your favorite simmered prawns, fried eggs with chives and spicy crayfish. My saliva is flowing out, Xiaoya. A bottle of beer for table 5. Ok, I will hung up. I have to work. Wait for you to come back. Are you eating happily? So great. What about I ordering two more for you? Enough. I am full. This is the soda you want. This is added. Uncle. Xiaozhe is here, hurry in. You are back. Your suitcase. My suitcase. Why is my suitcase here? This Ouyang is so unreliable. Gave you the suitcase but not me. Is he playing me? I have to check. All my information and credentials are in the suitcase. The most important thing is that my diary is also in it. The most important of all is that the suitcase was given to me by Siyu. I can’t lose it. Look at her. Just like a child. Let’s eat. Eat now. I leave the suitcase here. Doesn’t matter. Boyfriend. The boy who just dragged the suitcase and walked by is Meiya’s boyfriend. They grew up together and are both orphans. I know. Chen Zhe works in our company’s sales department. They have profound love for twenty years. Chen Zhe worksin your company. And he is your employee. This is your favorite spicy crayfish. How does it taste? Thanks uncle. Uncle, come and eat. Stop cooking anymore. You eat first. I have two tables of dishes to cook. Don’t wait for me. Are you hungary? What I worry about most is that you only know the meeting and don’t eat well which makes your stomach suffer. But today I can watch you eat. I’m relieved. Let me tell you. These dishes were made by my dad so diligently and I stared at him. This shrimp is not tasty when it is cold. And your favorite leeks scrambled eggs. This is your favorite. Meiya. Come with me, I have something to tell you. What? Come. Dad, let me talk to Xiaozhe. We will be back soon. Ok. What are you telling me? Let’s sit down and talk. What are you telling me indeed? Say it right now. Actually. I always have a feeling that is not very real when I look at you. Because other people may have changed their hair or changed their clothes in my eyes. But you are different. You look so much in my memory. How you looked when you were five. How you looked when you were seven. How you looked when you were ten. It has been twenty years, Lin Meiya. I always think I owe you a thank you. You made me upset. What are you thanking me for? Then I also want to say thank you. Thank you for being with me for twenty years. Isn’t this buddy asking for marriage? Really? He’s too thoughtless to propose here. Many people in our orphanage are still alone without a family. So I always thought I was lucky to meet you. I have this place after I met you. Are you tired? No. Would you like to carry me like this forever? Yes, I do. Dad. Chen Zhe said that he is willing to carry me like this forever even if I am old. Ok, all right. Come here now. Spicy crayfish comes out of the pan. Hurry! Spicy crayfish. Coming! It is exactly at this road. You have been waiting for me in the wind and rain for so many years. Wait for me to eat together. Wait for me after school and work. So I always thought I should say thank you. Thank you. Thank you for giving me this home. Thank you for choosing me as your loved one. But let’s separate. Let’s break up. No..no.. Not this sentence. You bought the ring for me. This is the little red bean you gave me before I went to Europe. Meiya, twenty years. You are very nice. Uncle is nice to me. This home is very warm. The dishes are very delicious. But Meiya, No matter how delicious the food is, I ‘m tired of it for 20 years. I give it back to you now because I don’t think I deserve it. Find someone worthwhile. Forget me. Don’t you leave. So this is a break up? What happened? No, no, no. I don’t want to break up with you. Meiya. You picked me up at the airport yesterday. No, no, no. I don’t want to break up with you. I don’t want to break up with you. Where I didn’t do well, I can change. I can change. This is too much. I will take a look. What a jerk? Chen Zhe. Chen Zhe. Don’t you leave. I won’t let you leave. Chen Zhe. Don’t you leave. Chen Zhe! Chen Zhe! Chen Zhe! Chen Zhe! Chen Zhe! Chen Zhe! Don’t go! Chen Zhe! Don’t go! Chen Zhe! Don’t go! Chen Zhe! Chen Zhe! Mei ya, are you hurt? Get up. Are you alright? Are you hurt? Chasing a car, are you insane? Uncle Li, could you get me out of here? I don’t want my dad to see what I am like now. OK. OK. I know what to do. It’s OK, don’t be sad. Everything is gonna be better. Don’t cry. Uncle Li, can you take me to Fang Hua International Building B 1707? The one on the Fang Hua Road. My youth, all of our flaming oaths and the belief I’ve held on to, have all roared away in a sudden with his car when he left. At that moment, every light in the world is turned off, I’ve lost all my sense and perception. With no direction, no clue, no past and no future, I am left in a blank zone and become the walking dead, waiting on one site to be dried and then crushed. But there will never be my Chen Zhe coming to save me. Drink it slowly. Liar. Liar. That guy is a liar too. I said I have to go to Fang Hua International Building, but here is not! I still got a lot to say! I have to go to Fang Hua International Building, I have to tell him! Meiya, You know we’ve told you a white lie, don’t you? Trust me, you don’t want him to see you in your current condition. I want another drink. You will get drunk. I can make you a drink without alcohol. No. I want alcohol, a lot of alcohol. I‘m a capable drinker. Please, uncle Li. Coming here frequently means nothing. No, it means a lot. Come on. One more time. Thanks. Let’s call it a day. Uncle Li, where are we now? Welcome to my fight club. Your fight club? This is your fight club? Why can’t it be mine? Jesus! I have totally no idea. More exactly, he is the boss here. But besides this place, the outside part is an integrated sport competitive club, basketball, soccer, baseball, equestrian, golf, we got everything here, just name it. Oh right, and a hotel. Holy crap. She has drunk all of this! You don’t know this women will transform as long as she drinks? After you know her so many years? The point is I never drank with her. What! I hate it the most when people touch my head! And I hate it the most when people sweat a lot! This is your common training ground for taking a beating? Don’t push your luck. We two just saved you! Don’t say “just” with me! Moments ago, I still told my father I was snuggling up with Xiaozhe. To be honest, you really don’t have to break your heart such severely for a man. It’s a waste of life. You know what is life? When I was in the orphanage, I was always bullied by the boys because I was weak. It was Xiaozhe who has protected me every time when I was bullied. He always fought with others for me, and he never complained a word even he was black and blue. When we were little, still that time, I hate eating fat, so I spat it out and held it in my hand at every meal. If Xiaozhe saw, he would run toward me and took the fat away, put it in his own pocket, his pocket was always oily and our teacher has criticized him so many times for that. But he wasn’t upset at all, he just smiled every time when he saw me. He would smile, do you know that? Just like a hero. And that day, the rain was heavy. Really heavy. On the way back home, my shoes were totally wet, it was Chen Zhe, Chen Zhe gave his shoes to me, so that I got a pair of dry shoes to wear. Liar. Liar! I’m going to Fang Hua International Building B! B! B! It’s not Fang Hua International Building B! Don’t pull me! Who is pulling me! Don’t stop me! Loosen! All of you loosen me! Ouyang, come on! Come to challenge me! Challenge me! I don’t believe you can beat me! Xiaozhe, I love you! I can’t break up with you! Xiaozhe, Xiaozhe where are you? Xiaozhe! Chen Zhe is not like me, he didn’t have a father to bring him home. But he did everything on his own since he was a kid, everything. If you love me, you will come to find me. You will know that I’m about to dying. Today, today, we broke up for a God-knows-why reason. I really, I really have no idea, he just broke up with me. But once I close my eyes, once I close my eyes, all I can think of is the good side of him. I can’t survive if I break up with him. If you love me, you will come to find me. You will know that I’m about to dying. Xiaorui, Do you think your mom is pathetic now? Xiaorui, don’t worry, I promise I will give you a beautiful future, but don’t you follow my way in your life. Never trust those sweet nothings, and never choose a blindly greedy man as your husband in your whole life. Mom, please, I want you to live a happier life, I want you to stop wandering between the past and the reality, and stop being as drunk as a fiddler everyday. Mom, I’m begging you, be realistic, can you do that? Mom, slow down. Xiaorui, come here. Sit. Dad. Mom has met some friends tonight, so she is a little bit drunk now. I have no interest in this. I want to ask you for some information about the sales in the second-tier cities of our makeup retail chains. Dad, sister. You are all up. Ouyang, come here, come. I’m discussing some business with your sister, you should join us. Alright. I just asked your sister about the sales in second-tier cities of our makeup retail chains. Guess we have a huge loss? Dad, no one is willing to buy beauty product in a physical store now, they all buy it online, and get their package directly at home. It’s very convenient. If I say, those retail chains of our business should all be shut. Then what’s your opinion on online sales? Well, I think…. Dad, two years ago I’ve already had a proposal of shutting the retail chains in the second-tier cities, our sales department has already done detailed market surveys and come up with specific plans, but you turned down on it. And last year, I proposed this idea again and asked for a high attention on the online sales, but you rejected it again. About online sales, we’ve already made a detailed scheme, do you still remember? Yes. I know I’ve had errors on this decision. You know what, I will hand it over to you two. You two come up with a scheme of online sales together, ASAP. Alright, go to get some rest. OK. Dad, I’m going back to sleep. Goodbye, sister. Go to sleep. Dad, you know I can totally handle this by my own…. Xiaorui, I hope your brother can learn something from you, you try to help him a little bit, OK? OK. I get it. Dad, you should have rest early too. I’m going upstairs to sleep. You are awake. Uncle Li, I’m in your home? We are in a hotel. You got drunk last night, nobody was able to wake you up, so we could only bring you here. But you don’t have to worry, I slept at next room last night. Guess you are hungry. You got ten minutes for washing yourself, I will be downstairs. Yeah. Liar. Liar! It’s not Fang Hua International Building! One more time! I don’t want to break up with you.
Affiliate Disclosure: This blog may contain affiliate links, which means I may earn a small commission if you click on the link and make a purchase. This comes at no additional cost to you. I only recommend products or services that I believe will add value to my readers. Your support helps keep this blog running and allows me to continue providing you with quality content. Thank you for your support!
This collection of articles from a Saudi Arabian daily newspaper, primarily the Riyadh newspaper, covers a broad spectrum of topics including Saudi Vision 2030 initiatives, with focuses on sustainable urban development in Riyadh, economic diversification (tourism, renewable energy, manufacturing), and social programs such as family counseling and a blood donation campaign. The sources also discuss global and regional geopolitical issues, particularly concerning conflicts in the Middle East and international relations, alongside developments in the oil market and artificial intelligence. Additionally, the articles touch upon cultural events like film festivals and musical performances, sports news focusing on Saudi football and boxing, and educational advancements within the Kingdom.
AI’s Global Impact: Saudi Arabia’s Vision and Challenges
Artificial intelligence (AI) is presented in the sources as a transformative force with significant and varied impacts across several sectors, particularly in Saudi Arabia.
Saudi Arabia’s Vision and Implementation in AI The Kingdom of Saudi Arabia, through the Saudi Data and Artificial Intelligence Authority (SDAIA), is leading major transformations in the AI field, recognizing that the future will be shaped by code and algorithms. SDAIA has launched a National Strategy for Data and AI. A notable achievement is the introduction of “Humain,” an interactive Arabic conversational application powered by “علّام 34B,” a leading Arabic linguistic model. This application has been successfully tested in areas such as transcribing judicial sessions. This initiative marks a bold step towards establishing a national AI industry capable of exporting its technologies, aiming to shift Saudi Arabia from being an AI consumer to a global provider of smart AI infrastructure. The Kingdom views this as a historic opportunity to become a global center for AI.
Economic and Employment Impacts
Job Market Transformation: AI is playing a crucial role in programming industrial systems, maintaining smart systems, and enhancing cybersecurity. The Saudi workforce is undergoing a qualitative leap in AI skills, with LinkedIn data from June 2025 showing a 1.5-fold increase in job postings requiring AI-related skills in the Kingdom over the past year.
Increased AI Adoption: A recent survey highlighted a significant rise in AI usage, with 77% of professionals in Saudi Arabia regularly employing AI tools, an increase from 46% previously. Some professionals even liken the process of acquiring AI skills to taking on a “second job”.
Market Dynamics and Investment Concerns: Despite the enthusiasm, the AI market has experienced stock fluctuations for major tech companies like Nvidia, Arm, Oracle, and AMD. A report from the Massachusetts Institute of Technology (MIT) revealed that 95% of companies investing heavily in AI had yet to generate financial returns, raising questions about the high valuations of some AI companies.
“Digital Colonialism” Analogy: The sources draw a parallel between the current “data story” for AI and the historical “oil story.” It is suggested that advanced AI companies might control and extract valuable data from developing nations, similar to historical resource exploitation, potentially leading to a form of “digital colonialism”. While data can be reproduced, unique datasets (e.g., medical scans, agricultural patterns) are difficult to replicate.
Technological and Geopolitical Impact
Geopolitical Competition: AI and 5G networks are identified as new arenas for digital sovereignty and global influence, contributing to what is described as a “new cold technological war” between major global powers like the United States and China.
Military Applications: AI is also being integrated into advanced weaponry and surveillance technologies, including drones and electronic warfare, playing a significant role in modern combat and national security strategies.
Impact on Education AI is positioned as an “educational companion”, offering innovative solutions to enhance learning and teaching.
Personalized Learning: AI can analyze students’ proficiency levels, provide personalized content, address learning gaps, and strengthen their strong points. It offers simplified explanations, practice exercises, and immediate feedback, significantly enhancing comprehension.
Enriched Resources and Flexible Learning: AI enriches the educational process by providing diverse resources such as interactive simulations and smart presentations. It also allows for continuous and flexible learning (anytime, anywhere), promoting self-learning and potentially reducing student frustration.
Skill Development: AI tools help students develop critical thinking, innovation, and problem-solving skills.
Teacher Support: For educators, AI automates routine administrative tasks like correcting assignments, monitoring attendance, generating reports, and creating lesson plans. This frees teachers to focus more on direct student interaction, creative teaching, and providing essential psychological and academic support.
Complementary Tool: The integration of AI in education is seen as a necessity to keep pace with global changes, shifting the student to the center of the learning process and empowering teachers as guides and inspirers. AI is described as a “complementary tool” to human creativity and passion.
Challenges and Ethical Considerations: While the benefits of AI in education are considered to outweigh its negatives when used wisely, challenges such as data bias and the risk of cheating need to be addressed. This emphasizes the importance of ethical AI use, human interaction, and a responsible approach to integrating these technologies.
Middle East Conflicts and Global Geopolitical Shifts
Regional stability is a multifaceted concept discussed in the sources, particularly in the context of the Middle East and the broader global geopolitical landscape. The information highlights ongoing conflicts, diplomatic efforts, and Saudi Arabia’s strategic approach to maintaining security and fostering development.
I. The Conflict in Gaza and the Palestinian Territories
The sources extensively detail the deteriorating humanitarian situation and ongoing violence in the Gaza Strip.
The “Summit of Religious Leaders” condemned the genocide, starvation, and destruction in Gaza and called for immediate international intervention to stop the massacre and pressure the Israeli government to cease the humanitarian catastrophe. They emphasized that peace is a necessity for humanity’s existence and credibility.
Reports indicate intensive Israeli aggression, including airstrikes and artillery shelling, in various parts of Gaza, leading to numerous casualties among women and children. These attacks have targeted displaced people’s tents and residential areas.
The Israeli army reportedly used dense smoke bombs, causing widespread nausea among citizens.
There are accusations that Israel is preventing humanitarian aid and organizing its distribution, even facilitating its theft, while practicing deliberate starvation against vulnerable groups. Specific items like meats, dairy, fish, fruits, and nutritional supplements are allegedly prohibited from entering Gaza.
Saudi Arabia and Italy have categorically rejected any forced displacement of Palestinian residents and called for an immediate ceasefire and the release of all hostages. They also condemned any unilateral actions or violence in the West Bank that could undermine the two-state solution.
Both nations emphasized the need for unrestricted humanitarian aid and vital supplies to all parts of Gaza. They also stressed that any post-war arrangements must be linked to a political solution that ends the occupation and achieves a just and comprehensive peace. Saudi Arabia and Italy aim to cooperate in empowering the Palestinian Authority to achieve this two-state solution.
Furthermore, Israeli forces have conducted extensive incursions and arrests in the West Bank, establishing checkpoints and raiding homes.
II. The Russia-Ukraine Conflict and Broader Geopolitics
The conflict in Ukraine is presented as a key factor in the current geopolitical transformations and a “new cold technological war”.
Russian forces are reported to be conducting continuous attacks along the front line, maintaining the “strategic initiative”. Conversely, Ukrainian forces claim successes in preventing Russian advances.
The European Union is reportedly considering using frozen Russian assets for Ukraine’s reconstruction.
Diplomatic efforts remain complex. Ukrainian President Volodymyr Zelensky has proposed that Gulf, European, and Turkish states host future peace talks, with initial discussions planned. Direct talks between Russia and Ukraine have been limited since March 2022 to humanitarian issues like prisoner exchanges.
US President Donald Trump’s efforts to broker a breakthrough in August were unsuccessful. Moscow continues to demand Ukraine relinquish its NATO aspirations and cede territories as preconditions for peace, which Ukraine rejects.
Trump has stated his readiness to impose economic sanctions on Russia if a ceasefire is not agreed upon, emphasizing economic measures over military intervention.
The British government has accused Russia of procrastinating in peace talks.
Saudi Arabia’s Minister of State and National Security Adviser met with Ukraine’s National Security and Defense Council Secretary to discuss efforts to resolve the crisis and bilateral relations. Prince Khalid bin Salman also discussed efforts to resolve the Ukrainian crisis with Andriy Yermak.
III. Saudi Arabia’s Role in Regional Stability
Saudi Arabia is actively pursuing a strategy to balance security with development, leveraging its political, economic, and security weight to transform challenges into opportunities.
The Kingdom engages in diplomatic efforts to contain threats and works with international partners to de-escalate tensions, aiming for a stable environment.
Despite regional instability, the Saudi economy demonstrates strong performance, driven by non-oil activities and successful diversification policies.
In the energy sector, Saudi Arabia, through its role in “OPEC+”, aims to maintain a balance of stability and flexibility in the oil market.
The Kingdom is also accelerating its “green transition,” with projects like NEOM’s hydrogen initiative reaching advanced stages of completion.
Saudi Arabia’s diplomatic strategy involves expanding partnerships with Asian countries, including China, while maintaining strong relations with the United States and Europe, thus enhancing its strategic depth.
Investments in green finance tools and food and water security further bolster its economic resilience.
The Kingdom’s approach is characterized as forging a new path for development and stability, rather than merely reacting to crises, making challenges a lever for its rising economic power.
IV. Geopolitical Competition and Military Technologies
The sources also touch upon the broader competition for digital sovereignty and influence, describing it as a “new cold technological war” between major powers.
Technology is now an arena for geopolitical struggle comparable to traditional battlefields.
Drones are identified as an “ideal tool for wars of attrition” and play a crucial role in modern combat, helping to bridge the technological gap between regular armies and irregular forces.
There is a global race to develop advanced defensive systems, such as laser technologies, to counter drone threats. These are seen as a promising, cost-effective solution, with major powers like the US, China, Russia, Israel, and the UK actively investing in their development.
The conflict in Ukraine serves as a “real-world laboratory” for evaluating the effectiveness of drones and anti-drone technologies, with AI being increasingly integrated into drone systems to reduce reliance on human control.
The concept of “strategic ambiguity” in Western policies is also discussed as a tool for deterrence, requiring a delicate balance between clarity for credibility and ambiguity for maneuverability in complex international environments.
V. Iran’s Regional Actions
Iran has been subject to international scrutiny regarding its nuclear program and regional activities.
Iranian media reported the arrest of eight individuals accused of providing sensitive information about military figures and sites to Israeli intelligence.
Human rights groups allege that Iran uses charges like espionage and swift executions to suppress political dissent.
Iran has urged European powers (Britain, Germany, and France) to “make the right choice” to avoid the re-imposition of sanctions under the 2015 nuclear agreement, emphasizing diplomacy.
Saudi Arabia’s Vision 2030 Economic Transformation
Economic development in Saudi Arabia is intricately linked to its ambitious Vision 2030, which aims to create a diversified, robust, and sustainable economy. The Kingdom is proactively transforming its economic landscape through strategic initiatives across various sectors, demonstrating notable progress despite regional and global challenges.
I. Vision 2030 and Macroeconomic Performance
Ambitious Goals and Achievements: Vision 2030 initially aimed to reduce the unemployment rate below 7%, a target that was achieved six years ahead of schedule. The new, more ambitious goal is to reach 5% unemployment by 2030.
Strong Economic Indicators: In Q1 2025, the overall unemployment rate reached a historic low of 2.8%. For Saudi nationals, the rate stood at 6.3%. These figures affirm the economy’s strength and its capacity to generate sustainable job opportunities.
Non-Oil Sector Growth: The real Gross Domestic Product (GDP) saw a 3.4% growth in Q1 2025, predominantly driven by a 4.9% increase in non-oil activities. This successful diversification effectively absorbed a slight 0.5% decline in the oil sector, enhancing the economy’s resilience to shocks.
Business Confidence and Forecasts: The Purchasing Managers’ Index (PMI) consistently remained above the 50-point expansion threshold (56.3 in July), indicating sustained domestic demand and employment growth. Consequently, the International Monetary Fund (IMF) has raised Saudi Arabia’s growth forecast for 2025 to 3.6%.
Attracting Investment: The Kingdom is recognized for its ability to attract foreign capital and investments, with ongoing legislative and regulatory reforms making the business environment increasingly appealing. These reforms contribute to a deep economic and social transformation, signaling confidence to global markets.
II. Key Pillars of Economic Transformation
Human Capital Development: A central strategy is “human investment,” which positions the Kingdom as a global model. This includes significantly increasing women’s participation in the workforce, which has reached a historic 36.3%, with their unemployment rate falling to 10.5%. Institutions like the Human Resources Development Fund (HRDF) and the Technical and Vocational Training Corporation (TVTC) are vital in qualifying national cadres.
Technology and Artificial Intelligence (AI): Saudi Arabia is asserting its leadership in data and AI. The Saudi Authority for Data & AI (SADAYA) is spearheading significant transformations, with Riyadh hosting global AI summits, underscoring the Kingdom’s role as an innovator and developer of technology. There has been a 1.5-fold increase in jobs requiring AI skills, and 77% of professionals in the Kingdom regularly use AI tools.
Energy Transition: The Kingdom is accelerating its “green transition” through flagship projects such as NEOM’s hydrogen initiative, which is 80% complete and projected to produce 600 tons daily, backed by $8.4 billion in financing. Saudi Arabia is also actively pursuing lithium production, aiming to become a major global player by 2027 through localizing this industry. Its role in “OPEC+” also contributes to oil market stability and flexibility.
Tourism: The Kingdom is among the fastest-growing tourism destinations globally, supported by over $800 billion in investments for mega-projects like NEOM, the Red Sea, and Diriyah. The ambitious target is to attract 150 million visitors by 2030. Forums like TOURISE are designed to foster global partnerships and innovative tourism investments, creating thousands of new jobs and strengthening Saudi Arabia’s soft power. The Saudi pavilion at Expo 2025 Osaka received a Gold Award for its architectural design, highlighting the Kingdom’s cultural and tourism appeal. The entertainment sector is also booming, with major events and festivals making the Kingdom a regional and global entertainment hub.
Industry and Mining: Strategic partnerships are being developed for advanced mining technologies, particularly for critical minerals like lithium, which are essential for the energy transition and electric vehicle battery production.
Real Estate and Urban Development: New regulations, such as fees on “white lands” in Riyadh, aim to promote urban development, diversify real estate products, curb monopolies, and boost the national economy. These measures include fair compensation mechanisms for expropriation to stimulate new urban projects.
E-commerce: The e-commerce sector is experiencing substantial growth, with Riyadh emerging as a global technology hub offering robust infrastructure for innovative tech companies.
Small and Medium Enterprises (SMEs) and Non-Profit Sector: Significant government support is directed towards NGOs and SMEs. The non-profit sector has witnessed a remarkable 252.76% increase in organizations, now exceeding 5,700, and is playing a growing role in national development and GDP contribution. Initiatives like “Osar” empower families to operate school canteens, fostering entrepreneurial growth.
III. Strategic Approach and Resilience
Balancing Security and Development: Saudi Arabia’s overarching strategy involves carefully balancing security imperatives with development goals, effectively transforming regional challenges into economic opportunities.
Diversified Partnerships: The Kingdom’s diplomatic approach includes expanding partnerships with Asian countries, such as China, while maintaining strong relations with the United States and Europe, thereby enhancing its strategic depth.
Economic Diplomacy and Resilience: Investments in green finance tools and robust food and water security initiatives further bolster the economy’s resilience. The Council of Economic and Development Affairs consistently reviews national economic performance and implements procedural frameworks to manage economic activities.
In summary, Saudi Arabia’s economic development is defined by its proactive and transformative approach, committed to diversification away from oil, strategic investments in future-oriented sectors, and a strong emphasis on human capital development, all supported by robust governance and broad strategic partnerships.
Saudi Arabia’s Vision for Social Welfare and Citizen Prosperity
Social welfare in Saudi Arabia is a multifaceted endeavor, deeply ingrained in the leadership’s consistent commitment to the care and well-being of its citizens and residents. This commitment is a foundational principle, extending across various governmental and societal sectors to foster a vibrant and prosperous society. The Kingdom’s approach to social welfare is characterized by a blend of direct support, empowerment, and the cultivation of a strong sense of community and national identity.
I. Foundational Principles and Government Commitment
The overarching strategy emphasizes that serving citizens and standing with them is a top priority, with all ministries and government agencies implementing this approach. This dedication underpins a historical phase of building, development, and prosperity, strengthening national cohesion. The state’s efforts aim to ensure that citizens are at the heart of development, reflecting a vision for sustainable economic and social transformation. This includes a redefinition of national security to encompass not only military capabilities but also environmental, food, health, and cybersecurity, building resilient systems to respond to new threats.
II. Key Pillars of Social Welfare Initiatives
Healthcare and Humanitarian Aid:
Blood Donation Campaigns: A prominent example is the Crown Prince’s initiative to donate blood, which serves as a powerful model of sacrifice and giving. This act is seen as a national symbol for promoting a culture of voluntary donation and achieving 100% self-sufficiency in blood and its components across all hospitals.
Community-Wide Participation: These campaigns have garnered widespread community interaction from various segments, including families and officials, demonstrating deep solidarity and responsibility. The initiatives also promote the role of women as crucial in fostering this culture, both as donors and influencers within their families and communities.
Benefits and Recognition: Donating blood offers health benefits to donors, such as stimulating circulation and protecting against heart disease. The Kingdom honors regular blood donors with prestigious medals, reinforcing the value of their contribution.
Emergency Services: Efforts are continuously made to develop ambulance and medical services provided to citizens and residents, aligning with leadership aspirations for quality and efficiency.
Humanitarian Stance: On a broader scale, Saudi Arabia, in partnership with other nations, calls for humanitarian aid access and an end to displacement in conflict zones, reflecting its global humanitarian role.
Education and Human Capital Development:
Skill Empowerment: The leadership supports technical and vocational training as a cornerstone for national development and preparing national competencies. This includes enabling national cadres with science and knowledge through robust university education.
Women’s Workforce Participation: Empowering women and increasing their participation in the labor market is a key strategy, aligning with global best practices in human capital management.
“Osar” Program: The Ministry of Education implements the “Osar” program, enabling families to operate school canteens. This initiative aims to provide job opportunities for productive families and ensure healthy food options for students, while addressing operational challenges.
Support for NGOs: Non-governmental organizations, including the Human Resources Development Fund (HRDF) and the Technical and Vocational Training Corporation (TVTC), are instrumental in qualifying national cadres.
Housing and Urban Development:
Affordable Housing: New regulations concerning “white lands” in Riyadh aim to promote urban development and diversify real estate products, ultimately leading to the provision of affordable housing units for citizens. These measures are designed to curb monopolies, stimulate new urban projects with fair compensation, and place the citizen at the heart of development.
Community Support and the Non-Profit Sector:
Charitable Societies: Charitable societies play a vital role in enhancing charitable work, empowering eligible categories, and promoting developmental and social programs.
Growth of the Third Sector: The non-profit sector has witnessed significant growth, with a 252.76% increase in organizations, now exceeding 5,700. This sector is increasingly contributing to national development and GDP.
Social Innovation: Vision 2030 aims to increase the non-profit sector’s contribution to GDP to 5% and boost volunteer numbers. This involves social innovation to address chronic community problems through tailored and sustainable solutions, beyond mere financial aid. Initiatives include empowering productive families, early intervention for psychological challenges in adolescents, and services during Hajj.
Social Inclusion and Dignity:
People with Disabilities: There’s an emphasis on fostering a culture of “assistance as solidarity, not charity” for people with disabilities, promoting mutual respect and ensuring their full integration and equal opportunities within society.
Valuing Individuals: The Kingdom places importance on honoring individuals who demonstrate sacrifice and giving for the nation and humanity. Such acts are seen as reflecting the leadership’s commitment to human values and fostering a spirit of love and cooperation.
Quality of Life and Personal Development:
Entertainment Sector: The development of the entertainment sector is considered a fundamental element in the national vision to build a prosperous nation and improve the quality of life for all.
Personal Growth: Emphasis is placed on personal development, making conscious choices, focusing on family and community, and safeguarding against negative external influences, contributing to a vision of healthy and responsible citizens.
In conclusion, Saudi Arabia’s approach to social welfare is comprehensive, strategic, and deeply rooted in a commitment to human dignity and community well-being. It is actively driven by the nation’s leadership and implemented through a diverse array of programs and initiatives across healthcare, education, housing, and the flourishing non-profit sector, all working towards building a resilient, inclusive, and prosperous society for its citizens and residents.
Saudi Sports Surge: Football, Equestrian, and National Vision
Sports news in Saudi Arabia reflects a dynamic and evolving landscape, particularly in football, which is recognized as one of the world’s top leagues, alongside significant developments in other sports like equestrian and volleyball. The Kingdom’s leadership is deeply committed to supporting and developing its sports sector as a fundamental component of its national vision for a prosperous society and an improved quality of life.
I. Football (Soccer)
The Saudi Roshn League is currently undergoing significant transformation and is considered one of the five most important and strongest leagues globally, largely due to the presence of international stars. The new season is kicking off with high expectations for competitive matches.
Team Performance and Transfers:
Al Hilal and Al Khulood have shown strong form in preseason, both securing victories in all their friendly matches. Al Hilal achieved three wins in Germany (6-1, 6-0, 3-2) and a 4-0 victory against Al Fayha in Riyadh. Al Khulood won two international friendlies (2-0, 3-0) and a domestic match (2-1). Al Hilal is noted to be relying on the “Italian school” for its coaching approach. The club also reportedly reached an agreement with Fenerbahçe for 19-year-old defender Yusuf Akçiçek for 22 million Euros, with a 15% future sale clause, and the player’s agent is in Saudi Arabia to finalize personal terms.
Al Nassr experienced a loss in the Saudi Super Cup final against Al Ahli. Despite this, the team demonstrated a significant scoring ability early in the season, suggesting a special season ahead due to its offensive power. Key players include Cristiano Ronaldo, Sadio Mane, and Marcelo Brozovic. Coach Jorge Jesus granted the team a five-day leave during the international break, during which ten international players joined their national teams, alongside local players like Nawaf Al-Aqidi and Abdullah Al-Khaibari. There are growing concerns about Al Nassr potentially missing out on championships.
Al Khulood, preparing for its first season in the professional league, has made significant signings, including Polish Marcin Bulka, Kazakh goalkeeper Oleksandr, French striker Amadou Kone, and Malian midfielder Abdullah Doukouré, under the leadership of French coach Christophe Galtier. They face a challenging start against Al Ahli.
Al Qadsiyah achieved a victory against Al Najma, with Italian striker Matteo Retegui scoring two goals and Mexican Julian Araujo adding another. Retegui was named the best player of the match.
Al Ittifaq aims for a confident start to the new season against Al Khulood.
Al Hazm is focused on a strong start to avoid relegation, a fate they experienced in a previous season.
Al Shabab suffered a significant 4-0 defeat against Al Khaleej, leading to predictions of many challenges for them this season.
Al Raed has completed the signing of Portuguese coach Jorge Mendonça, known for developing young talents, with the goal of quickly returning to the Roshn League.
Al Faisaly is coached by Italian Giovanni Solinas, who has previously managed the team.
Jeddah is noted as the only league club to have signed a Brazilian coach.
Al Diriyah saw a coaching change, with Moussa replacing Portuguese coach Fabio Flora, becoming his second Saudi team after Al Riyadh.
Coaching Landscape:
The Saudi First Division League (Yellow League) features a dominance of European coaches (12 out of 14 new coaches), with Portuguese coaches being the most numerous (four). There are also two Tunisian and three South American coaches.
Notable appointments include Tunisian coach Yousef Al-Mana’i at Al-Oula, aiming for Roshn League promotion, and Mohamed Al-Ayari at Al-Adalah. Spanish coaches Joaquín López and Carlos Hernández are leading Al-Arabi and Al-Tai, respectively. Chilean José Sierra is with Al-Wehda.
National Team Preparations:
The Saudi national football team has traveled to Prague, Czech Republic, for a training camp in preparation for the FIFA World Cup 2026 Asian play-off matches scheduled for October in Jeddah. They will play two friendly matches against North Macedonia and the Czech Republic.
League Value and Policy Debates:
The economic value of the Saudi League is estimated at 1.02 billion US dollars, largely driven by foreign players. Ben Harburg, a figure in sports, emphasized that the Saudi League is not for retired players, suggesting those seeking that path go to America. He also indicated that club income largely comes from selling players.
There is ongoing debate regarding player policies, specifically the “8+2” rule for foreign players, with concerns about its impact on Saudi football development and potential financial waste. Various solutions, including unlimited foreign players or stricter limits, are discussed, with implications for national team development.
League stoppages are a point of criticism, noted for negatively affecting team performance, technical levels, and player stability, with long, non-valuable friendly matches risking injuries and wasting club investments.
The experience of hosting the Saudi Super Cup in Hong Kong generated considerable debate and criticism, some deemed exaggerated. This highlights the need for an open-minded and flexible approach to new experiments in sports, emphasizing learning from experiences and avoiding emotional judgments.
II. Other Sports
Equestrian: The Special Olympics achieved five medals in equestrian competitions, demonstrating talent and dedication in this area.
Volleyball: The Saudi Volleyball Federation highlighted the high technical level of recent championships, with a large participation of young male and female players. This is seen as a vital step for talent development and building a generation capable of representing the Kingdom in future regional and international events. Notable results include Al Hilal’s Quhtan Al-Obeidi winning gold in individual youth competitions, and the duo Quhtan Al-Obeidi and Wathiq Al-Obeidi securing gold in youth doubles.
Boxing: Advisor Turki Al Sheikh has been recognized for the second consecutive year as the most influential personality in world boxing by Boxing News, a testament to Saudi Arabia’s growing role in hosting and organizing major international boxing events.
III. Broader Context and National Vision
The development of the entertainment and sports sector is a fundamental pillar of the national vision to build a prosperous nation and enhance the quality of life for its citizens and residents. This goes beyond mere recreation, as sports events and related activities are viewed as essential components of a comprehensive national strategy. The Kingdom’s efforts aim to transform it into a regional and global entertainment hub, fostering creativity and openness.
The commitment of the leadership to citizens’ well-being extends to various forms of support, including encouraging human capital development and supporting national competencies in scientific and knowledge fields through university education and vocational training.
The media plays a crucial role in showcasing these developments, with Saudi sports channels historically instrumental in broadcasting successes. However, recent observations suggest a decline in their leading position, raising questions about their current capacity to effectively cover the evolving sports scene.
Columns: Chronicles of Saudi Progress and Global Affairs
Here are all the column and article titles found in the newspaper excerpts, along with their first two paragraphs of detail, translated into English:
Title: كلـمة
Paragraph 1: His Royal Highness received the noble directives from Crown Prince Mohammed bin Salman, the King’s order, Minister, and President of the Council of Ministers, regarding human resources and social development, Engineer Suleiman bin Ahmed Al-Rajhi, to visit the regions and sit with the beneficiaries of the Ministry’s services, listen to their needs and aspirations, and work to serve them in a way that achieves ambitions.
Paragraph 2: (No distinct second paragraph is provided in the excerpt for this specific “كلـمة” as it ends with “…”, indicating continuation elsewhere or a very short introduction.)
Title: نهج ثابت
Paragraph 1: Leaders of religious diversity around the world called on governments and religious leaders for immediate and urgent intervention by all means and possibilities to stop this massacre, condemn the war of extermination, starvation, and destruction in Gaza, and to put pressure on the Israeli occupation government to stop this humanitarian catastrophe, emphasizing that this tragedy, which shook the conscience, would not have happened if there had not been a vacuum in the effectiveness of international humanitarian law and international law, including the activation of accountability mechanisms.
Paragraph 2: (No distinct second paragraph immediately following for “نهج ثابت” as a column. The text on shifts to an investment conference, indicating a new, unrelated topic or a highly fragmented layout.)
Title: القيادة تهنئ ملك ماليزيا ورئيسي قرغيزيا وترينيداد وتوباغو بذكرى االستقالل
Paragraph 1: The Custodian of the Two Holy Mosques, King Salman bin Abdulaziz Al Saud, sent a congratulatory telegram to His Majesty Sultan Ibrahim Iskandar, King of Malaysia, on the occasion of his country’s Independence Day. The King expressed his sincerest congratulations and best wishes for His Majesty, his government, and the people of brotherly Malaysia for continued progress and prosperity.
Paragraph 2: His Royal Highness Prince Mohammed bin Salman bin Abdulaziz Al Saud, Crown Prince and Chairman of the Council of Ministers, also sent a congratulatory telegram to His Majesty Sultan Ibrahim Iskandar.
Title: »المودة« تؤهل أكثر من سبعة آلاف متخصص أسري
Paragraph 1: Al-Mawaddah Academy, the training arm of Al-Mawaddah Society for Family Development, continues its leading role in qualifying family practitioners and specialists, through specialized professional programs that combine continuous professional learning and learning by doing, in a way that keeps pace with global developments and enhances the quality of services.
Paragraph 2: Al-Rassi explained that the academy offers training programs that meet the needs of family reality, including precise specializations, among which are: marital relations planning, family counseling, family mental health, psychological first aid for families, family conflict resolution, and social service research.
Title: »الصم وضعاف السمع« تطلق برنامج أساسيات لغة اإلشارة »الشؤون اإلسالمية« تواصل برامجها التوعوية للمعتمرين
Paragraph 1: This effort by the Ministry of Islamic Affairs, Dawah and Guidance comes within the framework of its noble programs to serve the guests of Rahman from pilgrims and visitors, to teach them the rulings of Umrah, and to guide them according to the guidance of the Book and the Sunnah of the Prophet, to facilitate the performance of rituals, and to highlight the tolerance of Islam among them, which reflects the Kingdom’s leading role in serving Islam and Muslims worldwide.
Paragraph 2: (No distinct second paragraph directly related to this title, as the next section is a different news item.)
Paragraph 1: on the sanctity of mosques and to prevent the exploitation of their facilities.
Paragraph 2: (No distinct second paragraph. The main content for this title seems to be short, possibly just the statement on and captions on.)
Title: »المظالم« يحسن الخدمات واإلجراءات القضائية بورش عمل
Paragraph 1: The Board of Grievances concluded last week a specialized workshop at the Administrative Courts Complex in Jeddah to discuss observations related to the procedures and rulings of the Administrative Appeals Courts.
Paragraph 2: This comes within the approved training plan for the current year, and a selection of specialized judges participated in the workshop, which dealt with a number of precise issues, and concluded with a process that enhances the quality and efficiency of judicial work.
Paragraph 1: The Riyadh Region Municipality continues its intensive campaign to address violations of dividing residential units into multiple rental units and converting them without official licenses, which include upper floors, annexes, and villas.
Paragraph 2: This effort by the Riyadh Region Municipality comes within its commitment to achieving sustainable urban development, and enhancing the efficiency of municipal services, in a way that contributes to improving the quality of life in the capital, in line with the objectives of Vision 2030.
Title: “أمانة حائل” تضيف لمسات جمالية على الطرق
Paragraph 1: Hail Municipality has begun installing ornamental decorations on the main and secondary road signs, inspired by the ancient local heritage, in line with the Year of Handicrafts, which receives great support and attention within the objectives of Vision 2030.
Paragraph 2: Sustainable and Saudi Vision 2030.
Title: المملكة تخفض البطالة إلى أدنى مستوى
Paragraph 1: (No text paragraphs provided directly under this title.)
Title: النفط يتكبد خسارة وسط توقعات بفائض في المعروض مصنع سعودي لإلطارات بحجم استثمارات خمسة مليارات ريال
Paragraph 1: (This title on page has no accompanying text that directly relates to it; the text that follows is about AI, which belongs to another column, “المقال”.)
Title: المقال
Paragraph 1: Suddenly, technology markets shook, as if Silicon Valley had been struck by an earthquake. Shares that were soaring, driven by ambition, began to falter. Tech giants like ‘Intel’ saw their shares drop by 10%, while ‘Nvidia,’ a leading AI chip manufacturer, plunged by more than 3%. Other companies like ‘Arm,’ ‘Oracle,’ and ‘AMD’ were not spared from this sudden fall. The scene appears familiar in history, with some even recalling the ‘dot-com bubble’ that burst in 2000. In this scenario, seemingly brilliant companies on paper collapse because they lack a solid foundation in reality.
Paragraph 2: Despite these setbacks, investors cling to the dream of the AI revolution. Tech giants like ‘Amazon,’ ‘Microsoft,’ ‘Meta,’ ‘Alphabet,’ and ‘Nvidia’ are pouring billions of dollars into infrastructure to support this dream, from massive data centers to advanced algorithms. But will these investments translate into real profits? A few days ago, a shocking report from MIT revealed that 95% of companies that bet on AI have yet to generate any financial returns. In other words, these companies’ valuations look like bright stars in distant skies, but they may not be as substantial as they appear.
Title: )إسرائيل( تغتال متحدث حماس
Paragraph 1: Israeli Prime Minister Benjamin Netanyahu revealed that the army targeted ‘Abu Ubaida,’ the spokesman for the Al-Qassam Brigades, Hamas’s military wing.
Paragraph 2: This came at the beginning of the government meeting, according to the Israeli news website ‘Walla,’ with no comment from Hamas or Al-Qassam Brigades so far.
Title: )حزب الله( جنوب لبنان )إسرائيل( تهاجم منشآت لـ
Paragraph 1: (This title has no accompanying text that directly relates to it.)
Title: “الأوروبي” يدرس استخدام أصول روسيا إلعمار أوكرانيا
Paragraph 1: … rejected those calls. The European Union, however, uses those profits to fund support for Ukraine, raising concerns about the legality of this move and its potential impact on the Euro.
Paragraph 2: In statements after a meeting of EU foreign ministers in Copenhagen, Klaas said they all agreed that ‘it is unreasonable for Russia to get this money back unless Ukraine is fully compensated’ for the damage caused by the war. She added, ‘We don’t think they will pay the price for those losses. So, we need an exit strategy to use these funds.’
Title: موسكو: الهجمات مستمرة على جبهة أوكرانيا
Paragraph 1: Moscow, Kyiv – Agencies. The Chief of the General Staff of the Russian Armed Forces, General Valery Gerasimov, said yesterday that Russian forces are launching continuous attacks along almost the entire front line in Ukraine, and have the ‘strategic initiative.’ Gerasimov told his deputies in a speech published by the Ministry of Defense that ‘the joint forces continue relentless attacks along almost the entire front line. Currently, Russian forces have the strategic initiative completely.’ But the spokesman for the Ukrainian forces, Viktor Trehubov, said that the Ukrainian forces had achieved successes on the front, preventing Russian forces from seizing targets in the Donetsk region and stopping further advances in the Dnipropetrovsk region.
Paragraph 2: He added that Ukrainian forces had besieged Russian units in. (This sentence is incomplete in the source text.)
Title: »هيئة األدب« تطلق أسبوع الطفل األدبي في سكاكا
Paragraph 1: The Ministry of Culture is preparing to hold the ‘Your Eye on Contemporary Photography’ exhibition in the Al-Abaziyah building in Venice, Italy, from September 12 to October 10, 2025, as part of the Kingdom’s cultural events. The exhibition will display the qualified works for the Kingdom’s Photography Award 2025, which is an annual initiative launched by the Authority in 2022 to empower photographers and support creative talents in the field.
Paragraph 2: (No distinct second paragraph provided.)
Title: وزارة الثقافة تستعد إلقامة معرض للتصوير الفوتوغرافي في »الأبازيا«
Paragraph 1: The Ministry of Culture is preparing to hold the ‘Your Eye on Contemporary Photography’ exhibition in the Al-Abaziyah building in Venice, Italy, from September 12 to October 10, 2025, as part of the Kingdom’s cultural events. The exhibition will display the qualified works for the Kingdom’s Photography Award 2025, which is an annual initiative launched by the Authority in 2022 to empower photographers and support creative talents in the field.
Paragraph 2: (No distinct second paragraph provided.)
Title: حكاية التعليم.. في أزقة جدة التاريخية
Paragraph 1: The ‘Al-Falah’ school is located on a close, prominent site, a Bedouin market, from the gate of Mecca and to the heart of Jeddah. This was not merely a geographical detail but a conscious choice, embodying the social and commercial movement in Jeddah at that time. It carried a clear message from its very first moment: that education opens doors and creates opportunities. It was named ‘Al-Falah’ (Success) after the repeated call ‘Hayy Ala Al-Falah’ (Come to Success) in every call to prayer. Since its establishment, and then with the support of God – by the grace of God – and the state and society, it has continued to play its educational role in Jeddah and Mecca.
Paragraph 2: The story began in a rented room, with only six students learning the Quran, reading, and writing between Maghrib (sunset) and Isha (night) prayers.
Title: خمسة أفالم من “البحر الأحمر” في مهرجان البندقية
Paragraph 1: The Red Sea Film Festival Foundation is preparing to participate this year in the Venice International Film Festival with a selection of films and specialized activities, reaffirming its pioneering role as a platform to support the Saudi and Arab film industry and world cinema, all the way to global platforms.
Paragraph 2: As for the Algerian director Kasim Merigni’s film ‘Ruqayya’ and the Sudanese director Suzana Merigni’s film ‘Queen of Cotton,’ they will be screened as part of the Critics’ Week program, through which influential narratives carrying deep humanitarian and contemporary dimensions will be presented. The list is completed with the film ‘Memory of Mumbai’ from the Red Sea, where it was chosen, and it is expected to be screened in the days of the authors, to enrich the cinematic scene by recalling issues of heritage and memory. On his part, Faisal Baltyor, CEO of the Red Sea Film Festival Foundation, expressed his pride and the pride of the foundation’s family in the presence of five of its supported films within the Red Sea Fund and the Red Sea programs; this honor is considered a multi-faceted recognition from the prestigious Venice Film Festival.
Title: “كالم نواعم” عاد بصيغة مطورة..
Paragraph 1: The ‘Kalam Nawaem’ program, which addresses issues of women and family, has returned in its new season on the Saudi channel ‘MBC1’ with media personalities: Nada Al-Masaeid, Najah Arafa, Shireen Ba’ashen, and May Anbar, who present a unique female platform to discuss sensitive societal issues.
Paragraph 2: And highlighting inspiring success stories of leading women in the Arab world. The ‘Kalam Nawaem’ program raises several general and specific questions in its second episode with the guests to reveal their point of view on.
Title: ناصر القصبي: المسلسل معالجة لمرحلة لا تنسى من تاريخ الرياض
Paragraph 1: Al-Qasabi says: ‘I do not see characters of absolute evil in the work, and it is important to me that the work has human dimensions, because this makes it closer to humanity, not just their failures.’
Paragraph 2: He concludes by saying: ‘We present an enjoyable work that enriches people, and sends a humanitarian message and a treatment of a period that will not be forgotten from the history of modern Riyadh.’
Title: غبتي وغابت عن سماي المسره
Paragraph 1: (This is a poem title, and the text immediately following is an article about Bedouin life, not a description of the poem itself. No relevant paragraphs of detail.)
Title: الصحراء مدرسة للصبر والكرم والشجاعة
Paragraph 1: In a world where life’s pace quickens, authenticity remains, a witness to a unique life where features fade. The desert is not just vast expanses of sand and silence, but a home to a rich heritage, deeply rooted in history and values. Talking about Bedouin life is talking about patience, generosity, and adaptability in the face of difficult circumstances, and it is an invitation to explore a lifestyle that reflects the wisdom and steadfastness of ancestors.
Paragraph 2: And I am a Bedouin… I have lived the life of the desert and know its finest details… Bedouin life: A struggle for survival and a bridge to authenticity. In a vast desert, where the blue of the sky blends with the red of the sand, life pulsates to a special rhythm. Here, the features of Bedouin life are formed, reflecting a daily struggle for survival, and at the same time affirming authenticity deeply rooted in history. It is not just an environment, but an integrated system of elements that form a unique fabric.
Title: الردع تحت ضباب النيات.. »الغموض االستراتيجي« في السياسات الغربية
Paragraph 1: K. Paul Huth’s 1999 paper on military threats in annual reviews examined the effectiveness of political science as a means of deterring cross-border crises and wars. It is one of the pivotal topics in international relations research. Huth started from rational choice models as a theoretical basis for studying the conditions under which traditional deterrence is expected to succeed or fail.
Paragraph 2: K. Paul Huth identified four main groups of variables that affect deterrence outcomes: the balance of deterrence, the costly signals and behavior of the parties, military forces and negotiation, reputation and willingness to use force, in addition to the importance of the weapons involved.
Title: هل مستشارك ورقة رابحة أم عبء؟
Paragraph 1: There are faces behind every institution’s decisions, some of whose names shine because they possess true great experience and some contribute value, and some are content with sitting in the front row without a memorable impact. In the work environments, the rapid pace of changes and increasing complexity means that resorting to consultants is no longer a luxury, but a necessity imposed by the nature of competition and development.
Paragraph 2: Today, the effective consultant is a partner in formulating the vision, solving problems, and filling knowledge gaps, and opens new horizons for the institution. The value of his consultation returns manifold in the form of achievements and correct decisions.
Title: الترفيه في السعودية.. من التحول إلى الريادة
Paragraph 1: The Kingdom today is witnessing a wide range of events and recreational activities, which include: Saudi seasons such as: Riyadh Season, and other distinctive seasons that attract millions of visitors, musical concerts and festivals that host Arab and international artists, and electronic games and security exhibitions, and entertainment venues such as ‘Boulevard Wonderland’ and ‘Winter World’, and theatrical and cinematic shows that have received wide acceptance since the reopening of cinemas in 2018, and international sports events such as Formula 1, free wrestling, and international football matches.
Paragraph 2: The economic and social impact that the entertainment sector has had on Saudi society is significant and influential. It has contributed to creating new job opportunities for young men and women, stimulating tourism with visitors from inside and outside the Kingdom, and attracting foreign investments. It has also helped to enhance the quality of life and open new horizons for citizens and residents to express themselves culturally and creatively.
Title: العالم يتغّير.. مظاهر سياسية جديدة
Paragraph 1: Flexible systems capable of responding to new risks. If we move to the internal scene of Western countries, we find that extremist and populist currents are rising as a force that helps. The populist responses to economic inequality, migration, and loss of identity appear, and the political scene in the United States and Europe proves a clear truth that even the oldest democracies are no longer immune to populism, which uses fear and identity as a weapon to influence voters.
Paragraph 2: All this adds a more complex dimension, which is the technological competition that has turned into a political geography or networks of the fifth generation. Artificial intelligence is no longer just economic tools, but has become new arenas, reflecting a struggle for global and digital sovereignty. The confrontation between the United States and China in this field has features of a new ‘technological cold war’.
Title: مأزق المواليد
Paragraph 1: I asked about the purpose and feasibility of this (8+2) rule for foreign players, but the clubs incurred millions of expenses on these players, and despite that, these players spent most of the season on the bench without any significant benefit. Some even had their contracts canceled due to their lack of integration with their teams!! Despite all these challenges, three to four players succeeded with their teams and presented excellent levels, making a noticeable difference. But with the beginning of this season, I was surprised that some clubs got rid of these distinguished players due to their age, which was set by the Saudi Football Association.
Paragraph 2: Big losses for club treasuries?!!
Title: الأولمبياد الخاص يحرز خمس ميداليات في الفروسية
Paragraph 1: The Special Olympics team achieved five medals in equestrian competitions, demonstrating talent and dedication in this area.
Paragraph 2: (No distinct second paragraph provided.)
Title: ليفربول ينفرد بالصدارة.. السيتي يسقط أمام برايتون
Paragraph 1: After one minute, Brjan scored Brighton’s second goal, which came from a counter-attack that reached Mitoma, who passed it to Brjan, who ran with the ball in a wonderful way and then shot it with great calmness and confidence past the defender and the goalkeeper.
Paragraph 2: (No distinct second paragraph provided.)
Title: تربيع القمر
Paragraph 1: The skies of the Kingdom witnessed yesterday the first quarter of the moon of Rabi’ Al-Awwal, and the President of the Arab Union for Space and Astronomy Sciences and a member of the Space and Astronomy Club, Dr. Abdullah Al-Khudairi, explained that the right half of the moon appeared shining for observation that day, and it is considered.
Paragraph 2: North of the Kingdom.
Title: كلـمة
Paragraph 1: Since the issuance of the amended system for land fees and its executive regulations, the white land sector in the Kingdom, especially in the capital Riyadh, has witnessed a state of optimism and hope regarding the possibility of achieving a balance between supply and demand, and limiting monopolistic practices within the urban scope, which contributes to increasing the supply, and reviving the buying and selling movement. These are advantages that the sector has lacked in the recent period, which has resulted in an insane and unjustified rise in real estate prices, prompting the state to take swift and strict measures.
Paragraph 2: (Text is truncated with “…”, indicating continuation elsewhere or a short intro. No second paragraph provided.)
Title: القيادة تهنئ الرئيس التركي بذكرى يوم النصر لبلاده
Paragraph 1: The Custodian of the Two Holy Mosques, King Salman bin Abdulaziz Al Saud, sent a congratulatory telegram to His Excellency President Recep Tayyip Erdoğan, President of the Republic of Turkey, on the occasion of his country’s Victory Day.
Paragraph 2: (No distinct second paragraph provided.)
Title: نائب محافظ سياسات التدريب والجودة يزور منشآت »تقني الشرقية«
Paragraph 1: The Deputy Governor of Training and Quality Policies, Eng. Salah Al-Hushani, visited the facilities of the Technical and Vocational Training Corporation in the Eastern Province, accompanied by the Director-General of Technical and Vocational Training in the region, Mashari Al-Qahtani. The visit included a tour of a number of technical and vocational training facilities in the Eastern Province, including the Technical College in Dammam, the Second Industrial Institute in Dammam, and the Technical College in Qatif, to check on the progress of the training process and the current training semester.
Paragraph 2: (No distinct second paragraph provided.)
Title: ..وتعزي أمير الكويت في وفاة علي الصباح
Paragraph 1: The Custodian of the Two Holy Mosques, King Salman bin Abdulaziz Al Saud, sent a telegram of condolences and sympathy to His Highness Sheikh Meshaal Al-Ahmad Al-Jaber Al-Sabah, Emir of Kuwait, on the death of Sheikh Ali Abdullah Al-Khalifa Al-Sabah – may God have mercy on him.
Paragraph 2: The King said: ‘We learned with sorrow of the passing of Sheikh Ali Abdullah Al-Khalifa Al-Sabah – may God have mercy on him – and we send to Your Highness and the family of the deceased our deepest condolences and sincere sympathy, and we ask Allah Almighty to cover him with His vast mercy and forgiveness, and to make him dwell in His spacious gardens, and to protect you from all harm. Indeed, to Allah we belong, and to Him we shall return.’
Title: »التخصصي«: جاهزية بنوك الدم الستقبال المتبرعين
Paragraph 1: The King Faisal Specialist Hospital and Research Centre announced the readiness of its blood banks to receive donors as part of the annual national blood donation campaign launched by His Royal Highness Prince Mohammed bin Salman bin Abdulaziz Al Saud, Crown Prince and Prime Minister – may God protect him – for the second consecutive year, under the slogan ‘My Blood… My Country’.
Paragraph 2: The campaign will run for three days, from Thursday to Sunday, from 7:00 AM to 8:30 PM.
Title: محافظ الزلفي يدشن مهرجان التمور والمنتجات الزراعية
Paragraph 1: The Governor of Zulfi, Saleh bin Saif Al-Rafi, affirmed the leadership’s keenness – may God protect it – and its support, with directives from the Emir of Riyadh and his deputy, to highlight the comparative advantages of the governorates by holding events and occasions that distinguish each governorate, and Zulfi, which God has blessed with its distinction in the production of dates, the availability of fertile land and water, and the passion among farmers, to highlight dates, which represent a symbol of the Arab Kingdom.
Paragraph 2: And its goals through this product.
Title: بلدية الجبيل والمرور.. خطط تطويرية إللغاء إشارات مرورية
Paragraph 1: The head of Jubail Industrial City Municipality, Engineer Badi Al-Qahtani, explained that this initiative comes within a series of continuous efforts made by the municipality to develop the road network in the governorate and provide advanced municipal services that are in line with the aspirations of the community and contribute to creating an urban environment with.
Paragraph 2: (No distinct second paragraph provided. The main detail is short.)
Title: كرنفال بريدة للتمور يطلق خدمة »الباص السياحي«
Paragraph 1: Buraydah Date Carnival launched the ‘Tourist Bus’ service as part of its daily activities, which offer visitors the opportunity to learn about the history of Buraydah city, its cultural and historical landmarks, and its economic aspects, in addition to following the carnival’s accompanying events.
Paragraph 2: The tourist tour begins from King Khalid Cultural Center, passing by a number of prominent sites in the city, accompanied by specialized tourist guides to provide historical and cultural information about Buraydah and its social and economic heritage to visitors.
Title: المملكة تعزز حظر التجارب النووية
Paragraph 1: The International Day against Nuclear Tests falls on August 29 of each year. The UN General Assembly announced this day in 2009 with the aim of increasing awareness of the harms of nuclear tests and the necessity of ending them for a world free of nuclear weapons. The inaugural celebration in 2010 witnessed the coordination of all activities in the fight against nuclear tests, and since then, every year, many bilateral and multilateral developments at the governmental level have helped.
Paragraph 2: In the Middle East.
Title: إزالة الأسلحة النووية تحقق الأمن والاستقرار الإقليمي والدولي
Paragraph 1: In the framework of expressing his appreciation for the leadership’s appreciation and support for the efforts of the agency and its employees, and the initiatives launched by the agency for the peaceful uses of nuclear technology, and finding safe solutions to global challenges in the nuclear environment, he announced his support for the Kingdom’s ‘Rays of Hope’ initiative, launched by the agency with an amount aimed at saving lives and addressing the burdens of cancer using nuclear technologies, noting that this support comes as an extension of the Kingdom’s continuous support for serving human efforts and the agency’s distinguished initiatives. He also congratulated the agency and member states on the approaching start of operation of the Nuclear Security Training Center.
Paragraph 2: (No distinct second paragraph provided.)
Title: عودة الدراسة في مكة والمدينة اليوم.. تأهب وجاهزية استعدادات شاملة وتفعيل خطط االستقبال والتهيئة
Paragraph 1: Studies return today, Sunday, for the first time after a week from their launch in the rest of the Kingdom’s regions, in the schools of cities, villages, and governorates of Mecca and Medina, amidst great readiness and preparedness, as educational institutions in both cities experienced.
Paragraph 2: (No distinct second paragraph provided.)
Title: رؤية 2030.. ما وراء األرقام؟
Paragraph 1: (No text paragraphs provided directly under this title.)
Title: النفط ينخفض مع توقعات بتراجع الطلب وزيادة المعروض
Paragraph 1: Andrew Lipow, president of Lipow Oil Associates, said: ‘We will see a jump in supply this year, fueling a market experiencing weak demand.’ The summer driving season in the United States ends on Monday, the Labor Day holiday, marking the end of the peak demand period in the United States, the largest fuel market.
Paragraph 2: Lipow added, referring to the customs duties imposed by the administration of President Donald Trump on US imports from many trading partners: ‘The market began to question the impact of customs duties on the general economic outlook.’
Title: اقتصاد المحتوى.. المال أم القيمة؟
Paragraph 1: The numbers in this industry are staggering, with billions flowing annually towards digital advertising, broadcasters, and content platforms. Meanwhile, the content creator or innovator sits before a difficult equation: does he produce his material according to the requirements of algorithms and the speed and rhythm they impose, or does he go towards producing content that will have a lasting impact in the long term? The answer here is crucial for understanding the transformations that lead the content industry globally.
Paragraph 2: The major institutions that invest in this field primarily look at numbers, as the direct financial return represents the most prominent criterion for measuring success. However, there is a growing conviction in some circles that intellectual and cognitive value is what creates its sustainability and strengthens the audience’s trust in it. Thus, the scene does not stop at viewership, but extends to building a long-term relationship with the recipient.
Title: المحافظة على الصحة العامة وتعزيز الدورة الدموية
Paragraph 1: Blood donation operations also work to improve the health of donors. Blood donation contributes to stimulating blood circulation in the body and reducing the risks of developing heart and artery diseases.
Paragraph 2: (No distinct second paragraph. It’s the end of a report section.)
Title: التبرع بالدم يتحول إلى مشروع وطني
Paragraph 1: Blood donation is not merely a humanitarian act and a medical procedure, but a pure, individual decision to provide support to partners in life, and at the same time it summarizes the highest meanings of closeness and compassion, to restore to the body hope and to the soul strength. It is a philosophy rooted in the spirit of Saudi society, transformed by our leadership’s vision today into a comprehensive national project aimed at building, and translating.
Paragraph 2: The culture of donation is a societal duty. Blood donation is not just a response to an urgent situation, or an act performed by relatives when needed. Saudi society is currently undergoing a profound transformation, seeing regular voluntary donation as a fundamental pillar to ensure the existence of a sufficient and safe blood supply at all times. This new culture did not emerge from a vacuum, but is the result of diligent efforts to raise health awareness and promote the values of responsible citizenship.
Title: خادم الحرمين يصل إلى الرياض قادًما من جدة
Paragraph 1: The Custodian of the Two Holy Mosques, King Salman bin Abdulaziz Al Saud, arrived yesterday in Riyadh, coming from Jeddah, under the care and protection of God.
Paragraph 2: The Deputy Emir of Riyadh, His Royal Highness Prince Mohammed bin Abdulrahman bin Abdulaziz, received the Custodian of the Two Holy Mosques at King Khalid International Airport.
Title: التـبـرع األسـمـى
Paragraph 1: Blood donation is considered one of the highest forms of humanitarian giving, as it embodies the meanings of mercy and compassion, and enhances the spirit of solidarity within society.
Paragraph 2: Every unit of blood donated can contribute to saving the life of a wounded or sick person, making it a humanitarian message that transcends borders.
Title: المرأة قطرة حياة تتجدد
Paragraph 1: Saudi women today have become an integral part of the donor base, participating regularly in campaigns organized by hospitals, universities, or charitable societies.
Paragraph 2: Statistics show that women pay great attention to regular donations through campaigns that have helped to establish this culture and transform it into a civilized behavior that society is proud of. Thus, blood donation is not just a simple medical procedure, but a message of life that is renewed with every drop of blood that gives hope to a patient, restores a smile to a family, and makes the donor a role model in humanity and giving.
Paragraph 1: The Kingdom of Saudi Arabia honors blood donors by awarding them high-ranking medals of the second degree, such as the Medal of Merit of the second degree for those who have donated blood fifty times, and the Medal of Merit of the third degree for those who have donated ten times.
Paragraph 2: Other medals are also awarded, such as the King Abdulaziz Medal of the third degree for those who have donated major organs. This honor is a testament to the deep appreciation for the values of giving and sacrifice that donors offer.
Title: »بنوك الدم«.. شريان الحياة
Paragraph 1: Blood donation is not merely a humanitarian act and a medical procedure, but a pure, individual decision to provide support to partners in life, and at the same time it summarizes the highest meanings of closeness and compassion, to restore to the body hope and to the soul strength. It is a philosophy rooted in the spirit of Saudi society, transformed by our leadership’s vision today into a comprehensive national project aimed at building, and translating.
Paragraph 2: The culture of donation is a societal duty. Blood donation is not just a response to an urgent situation, or an act performed by relatives when needed. Saudi society is currently undergoing a profound transformation, seeing regular voluntary donation as a fundamental pillar to ensure the existence of a sufficient and safe blood supply at all times. This new culture did not emerge from a vacuum, but is the result of diligent efforts to raise health awareness and promote the values of responsible citizenship.
Title: المدينة المنورة.. مسيرة عطاء متواصلة ق فجوة الفارق زارها الملك عبدالعزيز 1345 هـ فبدأت مسيرة البناء والتنمية
Paragraph 1: (No text paragraphs provided directly under this title.)
Title: أميـن الريحاني.. رّحالة األدب
Paragraph 1: Ameen Rihani is considered one of the most famous writers in the Arab world, and his literature even reached global recognition, being translated into several languages. He was also a traveler who wrote travel literature, touring the Arabian Peninsula and Iraq before that, and traveling to North Africa. He is one of the émigré writers, and a historian who combined art and poetry, a novelist, and a person with a talent for creativity bestowed upon him by God, in addition to being a prose writer of the first order and one of the princes of Arab eloquence in the modern era. This is the personality of Ameen Rihani – may God have mercy on him – whose fame spread throughout the world, and the Arabian Peninsula had already taken.
Paragraph 2: Ameen Rihani’s visit – may God have mercy on him – to King Abdulaziz and his attendance at a conference with him in 1922 (1341 AH) was mentioned in his book ‘History of Modern Najd.’ In fact, this book is considered a historical document for the biography of the founding King. As for the rest of the book, such as his writing on the history of the First and Second Saudi States, he did not present anything new, but rather he analyzed and commented on some events sometimes in his smooth literary style, as well as what Sheikh Abdul Wahab bin Mohammed wrote about it. He divided his book into two parts because the first part is about the biography of the founding King, and the second part is about the biography of Sheikh Abdul Wahab bin Mohammed – may God have mercy on him – which followed. For the history of the First and Second Saudi States, he relied on the history of Ibn Ghannam, Ibn Bishr, and Ibn Issa, which was seen for the first time by an Arab personality who was not from the Arabian Peninsula. He was the first person to be interested in history and not a historian, Muhammad Abdullah Al-Bassam, a friend of the historian Ibn Issa. They were in close contact regarding what they wrote about Najdi history and popular poetry.
Title: متى أتقاعد؟
Paragraph 1: Retirement is a natural stage in human life, ending a long career of work. One begins a new quality of life without anxiety or tension, with good nutrition and deep sleep.
Paragraph 2: Finally: the decision to retire is a big step that requires balancing financial, health, psychological, and social aspects.
Title: الصـواريخ المضـادة.. تكلفتـها مئـات اآلالف
Paragraph 1: Drones, which were previously exclusive to armies, are now available even to irregular armed groups. The cost of manufacturing a small offensive model does not exceed a few thousand dollars, while intercepting it usually requires the use of an interceptor missile whose cost exceeds hundreds of thousands of dollars. This economic paradox has made drones an ideal tool for wars of attrition.
Paragraph 2: In Ukraine, drones played a decisive role in disrupting supply lines and targeting sensitive sites. Armed groups used them to target military installations in the Middle East. According to Western reports, the spread of these aircraft has become the ‘weapon of the poor,’ which bridges the technological gap between regular armies and irregular entities.
Title: الحرب على المسّيرات.. سباق تسلح عالمي
Paragraph 1: (This title has no accompanying text directly under it. The preceding text describes drones and the following text is about countermeasures like lasers.)
Title: الليزر.. الرصاصة الضوئية
Paragraph 1: What distinguishes laser is that it combines low cost, lightning speed, and high power. The cost of firing a ‘laser shot’ barely exceeds cents, compared to an interceptor missile that costs hundreds of thousands. Also, laser does not require a traditional ammunition supply, but rather relies on a power source, which makes it more sustainable in long combat environments.
Paragraph 2: However, there are serious challenges facing this, such as atmospheric factors like heavy dust or rain, which can reduce the accuracy of the laser. Also, providing sufficient power sources to operate high-power systems represents a logistical obstacle, especially in remote combat areas. But despite these challenges, Pentagon experts are betting that continuous laser development will make it a primary option in the coming decades.
Title: الوعي اإلنساني كتجربة ثقافية
Paragraph 1: Consciousness is not merely a moment of individual realization, but the outcome of the culture. The language we speak is not just a tool for communication, but a framework for thought itself, defining the boundaries of our worldview and imbuing our experiences with shared meaning. Perhaps Heidegger, when he said that “language is the house of being,” was referring to the fact that consciousness cannot be separated from the symbolic reservoir we receive from society.
Paragraph 2: These symbols are manifested in the arts, and in popular proverbs.
Title: أصــول العقائـد
Paragraph 1: Definitions of the science of beliefs have varied, starting from topics in every school, and with it appeared the methodologies that each annotator is interested in according to their view; whether by linking theory and knowledge, or by defining according to the purpose of defense, advocacy, or connection to God, or by presenting the most famous topics: divinity, prophethood, and auditories. Some may have linked it with the science of kalam, and Hassan Al-Safawi summarized it by defining the science of kalam as “the science that discusses the legitimate beliefs related to divinity, prophethood, or auditories; for the purpose of proving them and refuting doubts about them.”
Paragraph 2: And it is known that each rank is: divinity, prophethood, and auditories. However, from the perspective of beliefs, it is for affirmation, and from the perspective of revelation, it is for knowledge of the unseen. The science of kalam and its methodology for intellectual and argumentative experiences emerged from accumulated human experiences, in which the influences of Greek logic appeared, and its first methodological planting was defensive and refutational, not merely affirmative. The new threefold classification, upon examination, is a reclassification of the old; for issues related to God, the world, or man, are issues related to existence, while the classification.
Title: الفاران في »حجرة« تنزل على القارئ كالصاعقة
Paragraph 1: He who meditates on the dictionaries of the Arabic language will find that the root (gh-m-s) refers to mixing with something and merging into it; and this has several meanings, including: (ghams: dipping, submerging something in water or other liquid. Ghammasa: a type of bird that dives frequently. Mughamasa: a man throwing himself into danger. Ghamis: a deep valley, and the plural is ghamsan. It is also said: it is a watercourse. And al-ajamah from al-qash: the star, meaning: it disappeared); therefore, immersing oneself in something is entering into it.
Paragraph 2: The King Salman Global Academy for the Arabic Language today, within its pioneering initiative to strengthen this concept theoretically and practically, reviews and I, and many linguists and non-Arabic speakers, were impressed by the program launched by the Academy under the name ‘Linguistic Immersion’, with the aim of spreading the Arabic language and its culture to non-Arabic speakers, through short-term educational courses for learners of the Arabic language, especially those interested in cultural and touristic aspects, and their immersion in Saudi society, its culture and traditions.
Title: ِويُّ َ غ
Paragraph 1: In a corner of language, we fly a little with literature, with the cultural revolution and the sweeping of literature in its diverse fields, this question arises loudly: What does literature offer to humanity? Literature is not an entertainment or a mental luxury, but a deeply rooted human act that touches the conscience of the individual and reshapes his worldview. Since man drew the first story on cave walls, he has sought through narrative, poetry, theater, and novel to understand himself and others, and to search.
Paragraph 2: For meaning in the midst of life. Literature is a mirror to the self and existence, offering man an opportunity to see himself and to gain consciousness in the characters he encounters on book pages or hears about in cultural meetings, finding a reflection of his hopes, strengths, and disappointments. We find that when we hear or read about others, we sometimes find ourselves in that experience. Thus, literature becomes an internal laboratory.
Title: ماذا يقدم األدب لإلنسان؟
Paragraph 1: The world. We must realize the extent of human need for literature, in treating it as food for consciousness, and a bridge to reach others, in his life, it is the path. It restores us to our humanity every time we ask questions, and a guide. Whoever reads, lives a wider life than his age, with more stories.
Paragraph 2: (No distinct second paragraph directly under this title, as it’s the end of a section.)
Title: األنوميا: ثقافة الفراغ في زمن الحداثة
Paragraph 1: Anomie is not merely a sociological term coined by Emile Durkheim to describe the absence of norms, but an existential and contemporary state that afflicts man. It is a vast spiritual void under the bombardment of infinite choices; a disorientation in the labyrinth of material surplus, where the moral compass breaks down, and the culture of emptiness proliferates in.
Paragraph 2: The age of fragmentation. Anomie is not a familiar word in our cultural lexicon, but it appears as a heavy shadow in the details of some of our daily lives. It describes the state in which rules and values collapse, and the individual becomes like someone walking in a void. It is not just behavioral chaos, but a chaos of meaning, where man no longer knows anything.
Title: خيمة المتنبي.. مظلة اإلبداع
Paragraph 1: In a time where transformations accelerate and genuine interest in the poetic word is absent, Al-Mutanabbi’s Tent project emerges as a lush oasis in the heart of the desert, shading young poets, granting them a space of hope, and fostering creativity.
Paragraph 2: This project, overseen by the great poet Jasim Al-Sahih, did not come by chance nor was it a mere fleeting idea. Rather, it is a cultural dream that seeks to restore poetry to its natural place: a space for expression, and a ladder for communication.
Title: »الجامعات السعودية كمناطق ابتكار
Paragraph 1: In light of what has been mentioned, it is clear that the concept of Saudi universities as “innovation zones” is not a temporary trend or a cosmetic option, but a strategic necessity dictated by the requirements of the current stage and future aspirations, and it is in full harmony with the direction of the Council of University Affairs towards classifying.
Paragraph 2: And promoting the concept of “university leadership.” This highlights the inspiring national experience of what King Faisal University can achieve in obtaining such a classification when Saudi universities have a clear vision, institutional will, and the ability to integrate all their resources into one system that serves innovation. However, this experience reveals a gap among many other universities in terms of interest in research and development. This is where the active role of the Authority for Research, Development, and Innovation, which has realized this gap, began to adopt initiatives and practical programs to stimulate universities.
Title: تشيخوف وواقع الحياة
Paragraph 1: Anton Chekhov is considered one of the most prominent writers in the world of literature who managed to portray the complexities of human psychology and the reality of life. Through his characters, Chekhov expresses deep feelings related to existence, and the human relationship between life and death. In the story ‘The Ordeal,’ we find the protagonist Sofia talking about his deep fear of life with (Do you know, Sofia, what scares me most in this life? It is not illness, or loneliness, or even death itself… but the idea that a whole life passes without me feeling alive for a single moment. Really.). This quote embodies the internal struggle that many experience in our contemporary societies, as it refers to a state of alienation.
Paragraph 2: Are we living this idea? Are we truly alive, or are we just passing through days, like a shadow passing on the walls?! Through his unique literary style, Chekhov simulates the feelings of anxiety and emptiness that may afflict the human soul. In his world, we often find characters searching for meaning, but they find themselves trapped in the routine of daily life. The protagonist’s conversation with Sofia reveals his fear of everything he has lived being just a series of similar days, where there is no place for wonder, hope, or true love.
Title: الحدود الوقائية كن أنت
Paragraph 1: To shape our skills, deepen our knowledge, and achieve our dreams. We must be decision-makers, creators of our future, and protectors of our personality. Avoiding blind imitation is not just advice, but a necessity to build an independent identity based on our values and principles. A strong personality is not measured by following others’ lives, but by the extent of our awareness of the choices we make and live by ourselves.
Paragraph 2: We must also focus on our personal lives, our families, and our communities, and strive to develop our abilities and talents. The truth is that getting involved in what others offer only gives us a false sense of fame or belonging.
Title: في افتتاحية دوري »روشن«.. بطل السوبر أمام الضيف الجديد نيوم الخلود بعد مرحلته الجديدة يالقي االتفاق.. ضمك يتربص بالحزم
Paragraph 1: Life returns to the stadiums of the Saudi Roshn Professional League today, Thursday, as the new season kicks off, which will be of great interest to the fans due to the preparations and the anticipated competition, which is expected to be greater than in previous seasons.
Paragraph 2: This comes as a continuation of Neom’s efforts to strengthen its ranks before its first participation in the professional league, as it signed many deals, including contracting with Polish Marcin Bulka, Kazakh goalkeeper Oleksandr, French striker Amadou Kone, and Malian midfielder Abdullah Doukouré.
Title: 12 مدربًا أوروبيًا يسيطرون على دوري الأولى سعودي وتونسيان وثلاثة مدربين من أميركا الجنوبية
Paragraph 1: The Saudi First Division League (Yellow League) clubs have completed the file of coaches who will supervise them in the new 2025-2026 season, and there will be 12 European coaches, three South American coaches, two Tunisian coaches, and one Saudi coach.
Paragraph 2: In previous seasons, the Tunisian school dominated the league, but it has declined significantly in recent seasons and has not disappeared this season with the presence of two Tunisian coaches. Most clubs failed to change their technical staff in search of the best, and in the hope of correcting their technical path and achieving the desired results, while others renewed contracts for four coaches.
Title: الهلال يراهن على المدرسة الإيطالية
Paragraph 1: Al Hilal and Al Khulood achieved victories in all their friendly matches. Al Hilal won 3 matches in Germany (6-1, 6-0, 3-2), and won 4-0 against Al Fayha in Riyadh. Al Khulood won two international friendlies (2-0, 3-0), and a domestic match (2-1).
Paragraph 2: Al Hilal relies on the ‘Italian school’.
Title: الزبيدي فتحاوي
Paragraph 1: (No text paragraphs provided directly under this title.)
Title: ألفا سيميدو: اختياري للفيحاء قرار مدروس
Paragraph 1: Alpha Semedo, the international midfielder for the Guinea-Bissau national team, confirmed that his move to Al-Fayha club was not just a fleeting professional decision, but a well-thought-out choice that reflects his ambition to seek an environment that provides him with stability and development together.
Paragraph 2: During his first interview, Alpha Semedo revealed that joining Al-Fayha for the experience of playing in more than one country is not just a football station, but a means of learning and gaining life and human experiences.
Title: كرنفال التمور
Paragraph 1: The Medina region’s date and palm season, ‘Al-Jedad,’ is the last stage of the harvest, a time when fruits are gathered after reaching full ripeness. The term ‘Al-Jedad’ originates from authentic agricultural heritage and has been mentioned in several noble prophetic hadiths.
Paragraph 2: Al-Jedad represents a crucial moment for the farmer, as it is the harvest of a full season of effort and care. In the past, it was a social occasion that brought together neighbors and family in joy and delight, with an emphasis on not wasting any date.
Title: كيف بدأ التواصل الاستراتيجي؟
Paragraph 1: The comprehensive concept of strategic communication, although its framework was not formed and defined until recent decades, particularly in the United States, its roots go back to earlier stages and historical events that shaped its features.
Paragraph 2: The beginnings of World War I can be considered the first seed for organized strategic communication in the United States, when President Woodrow Wilson established the Committee on Public Information (CPI) in 1917, led by investigative journalist George Creel. The committee was the first official body to integrate media, public diplomacy, and targeted propaganda to influence American and global public opinion in favor of America’s entry into the war.
Title: التعّود واإلبداع
Paragraph 1: The direct criticism of contemporary mosque architecture led us to open a wide debate about ‘creativity’ versus ‘habituation.’ Some saw the problem in habituation, which makes many people unable to see beyond what they are accustomed to. The argument of these people was that Western architects are usually able to interpret our culture and architecture in a way different from what we are used to, so their ideas often create new boxes, but they are open to future interpretation, while most architects who belong to the same culture cannot see beyond the stereotypical image that dominates their minds, so they always fall into the trap of repetition, which stifles creativity and innovation.
Paragraph 2: Undoubtedly, this opinion has a strong argument, as it delves into human nature, which often adopts safe, tried, and easy ways, and the philosophy of ‘habituation’ is based on repeating the experience that a person takes, and then building on it and believing in it. And certainly, these steps lead to habituation, which leads to stagnation and the absence of the innovative mind, as it is a mind that faces difficulties in deep matters, which pushes it to challenge the accustomed.
Title: الحدود الوقائية كن أنت
Paragraph 1: To shape our skills, deepen our knowledge, and achieve our dreams. We must be decision-makers, creators of our future, and protectors of our personality. Avoiding blind imitation is not just advice, but a necessity to build an independent identity based on our values and principles. A strong personality is not measured by following others’ lives, but by the extent of our awareness of the choices we make and live by ourselves.
Paragraph 2: We must also focus on our personal lives, our families, and our communities, and strive to develop our abilities and talents. The truth is that getting involved in what others offer only gives us a false sense of fame or belonging.
Title: تجربة السوبر بين النجاح والإخفاق
Paragraph 1: It is natural for every new experience in Saudi football to be accompanied by a wave of controversy and differing opinions, especially when it deviates from the norm and knocks on doors unfamiliar to the public and local media. The experience of hosting the Saudi Super Cup in Hong Kong sparked a lot of discussions about the feasibility and importance of the idea, and it was subjected to some criticism and was not without some exaggeration in pessimism or even.
Paragraph 2: Sometimes it succeeds and sometimes it fails, but the real value lies in the ability to learn from every step and benefit from it, with the necessity of open-minded and flexible thinking that accepts change and seeks the best. From here, we can keep pace with the world and make a difference in the future of our sports.
Title: القنوات الرياضية السعودية وماذا بعد؟
Paragraph 1: Despite their diversity and multiplicity, a number of local channels broadcast championships. For example, the Emirati league is broadcast on 3 local sports channels, as are the rest of the Gulf leagues on their local channels, which has led to a qualitative leap in the coverage of league matches, and makes the viewer switch between channels in the Gulf to search for the best in broadcasting, transmission, and analysis.
Paragraph 2: A message to whom it may concern: The time has come to revive the Saudi sports channel, as it has the right to broadcast a limited number of matches.
Title: العقعق العسيري
Paragraph 1: The Asir Magpie inhabits the Kingdom of Saudi Arabia, specifically the mountains of the Asir region, which is a unique region in its nature and of global importance for preserving biodiversity.
Paragraph 2: According to ‘Birds of Saudi Arabia,’ a book issued by Aramco in 2021, the Asir Magpie, with its scientific name Pica asirensis, is the only bird that inhabits the Kingdom exclusively. It is known for its high intelligence and ability to recognize itself in the mirror.
Title: بن هاربورغ: الدوري السعودي ليس دوري لاعبين معتزلين ومـن يـريـــــد ذلـــك يـتــجــــــه ألمــيـــركــا
Paragraph 1: Ben Harburg: The Saudi League is not a league for retired players, and whoever wants that goes to America.
Paragraph 2: The president is bigger than football, and I love the Kingdom, only some specific positions will be for foreigners, and I am impressed by the Saudi people, both men and women.
Title: منصدم جدًا لأني أول شخص قام بدعوة جماهيره في مكان عام
Paragraph 1: Ben Harburg: I am very shocked because I am the first person to invite his fans to a public place.
Paragraph 2: The president is bigger than football, and I love the Kingdom, only some specific positions will be for foreigners, and I am impressed by the Saudi people, both men and women.
Title: »كلمة المرور« شارفت على االنتهاء
Paragraph 1: Between fingerprints, access keys, and facial recognition technology, alternatives to passwords are proliferating. However, despite repeated announcements about the end of this traditional method of electronic communication, abandoning it.
Paragraph 2: (No distinct second paragraph is provided for this title.)
Title: إنفاذًا لتوجيهات ولي العهد نحو توازن عمراني لصالح المواطن »اإلسكان« تعلن خرائط رسوم األراضي البيضاء في الرياض
Paragraph 1: In implementation of the directives of His Royal Highness Prince Mohammed bin Salman bin Abdulaziz Al Saud, Crown Prince and Chairman of the Council of Ministers – may God protect him – to achieve balance in the real estate market, the Ministry of Municipal and Rural Affairs and Housing announced the maps of the geographical zones subject to the application of white land fees in Riyadh city; in a pivotal plan aimed at enhancing transparency and enabling owners and developers to know their obligations and stimulate development of lands within the urban scope.
Paragraph 2: The Ministry indicated that all revenues collected from the fees will be allocated entirely to support housing projects; in a way that contributes to increasing the supply of residential units for citizens, and everyone can view the interactive maps and know the segment their lands fall into by visiting the official website of the program.
Title: جلوي بن عبدالعزيز يفتتح اإلستوديو الحضري في “أمانة نجران”
Paragraph 1: His Royal Highness Prince Jalawi bin Abdulaziz, Emir of Najran Region, inaugurated yesterday the Urban Studio at Najran Municipality, which reaffirms the wise leadership’s keenness – may God protect it – on adhering to the Saudi identity on the map of architecture and design launched by His Royal Highness the Crown Prince – may God protect him – and which forms a blend of ancient heritage and contemporary design, contributing to improving the urban landscape and enhancing the quality of life; thus achieving a balance between the past and the present, and being a global source of inspiration for innovation in.
Paragraph 2: His Royal Highness explained that the Urban Studio is a specialized technical center affiliated with the Najran Region Municipality, which aims to apply the Saudi architectural identity and standards through the provision of an elite of.
Title: عبدالعزيز بن سعد: البرامج النوعية تسهم في تدريب الكوادر الوطنية وتأهيلها
Paragraph 1: (No text paragraphs provided directly under this title in the relevant excerpt.)
Title: سلمان بن سلطان: المملكة تشهد إنجازات نوعية في مجال التحول الرقمي
Paragraph 1: His Royal Highness Prince Salman bin Sultan bin Abdulaziz, Emir of Medina Region, affirmed that what the Kingdom is witnessing in terms of qualitative achievements in the field of digital transformation reflects the support of the government of the Custodian of the Two Holy Mosques, King Salman bin Abdulaziz Al Saud and His Royal Highness the Crown Prince – may God protect them – and their keenness to empower government and private sectors to showcase the latest smart solutions in the field of digital services, which strengthens the Kingdom’s position among advanced countries, in line with the objectives of Vision 2030.
Paragraph 2: His Highness listened to a brief presentation on the strategy and directions that the Authority pursues and the regulatory framework that governs its work. Discussions also took place regarding areas of cooperation and coordination between the Emirate of the region and the Authority, including holding joint workshops and providing a general vision for the technical system, in addition to providing consultations and support.
Title: »التخصصي« يحقق نقلة نوعية في عالج الصرع
Paragraph 1: King Faisal Specialist Hospital and Research Centre succeeded in consolidating its position as one of the ten leading centers globally in performing deep brain electrical mapping (Stereo-EEG) procedures at a rate of 1 to 2 operations per week, making it the largest in the Middle East in epilepsy surgery, which enhances its leadership in providing advanced medical solutions for drug-resistant epilepsy.
Paragraph 2: (No distinct second paragraph provided.)
Title: »الجوازات« تصدر 17 ألف قرار إداري بحق مخالفين
Paragraph 1: The decisions were issued for violations of residence, labor, and border security regulations.
Paragraph 2: (No distinct second paragraph provided.)
Title: نجاح زراعة جهاز داخل قلب مريض بمكة
Paragraph 1: This integration reflects the advanced digital achievements and modern technologies and the firm strategic medical city’s adoption of innovative solutions that contribute to improving the quality of life for patients, and supports the national transformation path towards an advanced health model based on prevention and technology, in full harmony with.
Paragraph 2: (No distinct second paragraph is provided; the sentence is truncated.)
Title: »الملك سلمان لإلغاثة« يدش برنامج نور السعودية في أفغانستان
Paragraph 1: King Salman Humanitarian Aid and Relief Centre launched the Saudi Noor Voluntary Program to combat blindness and its causes in Kabul, the capital of Afghanistan, in cooperation with.
Paragraph 2: This comes within the humanitarian and relief projects implemented by the Kingdom, represented by its humanitarian arm, King Salman Relief Centre, to support the medical sector and patients with eye diseases in all brotherly and friendly countries. On another note, the Centre delivered the initial approval certificate for its work to Iqra Educational Society, and the Centre’s Assistant Director for Financial and Administrative Affairs, Dr. Salah bin Fahad Al-Mazrou, handed over the certificate to the Chairman of the Society’s Board of Directors.
Title: محافظ الزلفي يدشن مهرجان التمور.. غدًا
Paragraph 1: The Governor of Zulfi, Saleh bin Saif Al-Rafi, will inaugurate tomorrow evening, Friday, the Dates and Agricultural Products Festival 2025/1447, organized by the Zulfi Cooperative Society for Multiple Purposes, and will continue for ten days starting from next Friday, August 29, 2025, in the King Fahd Central Market on the Riyadh road. The Chairman of the Board of Directors of the Zulfi Cooperative Society for Multiple Purposes, Abdulrahman Al-Jabr, thanked and appreciated the Custodian of the Two Holy Mosques, King Salman bin Abdulaziz, and His Royal Highness Prince Mohammed bin Salman bin Abdulaziz – may God protect them – for their tremendous efforts to serve this generous nation, especially the unprecedented support received by cooperative societies. Al-Jabr added that the holding of this festival stems from the society’s keenness to highlight the agricultural products that distinguish Zulfi Governorate in several aspects, and that wings have been allocated for farmers (27 wings) to display their date products, in addition to (29) wings for productive families to market their products without a doubt, and (10) wings for beekeepers to encourage them from the society and introduce their products. Al-Jabr added that the daily date auction will be after Maghrib prayers daily, and the auction site has been equipped with all its requirements. In conclusion, Al-Jabr extended his thanks and appreciation to His Royal Highness Prince Abdulaziz bin Bandar bin Faisal, Emir of Riyadh Region, and his deputy, His Royal Highness Prince Mohammed bin Abdulrahman bin Abdulaziz – may God protect them – for the unprecedented attention the governorate receives from them in all developmental fields. Thanks are also extended to His Excellency the Governor of Zulfi, who has exerted and continues to exert great effort and valuable contributions to the success of this festival. Al-Jabr also thanked and appreciated the Ministry of Environment, Water and Agriculture office in Zulfi. Finally, he invited everyone to attend.
Paragraph 2: (This is a very long single paragraph. No distinct second paragraph.)
Title: »البنية التحتية« يفتتح مكتب أعماله باألفالج
Paragraph 1: It is worth noting that the center opened its business offices in a number of governorates in the Riyadh region, including Al-Kharj, Al-Majma’ah, Al-Quwai’iyah, Al-Dawadmi, and Shaqra, and this comes within its continuous efforts to enhance development and improve the quality of services, and keep pace with the aspirations of growth and prosperity.
Paragraph 2: (No distinct second paragraph provided.)
Title: »الذكاء االصطناعي« رفيق التعليم
Paragraph 1: With the start of a new academic year, students and teachers stand on the threshold of a stage where aspirations are renewed to build a more developed and effective educational environment, and attention turns to modern tools and technologies that enhance the quality of education and keep pace with the developments of the era. With the accelerating technological boom, artificial intelligence has become a powerful assistant in the education sector for both teachers and students in developing teaching methods.
Paragraph 2: And efficiency. Finally, let us welcome the new academic year with optimism and wish for a blessed academic year full of achievements and creativity.
Title: النفط يستقر وسط تطورات الصراع الجيوسياسي والرسوم الجمركية
Paragraph 1: Yesterday, Wednesday, oil prices stabilized after their decline in the previous session, with the market awaiting new developments in the war in Ukraine, and investors studying the new exorbitant American customs duties on India, the third largest consumer of crude oil in.
Paragraph 2: Indian refining companies initially reduced their purchases of Russian crude oil after the announcement of American customs duties, and after the European Union tightened sanctions on India’s Nayara Energy refinery, which is backed by Russia. However, the two state-owned refining companies, ‘Indian Oil’ and ‘Bharat Petroleum,’ resumed purchasing Russian supplies for the monthly shipments of September and October, according to sources. The largest Indian oil refining company also announced last month that it would continue to purchase Russian crude oil based on. This prompted some analysts to question the economic situation regarding the impact of rising American customs duties on purchases.
Title: بدء تطبيق الرسوم األميركية »الأعلى« على الهند
Paragraph 1: The American President Donald Trump implemented the ‘highest in the world’ tariffs on India’s goods, which analysts believe will lead to a decrease in India’s exports by 25% and affect thousands of jobs.
Paragraph 2: The White House trade adviser, Peter Navarro, wrote in the Financial Times earlier this month that ‘India is acting as a funnel for Russian oil, which it is refining and exporting at high value to countries that need the dollars.’ Meanwhile, some companies ‘such as Glencore’ were criticized for their ‘ill-gotten gains’ from these operations.
Title: مركز الملك عبدالعزيز يعرض منجزاته لعام 2024
Paragraph 1: King Abdulaziz Centre for Strategic Communications issued its annual report for 2024 (1445-1446 AH), in which it reviewed its most prominent achievements and initiatives during the year, and projects that enhance the Kingdom’s position at local and international levels, and support the objectives of.
Paragraph 2: For culture and its economic value. Cultural industries refer to the production, distribution, and promotion of cultural products and services such as books and publishing, music, theater, cinema, design, visual arts, museums, heritage, cultural tourism activities, digital and creative media.
Title: الفن حول العالم.. “أرت الرياض”محطة فنية ترسم اإلبداع
Paragraph 1: Art Riyadh comes as an artistic station that frames and breathes beauty and creativity within a space for the works of an elite of creators and an artistic project for a vibrant world that nourishes creativity and development in the Kingdom, as an innovative living project that elevates the position of the creative economy and a global destination for art lovers, making the capital ‘Riyadh’ an open art gallery for the creations of talented artists, transforming it from a starting point that blends authenticity and contemporaneity, and art squares for refining the artistic energies of artists, to attract the goals of ‘Vision 2030′ for a city that attracts visitors and enriches the lives of its residents, and investments and global companies through elements such as: Riyadh squares, Riyadh gates, the joy of gardens, art gardens, art stations, art valley, artists’ park, and light festival.
Paragraph 2: A group of artists and talents participated in the exhibition, whose creative and serious works are based on research and experimentation to discover the truth and adventure, and with courage and individuality imbued with new spirit and export what is more than things for their personalities, artistic formulations, and special technical treatments, weaving a link and sympathy between the messages of the work and the feeling of the recipient, for the benefit of, which reveal inspiring human scenes for special viewing parties – (Amin Al-Khadra – Mariam Al-Shaikha Fakhro – Ibtihaj Al-Sulaiman – Amjad Al-Sakran – Hessa Al-Zahrani – Bayan Al-Issa – Basma Hamdan – Dina Za’atara – Dibash Al-Zubaidi – Dana Al-Atawi – Hessa Rena Al-Shehri – Rahaf Mohammed – Razan Issa – Aba Ruba Turki – Rama Miro – Zahia Al-Radadi – Zainab Anwar – Shazan Al-Khayyat – Abdul Rahman Al-Rashed – Omar Kamal – Ali Nouri Aqila Talal – Abdullah Al-Karban – Laila Al-Mufarrej – Layla Al-Arifi – Lamia Al-Junaidil – Lama Al-Zahr – Fatima Issa – Mohammed Al-Riyadh – Moataz Kamal – Malak Nofal – Manal Al-Sulaim – Maha Al-Sharif – Nada Baraka – Noura Al-Anadass – Noura Ahmed – Noura Al-Zaim – Naf Al-Kulaybi – Wad Al-Fahaid – Wafaa Al-Hussein).
Title: في افتتاحية دوري »روشن«.. بطل السوبر أمام الضيف الجديد نيوم الخلود بعد مرحلته الجديدة يالقي االتفاق.. ضمك يتربص بالحزم
Paragraph 1: Life returns to the stadiums of the Saudi Roshn Professional League today, Thursday, as the new season kicks off, which will be of great interest to the fans due to the preparations and the anticipated competition, which is expected to be greater than in previous seasons.
Paragraph 2: This comes as a continuation of Neom’s efforts to strengthen its ranks before its first participation in the professional league, as it signed many deals, including contracting with Polish Marcin Bulka, Kazakh goalkeeper Oleksandr, French striker Amadou Kone, and Malian midfielder Abdullah Doukouré.
Title: 12 مدربًا أوروبيًا يسيطرون على دوري الأولى سعودي وتونسيان وثلاثة مدربين من أميركا الجنوبية
Paragraph 1: The Saudi First Division League (Yellow League) clubs have completed the file of coaches who will supervise them in the new 2025-2026 season, and there will be 12 European coaches, three South American coaches, two Tunisian coaches, and one Saudi coach.
Paragraph 2: In previous seasons, the Tunisian school dominated the league, but it has declined significantly in recent seasons and has not disappeared this season with the presence of two Tunisian coaches. Most clubs failed to change their technical staff in search of the best, and in the hope of correcting their technical path and achieving the desired results, while others renewed contracts for four coaches.
Title: الهلال يراهن على المدرسة الإيطالية
Paragraph 1: Al Hilal and Al Khulood achieved victories in all their friendly matches. Al Hilal won 3 matches in Germany (6-1, 6-0, 3-2), and won 4-0 against Al Fayha in Riyadh. Al Khulood won two international friendlies (2-0, 3-0), and a domestic match (2-1).
Paragraph 2: Al Hilal relies on the ‘Italian school’.
Title: الزبيدي فتحاوي
Paragraph 1: (No text paragraphs provided directly under this title.)
Title: ألفا سيميدو: اختياري للفيحاء قرار مدروس
Paragraph 1: Alpha Semedo, the international midfielder for the Guinea-Bissau national team, confirmed that his move to Al-Fayha club was not just a fleeting professional decision, but a well-thought-out choice that reflects his ambition to seek an environment that provides him with stability and development together.
Paragraph 2: During his first interview, Alpha Semedo revealed that joining Al-Fayha for the experience of playing in more than one country is not just a football station, but a means of learning and gaining life and human experiences.
Title: كرنفال التمور
Paragraph 1: The Medina region’s date and palm season, ‘Al-Jedad,’ is the last stage of the harvest, a time when fruits are gathered after reaching full ripeness. The term ‘Al-Jedad’ originates from authentic agricultural heritage and has been mentioned in several noble prophetic hadiths.
Paragraph 2: Al-Jedad represents a crucial moment for the farmer, as it is the harvest of a full season of effort and care. In the past, it was a social occasion that brought together neighbors and family in joy and delight, with an emphasis on not wasting any date.
Affiliate Disclosure: This blog may contain affiliate links, which means I may earn a small commission if you click on the link and make a purchase. This comes at no additional cost to you. I only recommend products or services that I believe will add value to my readers. Your support helps keep this blog running and allows me to continue providing you with quality content. Thank you for your support!