# Things Factory Framework

## Framework Features

### 1. **Cloud and Infrastructure Support**

Things-Factory framework offers perfect compatibility with modern cloud infrastructure, making application deployment and management more efficient. Its Edge Computing feature maximizes data processing efficiency and supports flexible data management through various file storage options. It is designed to maintain high performance even in clustering environments.

- **Preparing for cloud service structure**: Things-Factory provides seamless integration with major cloud platforms such as AWS, GCP, Azure, and Kubernetes (K8s). This allows users to easily deploy and manage applications in a cloud environment. For example, features such as auto-scaling and load balancing ensure stable service even during traffic spikes, and IaC (Infrastructure as Code) support allows managing cloud resources through code.
- **Edge Computing**: By executing data modeled in the cloud at the Edge, it provides real-time data processing and quick responsiveness. For example, it can process large volumes of sensor data generated in manufacturing sites in real-time, selecting and filtering the necessary data before sending it to the cloud. This feature maintains high performance even in distributed environments and minimizes network latency.
- **Utilizing various file storages**: It supports local file systems and cloud-based storages like Amazon S3, enabling safe and flexible data management. For example, storing large files in S3 reduces costs, and version management features allow tracking data changes. Various storage options provide flexibility to choose according to the enterprise's needs.
- **Scheduler support for clustering environments**: Scheduler services available in clustering environments can enhance task efficiency. For example, it can distribute distributed processing tasks across multiple nodes for parallel execution and aggregate results upon task completion. This feature effectively manages system load by distributing large-scale data processing tasks. It maintains high availability and stability.

### 2. **Security and Authentication**

Security and authentication are essential elements of modern applications. The Things-Factory framework offers strong security features through biometric authentication login, SSO (Single Sign-On), and OAuth2 support. This protects user data and implements secure authentication and authorization processes.

- **Biometric authentication login**: It enhances user security by utilizing biometric technologies such as fingerprint or facial recognition. For example, when logging in through fingerprint recognition, users can easily access without remembering complex passwords. This reduces the risk of password theft and simplifies the login process. Biometric authentication is especially useful in fields where security is crucial, such as banking and healthcare.
- **SSO preparation**: By integrating SSO solutions like Google and Azure, it allows centralized management of user authentication. For example, users can access multiple applications within the company with a single login, and IT administrators can manage user access rights centrally. SSO increases security levels within the enterprise and improves user experience.
- **OAuth2 support**: It provides secure authentication and authorization processes through the OAuth2 protocol. For example, when a third-party application wants to access user data, users can grant access rights to the application through OAuth2. This enables secure data sharing with third-party applications and effectively manages user permissions. OAuth2 can be used in various scenarios such as social login and API integration.
- **Role-Based Access Control (RBAC)**: The framework allows setting up an RBAC model, enabling user access management based on predefined roles and permissions. For example, administrators can define roles such as 'admin,' 'editor,' and 'viewer,' each with specific access rights and privileges. This ensures that users only have access to the resources and functions necessary for their roles, enhancing security and simplifying management. The RBAC model is especially useful in environments with complex organizational structures, ensuring fine-grained access control and compliance with security policies.

### 3. **API and Communication**

Powerful API and communication features are core elements of the Things-Factory framework. It supports smooth data exchange between clients and servers through GraphQL-based APIs and PubSub channels, providing various integration features. This allows developers to build efficient and scalable applications.

- **GraphQL-based API**: It ensures smooth communication between clients and servers through GraphQL-based APIs that support strong type checking. For example, clients can request only the necessary data, and servers respond only with that data, reducing network traffic and optimizing performance. This clearly defines data requests and responses, reducing bugs and speeding up development. GraphQL's flexibility can quickly respond to various data needs.
- **GraphQL PubSub channel**: It effectively performs real-time data updates and event handling through the PubSub communication mechanism. For example, in a chat application, messages are updated in real-time, or price changes are immediately reflected in a stock trading system. This feature is suitable for applications where real-time feedback is important and quickly delivers the latest information to users.
- **Various integration features**: It provides task components for structuring various adapter structures and integration scenarios, making EAI (Enterprise Application Integration) easy to implement. For example, it can automate data integration between ERP systems and CRM systems, synchronizing data between both systems in real-time. This effectively manages data integration and process automation between multiple systems. Integration features organically connect various applications within the enterprise.

### 4. **User Interface and User Experience**

User interface and experience are crucial elements for the success of an application. Things-Factory framework provides optimal user experience through complete PWA functionality, UI theme application, responsive UX, WebComponents-based structure, and built-in UI components. This allows users to use an intuitive and efficient interface.

