Ghulam Mohai U Din 202-NUN-0009 Northern University Nowshera
What is FYP and why it is important Database And APIs Tools That is Choose for My project Short Introduction to Flutter and MongoDB Phases of FYP in NU
What is FYP in Universities Integration of Knowledge Skill Development Career Preparation Innovation and Impact Purpose of FYP What is FYP and why it is important
Identifying potential project topics or areas of interest. Consulting with faculty members or advisors for guidance. Choosing a suitable project based on personal interests, academic requirements, and feasibility. Purpose of FYP Phases of FYP in NU
Identifying and defining the entities and their relationships within the system. Using techniques such as Entity-Relationship Diagrams (ERDs) to model the high-level structure of the database. Focusing on understanding the business requirements and the conceptual organization of data. Conceptual Design Phases of FYP in NU
Translating the conceptual model into a logical schema that can be implemented in a specific database management system (DBMS). Defining the tables, attributes, primary and foreign keys, and other constraints. Logical Design Phases of FYP in NU
visual representations or prototypes of a software application, website, or user interface design Mockups Phases of FYP in NU
Example of Mockups Phases of FYP in NU Login Screen Teacher Based Comparison Dean Home
Database And APIs A database is an organized collection of structured data or information that is stored electronically in a computer system What is Database An API, or Application Programming Interface, is a set of rules, protocols, and tools that allows different software applications to communicate and interact with each other. What is API
Database And APIs
Phases of FYP in NU ( cont …) Executing the project plan according to the established timelines and milestones. Iteratively refining and adjusting the project based on ongoing feedback and findings. Implementation (FYP - 2)
Phases of FYP in NU ( cont …) Preparing a final presentation or demonstration to showcase the project outcomes, methodology, and contributions. Defending the project before a faculty panel or committee, addressing questions and concerns raised during the presentation. Articulating the significance of the project and its implications for the respective field of study. Presentation and Defense
Phases of FYP in NU ( cont …) Submitting the final project deliverables, including documentation, codebase, and presentation materials, according to the specified deadline. Submission
Tools That is Choose for My project
An introduction to MongoDB Short Introduction to Flutter and MongoDB
What is MongoDB? MongoDB is an open-source , document-oriented database designed with both scalability and developer agility in mind. Instead of storing your data in tables and rows as you would with a relational database, in MongoDB you store JSON-like documents with dynamic schemas(schema-free, schema-less) . { "_ id " : ObjectId ("5114e0bd42…"), “ FirstName " : "John", “ L ast Name " : "Doe", “ A ge" : 39, “ I nterests" : [ "Reading", "Mountain Biking ] “Favorites": { "color": "Blue", "sport": "Soccer“ } } Short Introduction to Flutter and MongoDB
Short Introduction to Flutter and MongoDB
RDBMS MongoDB Database Database Table Collection Row Document (JSON) Column Field Index Index Join Embedded Document RDBMS vs MongoDB MongoDB does not need any pre-defined data schema Every document could have different data! { name: “jeff”, eyes: “blue”, loc: [40.7, 73.4], boss: “ben” } {name: “ brendan ”, boss: “will” } { name: “ben”, age:25 } {name: “matt”, weight:60, height: 72, loc: [44.6, 71.3]} {name: “will”, eyes: “blue”, birthplace: “NY”, aliases: [“bill”, “ ben ”], loc: [32.7, 63.4], boss: ”ben”} Scheme Free Short Introduction to Flutter and MongoDB
Selects/queries In MongoDB , querying typically consists of providing an appropriately crafted BSON SELECT * FROM tableName db.collectionName.find () SELECT * FROM tableName WHERE field = value db.collectionName.find ( {field: value} ) SELECT * FROM tableName WHERE field > 5 db.collectionName.find ( {field: {$ gt : 5} } ) Other functions that take a query argument have queries that are formatted this way Short Introduction to Flutter and MongoDB
Insert db.collectionName.insertOne ({ field1: "value1", field2: "value2", // Add more fields as needed }) Update db.collectionName.updateOne ( { /* your criteria to identify the document */ }, { $set: { fieldToUpdate : " newValue " } } ) Short Introduction to Flutter and MongoDB
Delete db.collectionName.deleteMany ({ Key: “Value" }) Short Introduction to Flutter and MongoDB
Flutter is an open-source UI software development kit created by Google, used for building natively compiled applications for mobile, web, and desktop from a single codebase. Flutter Short Introduction to Flutter and MongoDB
Single Codebase. Widgets Hot Reload Flutter Short Introduction to Flutter and MongoDB