Hello, last video we start talking about how to write Java code eons of view layer. I have created if my if util clause which has a common function we will use during developing any EDF application is not to missiles methods I added both in session scope and they get from session scope I had to miss again buttons request scope and get from request scope this is I added these two methods as well. So, in this video I will talk about a give give you a quick information about what is the scopes in EDF and how you can deal with this a scoping during if application scopes in ADF application. Here we have application scope, session scope, which you flow scope Raikou scope tag means scope View scope and non This is the scope if application What does it means the scope the scope it mean if you bought a variable in this school who can access and seizes value for example, if you have variable x and since it's the value is 20 if you are in big one and you want to see it in digital, which is cool you should pick So, this is the mean of the scope I will in the next slide I will explain it.
So, here for example, you have completed the application This is old school view rediff application, each application will has some of the task flows. Maybe in this application has two task flow. Each task flow has its own pages. For example, here you have four pages, which one digital insight task flow, b2c widget for phones at risk free to so this is the overview view or a quick view about it if abdication how it is it is it should have a diff application as some of the logical flow which Tosca was he on bitch. So, if we talk about it application scope, it means if you put a variable in the application scope, all pages in all task flow in the application can access this variable and you can see this variable. So, if you add for example, variable x equal 20, if you made one try in the back been to get this value, you will find it if you put it in the application scope Okay, for task flow level called Digi flow scope, so if you put value variable inside page flow scope, it means this variable will be only seen inside the pages in that task flow.
So if you are in task flow one and you add from somebody if you add them About x equal 20. While you are in Tosca if you want or big one, if you navigate to big two, you will have this access to this you will have access to this variable if you go to the big three, you will lose this variable because this is only the scope of the big flew scope. Here has its own big flow scope as well. So, for each level here, you will have URL equals scope or view scope or big back means scope request the scope is just for the request if you have a page with a button and just press a button, this request will have access only is available will be in for this request only. I prefer this request to that. It means your memory words if unless if you need to put something in there Eric what's the scope view scope is whatever the beach is loaded on a beer.
So, it this is called a view scope if you navigate from this page at all, the view scope will just go boom gone back been scope it back been can be shared between multiple pitch, but normally we have backbeat for each pitch. So, if you say the bag means core which means, this any variable in this scope can be accessed only in the page which has this bag B. session scope is a score scope which can be in the session. It is near to the applications need to application scope but session scope this beer user session once the user opens the browser and login during navigation between all task flows on all page is a variable will be active in the session, but once you look our decision will be Gone. So we can consider session scope is mixing between all of this scopes view represents a beautiful scope, we can measure this as a session scope.
So normally in our ADF application, we use session scope, or request scope, but most of them is a session scope. For example, if the user once the user is logged into it, if application you need to store some information in the session scope, so that you can access this information during the user log using the application once the user is looking good, so this session will be gone. So for the next video, I will show you how you can start coding this methods and how you can deal with scopes. How you can call a this what in session scope and request the scope and try to get Have an example of this message. So see you next video.