- **PWA functionality**: Things-Factory supports full PWA (Progressive Web App) functionality, providing a user experience similar to native apps. For example, users can add the application to the home screen and use it like a native app, and basic functions can be used even offline. This ensures the application works offline and maintains fast loading speeds and high performance. PWA functionality greatly enhances user accessibility.
- **UI theme application**: By applying the Material Theme concept, it provides consistent themes for various applications. For example, it supports dark mode and light mode, allowing users to choose their preferred theme, and enables customization to match the company's brand identity. This enhances user experience and maintains brand consistency.
- **Responsive UX**: It offers optimized responsive UX for various environments such as mobile, tablet, and desktop. For example, users can use the same application with a consistent experience on any device, including smartphones, tablets, and desktops. This allows users to have a consistent experience on any device, and developers can support multiple platforms with a single codebase. Responsive UX increases development efficiency and user satisfaction.
- **WebComponents-based structure**: By using a WebComponents-based application structure, it makes standardized component usage and expansion easy. For example, developers can define common UI elements as WebComponents for reuse and maintain consistency across projects. This allows developers to easily create and maintain reusable components. WebComponents increase development efficiency and code quality.
- **Built-in UI components**: It provides built-in UI components such as data grids, which are perfectly integrated with the framework, enhancing productivity. For example, it can easily implement complex data tables and provide various filtering and sorting functions. This allows developers to quickly implement the necessary UI elements and provide an intuitive interface to users. Built-in components reduce development time and costs.
- **Graphic and HTML UI modeler**: It provides a WYSIWYG-based UI modeler for dashboards, Machine Control UI, Floor Control UI, etc., enhancing productivity. For example, users can configure dashboards with a drag-and-drop method and visualize real-time data. By using various charts and business components, users can create an intuitive graphic interface. This feature makes it easy to model complex UIs.
- **Label modeling and data-bound label creation**: Things-Factory supports over 100 types of barcodes and allows users to model labels with a WYSIWYG method. For example, users can add text, images, and barcodes to labels through drag-and-drop, and generate labels in real-time by binding data. This allows users to print labels accurately modeled without knowing the barcode label printing language, and easily create labels with various fonts and barcode formats. This feature enables efficient labeling in logistics, manufacturing, distribution, and various other fields.
- **Data Analysis and Visualization Tools**: The framework provides robust tools for data analysis and visualization, including WYSIWYG-based modeling and simple data binding features. For example, users can create and configure data visualizations such as charts, graphs, and dashboards with a drag-and-drop interface, making it easy to bind data to these visual components. This enables users to gain insights from their data through interactive and visually appealing representations, improving decision-making and data-driven strategies.

### 5. **Development Productivity and Management**

Efficient development and management tools are key to the Things-Factory framework. It maximizes development productivity and management efficiency through modular structure reusability, hierarchical domain structure, user-defined menu system, multilingual functionality, etc. This allows developers to build applications more quickly and efficiently.

- **Modular structure reusability**: Through a complete modular structure, it makes code reuse and maintenance easy. For example, it can separate common functions into modules for reuse across multiple projects and easily extend new functions without modifying existing code. This reduces repetitive tasks for developers and maximizes productivity. The modular structure enhances application scalability and maintains quality.
- **Hierarchical domain structure**: By supporting an inheritable tenancy structure, it enables efficient management even in complex multi-domain environments. For example, multiple subdomains can inherit the settings and permissions of the parent domain, maintaining consistent policies. This allows flexible response to various business needs and efficient management of data and settings across tenants. The hierarchical structure increases management efficiency.
- **User-defined menu system**: It allows customizing the menu system to meet different user requirements. For example, it can provide different menus to administrators and general users, hiding unnecessary functions and emphasizing important ones. This enables users to create an optimized interface for themselves, and administrators can flexibly adjust various settings. The user-defined menu system enhances user experience.
- **Multilingual functionality**: Through user-defined multilingual functionality for each tenancy, it ensures smooth application use even in a global business environment. For example, it can apply language and regional settings for each country, providing optimized content to users. This provides a consistent experience to users speaking different languages. The multilingual functionality facilitates global market entry.
- **Markdown-based help and content organization**: Through a Markdown-based multilingual help and content organization framework, it makes user support and documentation easy to manage. For example, it can write technical documents in Markdown format, translate and maintain them in various languages. This allows users to quickly find the necessary information, and administrators to efficiently maintain documentation. Markdown-based help improves user experience.
- **Workflow-based**: It provides a workflow basis for handling user to-do lists and approval tasks, enhancing work efficiency. For example, in project management, team members can be assigned tasks, and the process of approving completed tasks can be automated. This allows users to systematically manage tasks and streamline the approval process. The workflow basis improves organizational productivity.
- **Data grid**: It provides a data grid usable in various environments and supports user personalization features. For example, users can add or delete columns in the data grid according to their needs and easily manage data through filtering and sorting functions. This allows users to create a data view optimized for themselves, and developers to easily implement various data representation methods. The data grid enhances user experience.

### 6. **Data Management and Integration**

Data management and integration are important elements of the Things-Factory framework. It provides safe data management and efficient integration through support for various databases, data collection and input services, headless Chrome utilization, etc. This allows enterprises to effectively utilize data.

- **Supporting various databases**: It supports various databases in both cloud and on-premises environments, enabling flexible data management. For example, it supports integration with various databases such as MySQL, PostgreSQL, MongoDB, allowing enterprises to utilize their existing database environment. This allows enterprises to utilize both their own databases and cloud-based databases. Supporting various databases provides flexibility in data strategy.
- **Data collection and input services**: It provides services for data collection, input, archiving, and summary modeling, allowing efficient data management. For example, it can collect IoT sensor data, user input data, etc., in real-time, convert them into the necessary format, and store them. This allows enterprises to effectively manage the data lifecycle and quickly access the necessary data. Data collection and input services increase the efficiency of data management.
- **Utilizing headless Chrome**: It provides various functions such as image-based barcode label printing, thumbnail image extraction, and data integration through data scraping. For example, it can automatically capture screenshots of web pages to generate thumbnail images or create product barcodes for label printing. This automates complex data tasks and integrates data efficiently. Utilizing headless Chrome simplifies data processing tasks.

The Things-Factory framework integrates the latest technologies and various features, providing an optimized solution for enterprise application development. Through innovative development tools and powerful integration features, it allows easy development of applications with high productivity and flexibility.

## Developers Guide

[Things Factory Framework Developers Guide](http://www.hatiolab.com/things-factory-doc/ko/intro/framework/)

## Framework Concepts

- [redirection](/helps/about/framework/redirection.md)
- [typegraphql](/helps/about/framework/typegraphql.md)
