Transcript for:
Mendix Basics: Introduction and Developer Portal Overview

hello and welcome to my channel this is how to program channel in this channel you can find the mendix and if you want to learn mendix if you want to join the mendix or if you want if you increase your existing knowledge this is the right channel you should follow this and today we are gonna start a new series which I called the mendix basics in this series you can find the real good information about the mendix let me introduce myself my name is sutku I'm certified Minix developer and also I'm certified managed teacher which which means I rapidly gives the education to in professional level and in this channel you can find my teaching and learning stuffs under this channel I hope you enjoy and what we are gonna do today uh we're gonna create a new app and we're gonna look the developer portal and its General introduction actually and what is the developer portal what is the purpose and what is the elements on it and we then after the creation we're gonna look to mendix Studio Pro which means either I called we're gonna look the either in general then after in after either the introduction we look to modules after the modules we're gonna start with the domain model and the other stuffs and this is the first video if you follow these steps you're gonna find the new videos and more advanced topics on it before we start I'm gonna say that this is kind of the Rapids and between the beginner level if you want to make if you want to see more advanced options please follow me then I'm gonna switch to the developer portal site from developer portal you can create app or you can see all your apps here I'm gonna assume you don't have any application in this case you need to create an app of course there are two options which is the the first one is from developer portal you can create an application or from the mendix version selector you can create a new application from the version from the version list okay let me do it from the developer portal I click the create tab button is asking me I'm choosing the blank map application and under the blank web application I can see in the advanced settings the version I'm gonna choose a nine point I'm I want to make the application with this or this so I want to choose one of them in repos reposited type is actually there are two options and git and SVN now it's get selected okay it can search 9.24.3 and remain the repository type as git of course there are some LTS Solutions mendix continuously improve the LTS versions I'm gonna suggest you to follow the LTS versions with this template I choose the select template button then customize your app we need to give an name to our application how to program underscore lesson one of course you can choose an icon for your application and select create app it will take you see it won't take so much time this is the developer portal let me introduce this is the management platform for your applications now I'm gonna I'm in the how to program the existing application the boss Parts it's kind of the dashboard you can see the application you can see the messages here from our you see here and in under the theme panel you can find the team members of course you can invite some members from here by typing their email addresses feedbacks can be found under the feedback options while testing testers or developers or users can adjust can put feedbacks and under the developer portal feedback site is this for this purpose I'm gonna jump into the documents you can upload some documents related with the applications and this is the team server this is the settings part you there is an application ID which is unique number in app in each app there's a different application ID and also uh some related tabs you can find here and board it's kind of the project management site here you see there is no active C prints there is no epics planning cashew let me go to the environments because we are using free version there is no activity no application log or whatever is seen in the next chapters in the next chapters you will find more advanced topics on the developer portal but until now it's I think it's enough we can switch to our either application to open the eBay you need to click the edit in Studio Pro options after clicking there will be a pop-up and mendix version selector will open the related version for your application open I think I'm gonna close this one yes then click again open Linux version selector yes the related version you see here is opening now then what will I see what we will see okay there's a sign in let me just click and go to the yeah I think I'm click double times uh yes I close off them okay and team server app yes I'm gonna open but we'll see there is an empty app which is the default and in this app you will find some modules and some sections this is either we call this mendix Pro mendix Studio Pro this is the empty app you see in the app Explorer there are three modules we call them as a module in each standard blank app you will find these three modules the first one is app module which is standard and which is some applications settings and application navigation related settings and which is a more uh application settings you will find there and of course there is a styling part which you can create some CSS and there will be some modules on it Marketplace module you will find and import uh necessary modules under your application and there is a system module on it which is also the standard part I'm gonna like this I'm gonna close all of the sections and this is our the logic module which is called my first module of course in any time you can change this module name by right clicking and rename and how to yeah this is the my new module name under your module name under your module you will find domain model and you will find a home page and you will find some resources like images or whatever in any time you can create a add module you can add module or you can replace or you can delete these modules at any time these are the modules let me introduce you then again populated settings as I said remember as I said earlier under the app from the settings part there are some configuration which is related you can choose the database type you see there are available databases you can choose the ports and there will be some Advanced topics like application configuration parameters and under the runtime you can for example create an after startup microflow what is the micro flow of evil giving details in the feature it's kind of the logic of your application you see there are some encryption methods others and you can choose your application language you can add more these are the certificates these are the UI templates that it's giving standard these are the other parts under the file parts then let me first these are the app Explorer these are the selected part you see the selected part is here and you can switch all of them you can switch between them if you want to close all of them like this just close all button and the bottom top you will find the stories changes that you made for your application of course you can commit or poll under this section if if you have an error you will find under this tab this will become one and it will be red this is our console this is all related Logs with application you will find this and variables and debugger in the feature you will we will put some breakpoints on application somewhere then we will step by step give see the variables and we will debug our application on the right side you will find properties toolbox and connectors if you select the page you will find the related properties and toolbox under the right section or if you selected a domain model or whatever you will find related part with this within this part let me go with the file as you see you can export or import your application package under here you can [Music] find some related Advanced topics with the find address button for example you don't remember the um rest name within the application in some of the microflow you can find this you you can use this find Advance button in the view you can change the all wheel with either and the app parts there are some important topics which we can say that it's kind of advanced topic but let me introduce synchronized app directory means your application is working on your computer local computer and there is a there is of course a URL in the URL you can find your application with within with this with you click the synchronize app directory app and your directory will be synchronized Show app directory in Explorer it's very uh yes when I click this you can find your application this is all the application with the related documents deploy for the eclipse is for the Java actions but in the future by deploying your application to eight tips you can write some custom Java codes on it and create deployment package after the after development you can create a deployment package to push your application in for example in one environment you can use cloud Foundry or whatever clean deployment directly after the Java implementation with Eclipse you need to clean your directory so you we will use this in the future run means as in the name your application can run locally by clicking this button or clicking this button you can run and test your application in your local environment what is the publish button publish button will send your application to the mendix cloud which is free sandbox environment you will see in later question control you can see the it's about working with teams you can create some branches you can merge this Branch you can switch the branch or you can add your existing database snapshot data to your application and this language but it's as I said earlier you can change your applications uh said language settings from here what I will do I will just click to run application to see what is the application exactly for now this run button allows to you test your application before publishing it to the cloud this is the free app now and it will open your home page after your application ready you can see this view app button here you see our first step is ready with the empty and default settings why this is the home page because this is the navigation settings you see there is your application title application icon and your default homepage is defined here if you say show you will find this page what I'm gonna do this in this section if I want for example I'm going to go to the toolbox and put some text on my home with what I did is just drag and drop and switch and click to the one and change its content if I save there is nothing to change in my application I need to rerun my application to see the changes in browser you see here my changes is now in the browser part as you see there are some related page stuffs it can be found on the two under the toolbox here we will see the page view Link in the next videos what we are gonna do is now with starting with domain model domain model actually the mendix is the database first approach what this means you need to create the database and entities and tables at first then you can combine with this database with your pages okay I click the domain model you see toolbox that is only The annotation and entity I put a notation here this is kind of comment section you can use annotations to in your microflow pay or domain model or your comments and these are the entities I'm gonna uh like this drag and drop if you don't like drag and drop you can right click and add entity or annotation like here you see we have now two entities what is an entity entities in in very basic terms is a table I'm gonna yeah this is these are the mendix documents part these are the entities you see there are two entities here with attributes and some icons and we will cover all of the steps in in the next videos but we will cover the most Basics parts for now at first why these changing colors the upper ones are blue but the lower ones is like orange when I when you click your entity you can drag and drop in anywhere then you could click your entity double click your entity there is a pop-up opens you can change your entity name for example person if I click ok I changed my entity name and there are some system numbers [Music] you can create your you can store your create date change date or owner from here or if you want to um store the change person you need to click with this combo box with these check boxes there is a some generalization part images you can see and under the persistable part you see the default yes is selected if I choose to know and click ok this will become this background become orange what does it mean persistable entity [Applause] is stored in the database but when you put note to the for persistable it means it's non-persistable entity so it will not store in the database it will like the variables during the runtime it will create it and garbage collector collects and delete this okay I'm gonna put and yes again you see my personal entity becomes uh we do again these are tabs attributes associations validations event handlers indexes and documentions are available now attributes it's the attribute of your entity for example a person could have name and which is string attribute and there are also some available attribute types Auto numbers which is increasing rapidly you cannot change this one two three or whatever so binary options it's very clear and building stuff true false date and time decimal or float you can call whatever 1.2 it's kind of decimal enumeration is predefined values for example uh talk about the genders male and for male there are some enumerations you can call it hashed strings and integers one two three four and long values and strings so name becomes strings if I click ok I add these attributes to The Entity you see then you change this there is some small Point become here you can find you can push the control and S button or you can't say like this what I'm gonna do is I'm gonna add more attributes like h which is is integer and for example gender which could be integer but I prefer to use the enumeration and there is no enumeration available here I'm gonna put with under this with this selection the module I click the new and give a name enum gender then this enumeration pop-ups will occur I create mail and for mail options available here then click ok now this is okay you put name H and gender attributes to your person entity you can choose a default value for this and we will put some data attributes we're gonna you want to use the date and time attribute um maybe I can use this as an birthday and of course you can Define some default values on it you see our entity is ready but it's not used anywhere if you want to use your entity in your application or in your page you need to bind this entity to your pages but this is about binding your application binding your entity with the pages it's um we will cover this topic in our next videos what we're gonna do is here uh creating another entity for example student then we're gonna fill out this entity with the related information in our next videos this is the first topic I'm gonna divide each sections in the smaller parts I hope you enjoy and uh see you at next videos thank you