FACTORY METHOD Meaning in Arabic - translations and usage examples

['fæktəri 'meθəd]

Examples of using Factory method in English and their translations into Arabic

{-}
  • Colloquial category close
  • Political category close
  • Ecclesiastic category close
  • Ecclesiastic category close
  • Computer category close
What are static factory methods?
ما هي أساليب المصنع الثابتة؟?
All static factory methods have been replaced with standard reusable Zend Framework factory classes.
تم استبدال جميع طرق المصنع الثابتة بفئات المصنع القياسية القابلة لإعادة الاستخدام لإطارات Zend
Factory Pattern. When to use factory methods?
نمط المصنع. متى تستخدم طرق المصنع؟?
Factory method in UML and in LePUS3(a Design Description Language) Consider static factory methods by Joshua Bloch.
طريقة المصنع في UML و LePUS3(لغة وصنف التصميم) فكر في طرق المصنع الثابتة التي كتبها جوشوا بلوخ
How to implement the factory method pattern in C++ correctly.
كيفية تطبيق نمط أسلوب المصنع في C++ بشكل صحيح
The factory method pattern relies on inheritance, as object creation is delegated to subclasses that implement the factory method to create objects.[3].
يعتمد نمط طريقة المصنع على الوراثةinheritance، حيث يتم تفويضdelegated إنشاء الكائن إلى الاصناف الفرعية subclasses التي تطبق طريقة المصنع لإنشاء الكائنات.[1
A sample UML class diagram for the Factory Method design pattern.
رسم تخطيطي لصنف UML لنمط تصميم طريقة المصنع
A factory method is just an addition to Factory class. It creates the object of the class through interfaces but on the other hand, it also lets the subclass decide which class is instantiated.
طريقة المصنع هي مجرد إضافة إلى صنف المصنع. يقوم بإنشاء كائن من الصنف من خلال واجهاتinterfaces ولكن من ناحية أخرى، فإنه يتيح أيضًا للاصناف الفرعية subclass تحديد الصنف التي يتم إنشاء مثيلinstantiated لها
The most convenient-ready panel with seam and groove glued factory method, as shown in the photo.
الأكثر ملاءمة-لوحة جاهزة مع التماس والأخدود صقها طريقة المصنع، كما هو مبين في الصورة
The Factory Method[1] design pattern is one of the"Gang of Four" design patterns that describe how to solve recurring design problems to design flexible and reusable object-oriented software, that is, objects that are easier to implement, change, test, and reuse.
يعد نمط تصميم طريقة المصنع[1] أحد أنماط التصميم"عصابة الأربعة" التي تصنفclass كيفية حل مشكلات التصميم المتكررة لتصميم برامج مرنة وموجهة object-orientedقابلة لإعادة الاستخدام، أي الكائنات التي يسهل تنفيذهاimplement أو تغييرها أو اختبارها، وإعادة استخدامها
In the HTML5 DOM API,the Document interface contains a createElement factory method for creating specific elements of the HTMLElement interface.
في HTML5 DOM API، تحتوي واجهة المستند Document interface علىfactory method طريقة مصنع createElement لإنشاء عناصر محددة لواجهة interface HTMLElement
The Factory Method design pattern is used instead of the regular class constructor for keeping within the SOLID principle of programming, decoupling the construction of objects from the objects themselves. This has the following advantages and is useful for the following cases, among others:[2].
يتم استخدام نمط تصميم طريقة المصنع بدلاً من مُنشئ الصنف العادي regular class constructor للاحتفاظ بمبدأ SOLID للبرمجة، وفصل بناء الكائنات من الكائنات نفسها. هذا له المزايا التالية ومفيد للحالات التالية، من بين أمور أخرى:[1
Room is the base class for a final product(MagicRoomor OrdinaryRoom). MazeGame declares the abstract factory method to produce such a base product. MagicRoom and OrdinaryRoom are subclasses of the base product implementing the final product.
Room هو الصنف الأساسي للمنتج النهائي(MagicRoom أو OrdinaryRoom). تعلن شركة MazeGame عن طريقة المصنع المجردة declares the abstract factory methodلإنتاج مثل هذا المنتج الأساسي
You can see we have used MakeProduct in concreteFactory. As a result, you can easily call MakeProduct() from it to get the IProduct. You might also write yourcustom logic after getting the object in the concrete Factory Method.
يمكنك أن ترى أننا استخدمنا MakeProduct في مصنع التحديد concreteFactory. نتيجة لذلك، يمكنك بسهولة استدعاء MakeProduct() منه للحصول على IProduct. يمكنك أيضًا كتابة منطقك المخصص custom logicبعد الحصول على الكائن في طريقة مصنع التحديد concrete Factory Method. يتم إجراء GetObject مجردة في واجهة interface المصنع
Define an interface for creating an object,but let subclasses decide which class to instantiate. The Factory method lets a class defer instantiation it uses to subclasses."(Gang Of Four).
حدد واجهة interface لإنشاء كائن، لكن دع الصنفالفرعيsubclasses يقرر أي صنف يريد إنشاء مثيل لهاwhich class to instantiate. تتيح طريقة المصنع للصنف تأجيل التمثيل instantiation الذي تستخدمه في الصنفclass الفرعية".( عصابة الأربعة)Gang Of Four
The Factory Method design pattern is used by first defining a separate operation, a factory method, for creating an object,and then using this factory method by calling it to create the object. This enables writing of subclasses that decide how a parent object is created and what type of objects the parent contains. See the UML class diagram below.
يتم استخدام نمط تصميم طريقة المصنع من خلال تحديد عملية منفصلة أولاً، طريقة المصنعfactorymethod,، لإنشاء كائن، ثم استخدام طريقة المصنع هذه عن طريق استدعاءها لإنشاء الكائنobject. يتيح ذلك كتابة الاصناف الفرعية subclasses التي تحدد كيفية إنشاء كائن أصلparent object ونوع الكائنات التي يحتوي عليها الأصل. انظر الرسم التخطيطي لصنف UML أدناه
For example, a Vehicle can be prevented from being instantiated directly since it has no constructor, and only subclasses like ElectricPlane orOldCar can be created by calling the Vehicle(static) factory method in the subclass constructor or initializer.
على سبيل المثال، يمكن منع المركبة Vehicle من أن يتم تمثيلها instantiate مباشرة لأنها لا تحتوي على مُنشئconstructor، ويمكن إنشاء الاصناف الفرعية subclasses فقطمثل ElectricPlane أو OldCar عن طريق استدعاء طريقة مصنع السيارة(الثابتة)Vehicle(static) factory method في مُنشئconstructor الصنف الفرعيةsubclass أو المُهيئinitializer
In the above snippet, the MazeGame constructor is a template method that makes some common logic.It refers to the makeRoom factory method that encapsulates the creation of rooms such that other rooms can be used in a subclass. To implement the other game mode that has magic rooms, it suffices to override the makeRoom method:.
في المقتطف أعلاه، MazeGame مُنشئ(constructor) MazeGame طريقة قالب template methodتجعل بعض المنطق شائعًا common logic.يشير إلى factory methodطريقة المصنع makeRoom التي تتضمن إنشاء الغرف بحيث يمكن استخدام الغرف الأخرى في اصناف فرعيةsubclass. لتنفيذ وضع اللعبة game mode الآخر الذي يحتوي على غرف سحريةmagic rooms، يكفي تجاوز override makeRoom
Creating an object directly within the class that requires or uses the object is inflexible because it commits the class to a particular object and makes it impossible to change the instantiation independently of the class. A change to the instantiator would require a change to the class code which we would rather not touch.This is referred to as code coupling and the Factory method pattern assists in decoupling the code.
إنشاء كائن مباشرة داخل الصنف يتطلب أو يستخدم الكائن غير مرن لأنه يلزم الصنف بكائن معين ويجعل من المستحيل تغيير التمثيلinstantiation بشكل مستقل عن الصنف. يتطلب الممثل instantiator في تغييرًا في كود الصنف class code الذي نفضل عدم لمسه.ويشار إلى هذا باسم اقتران الكود code couplingويساعد نمط طريقة المصنع في فصل الكودdecoupling
IDbCommand. CreateParameter is an example of the use of factory method to connect parallel class hierarchies. In Qt,QMainWindow::createPopupMenu is a factory method declared in a framework that can be overridden in application code. In Java, several factories are used in the javax. xml. parsers package. e.g. javax. xml. parsers. DocumentBuilderFactory or javax. xml. parsers.
CreateParameter هو مثال على استخدام طريقة المصنعfactory method لربط التسلسلات الهرمية للصنف المتوازيةconnect parallel class hierarchies. في Qt، QMainWindow::createPopupMenu هي طريقة مصنع factory method تم التصريحdeclared عنها في إطار عملframework يمكن تجاوزه في رمز التطبيق overridden in application code. في جافا، يتم استخدام العديد من المصانعseveral factories في حزمةpackage javax. xml. parsers. parsers. مثل javax. xml. parsers
Another example in PHP follows, this time using interface implementations as opposed to subclassing(however the same can beachieved through subclassing). It is important to note that the factory method can also be defined as public and called directly by the client code(in contrast with the Java example above).
يتبع مثال آخر في PHP، هذه المرة باستخدام تطبيقات الواجهةinterface implementations بدلاً من التصنيف الفرعي subclassing(ومع ذلك يمكنتحقيق نفس الشيء من خلال التصنيف الفرعي). من المهم ملاحظة أنه يمكن أيضًا تعريف طريقة المصنع على أنها عامة واستدعاؤها مباشرةً بواسطة كودالعميل client code(على النقيض من مثال Java أعلاه
For example, a class Vehicle with a member Motor defined with a dynamic type, can have subclasses of type ElectricPlane and OldCar each constructed with a different type of Motor.This can be accomplished by constructing the subclasses with a Vehicle factory method, while supplying the motor type. In cases like this the constructor may be hidden.
على سبيل المثال، يمكن لمركبة من الصنف ذات محرك class Vehicle التي لديها عضو member محدد بنوع ديناميكي dynamic type، أن تحتوي على اصناف فرعيةsubclasses من النوع ElectricPlane و OldCar تم تصميم كل منهابنوعtype مختلف من المحركات. يمكن تحقيق ذلك accomplished عن طريق بناء constructing الاصناف الفرعيةsubclasses بطريقة مصنع المركباتVehicle factory method، مع توفير نوع المحركmotor type. في مثل هذه الحالات قد يكون المنشئconstructor مخفيًا
Thus, for example, a class Vehicle that has a member Motor of interface IMotor, but no concrete type of Motor defined in advance, can be constructed by telling the Vehicle constructor to use an ElectricMotor or a GasolineMotor.The Vehicle constructor code then calls a Motor factory method, to create the desired Motor that complies with the IMotor interface.
وبالتالي، على سبيل المثال، يمكن إنشاء كلاس او صنفclass مركبة التي تحتوي على محرك عضوmember من interface واجهة IMotor، ولكن لا يوجد نوع ملموسconcrete type من المحرك معرف defined مسبقًا، عن طريق إخبار مُنشئ السيارة Vehicle constructor باستخدام محرك كهربائي أو محركبنزين. يستدعي كود مُنشئ المركبة Vehicle constructor بعد ذلك طريقة مصنع المحرك Motor factory method، لإنشاء المحرك المطلوب الذي يتوافق complies مع واجهة interface IMotor
How to perform a factory reset method.
كيفية تنفيذ طريقة ضبط المصنع
Method 5: Factory reset.
الطريقة 5: إعادة ضبط المصنع
It is another method to factory reset iPhone without passcode.
ومن طريقة أخرى لإعادة ضبط المصنع فون دون رمز المرور
Test standard(basis): In the factory the test method.
اختبارمعيار(أساس): في المصنع طريقة الاختبار
Method- manufacturer, factory, supplier from China.
Method- الشركة المصنعة والمصنع والمورد من الصين
Method 6: Reset to factory.
الطريقة 6: إعادة التعيين إلى المصنع
Learn about factory requirement based on production method selected.
تعرف على احتياجات المصنع بناء على أسلوب الإنتاج المختار
Results: 154, Time: 0.0383

How to use "factory method" in a sentence

Factory method for constructing new GCKDevice instances.
Note, the factory method returns a Promise.
One factory method to rule them all.
Swift factory method design pattern - The.Swift.Dev.
Static factory method for creation from username.
Factory method that sets the C flag.
Factory method that sets the N flag.
Factory method that sets the V flag.
Factory method that sets the X flag.
Factory method that sets the Z flag.
Show more

Word-for-word translation

Top dictionary queries

English - Arabic