logging in or signing up Custom Libraries ProdigyView Download Post to : URL : Related Presentations : Share Add to Flag Embed Email Send to Blogs and Networks Add to Channel Uploaded from authorPOINT lite Insert YouTube videos in PowerPont slides with aS Desktop Copy embed code: (To copy code, click on the text box) Embed: URL: Thumbnail: WordPress Embed Customize Embed The presentation is successfully added In Your Favorites. Views: 4 Category: Science & Tech.. License: All Rights Reserved Like it (0) Dislike it (0) Added: December 13, 2011 This Presentation is Public Favorites: 0 Presentation Description Learn how to add your own custom libraries in ProdigyView Comments Posting comment... Premium member Presentation Transcript Custom Libraries: Custom Libraries Let your creativity run free when programmingOverview: Overview Objective Learn how to add your own custom libraries to ProdigyView . Requirements Understanding of PVCollection Understanding of PVStaticObject Estimated Time 10 Minutes www.prodigyview.comFollow Along With Code Example: Follow Along With Code Example Download a copy of the example code at www.prodigyview.com/source . Install the system in an environment you feel comfortable testing in. Proceed to examples/system/ Custom_Libraries.phpCreate A Collection: Create A Collection First thing we need to do is create a collection. This collection is where we will store our libraries If you are familiar with the dynamic objects tutorial, then you remember how we can add variables to any object in ProdigyView .Anonymous Functions 1: Anonymous Functions 1 In our next step, we need to create an anonymous function that will add the library to our collection. Our custom libraries are going to have a name and a location. 1. Closure accepts the name and location as arguments 2. Pull the custom library object from PVLibraries 3. Add the name and location to the collection 4. Add the collection back inAnonymous Function 2: Anonymous Function 2 Our second anonymous function will be used for retrieving the libraries added. 1. Pull your library collection 2. Return the iteratorAdd The Functions: Add The Functions Now all we have to do is add the anonymous functions to PVLibraries and we can begin to use our custom libraries. 1. Set the name of method in PVLibraries 2. Associate it with an anonymous functionAdd Our Libraries: Add Our Libraries The method addMyLibrary , which now a part of PVLibraries , is using the anonymous function we created before. Add you library and its location through this method. 1. Call Our New Method 2. Set our library name 3. Set the library location www.prodigyview.comIterate Through Our Libs: Iterate T hrough Our Libs Our last step in this process is iterating through the libraries that we added. Our results will show the name and location of our libraries. www.prodigyview.com Uses the anonymous functionReview: Review What we did in this tutorial is combine a few different features of ProdigyView , and use them to expand the framework to fit our needs. PVLibraries extends PVStaticObject PVStaticObject has the ability to create new variables and methods PVCollection stores a list of data which can be iterated too. Almost every object in ProdigyView has the ability to be expanded as in this example. Keep your imagination open when programming.API Reference: API Reference For a better understanding of the libraries, visit the api by clicking on the link below. PVLibraries PVStaticObject PVCollection www.prodigyview.com More Tutorials For more tutorials, please visit: http:// www.prodigyview.com /tutorials You do not have the permission to view this presentation. In order to view it, please contact the author of the presentation.
Custom Libraries ProdigyView Download Post to : URL : Related Presentations : Share Add to Flag Embed Email Send to Blogs and Networks Add to Channel Uploaded from authorPOINT lite Insert YouTube videos in PowerPont slides with aS Desktop Copy embed code: (To copy code, click on the text box) Embed: URL: Thumbnail: WordPress Embed Customize Embed The presentation is successfully added In Your Favorites. Views: 4 Category: Science & Tech.. License: All Rights Reserved Like it (0) Dislike it (0) Added: December 13, 2011 This Presentation is Public Favorites: 0 Presentation Description Learn how to add your own custom libraries in ProdigyView Comments Posting comment... Premium member Presentation Transcript Custom Libraries: Custom Libraries Let your creativity run free when programmingOverview: Overview Objective Learn how to add your own custom libraries to ProdigyView . Requirements Understanding of PVCollection Understanding of PVStaticObject Estimated Time 10 Minutes www.prodigyview.comFollow Along With Code Example: Follow Along With Code Example Download a copy of the example code at www.prodigyview.com/source . Install the system in an environment you feel comfortable testing in. Proceed to examples/system/ Custom_Libraries.phpCreate A Collection: Create A Collection First thing we need to do is create a collection. This collection is where we will store our libraries If you are familiar with the dynamic objects tutorial, then you remember how we can add variables to any object in ProdigyView .Anonymous Functions 1: Anonymous Functions 1 In our next step, we need to create an anonymous function that will add the library to our collection. Our custom libraries are going to have a name and a location. 1. Closure accepts the name and location as arguments 2. Pull the custom library object from PVLibraries 3. Add the name and location to the collection 4. Add the collection back inAnonymous Function 2: Anonymous Function 2 Our second anonymous function will be used for retrieving the libraries added. 1. Pull your library collection 2. Return the iteratorAdd The Functions: Add The Functions Now all we have to do is add the anonymous functions to PVLibraries and we can begin to use our custom libraries. 1. Set the name of method in PVLibraries 2. Associate it with an anonymous functionAdd Our Libraries: Add Our Libraries The method addMyLibrary , which now a part of PVLibraries , is using the anonymous function we created before. Add you library and its location through this method. 1. Call Our New Method 2. Set our library name 3. Set the library location www.prodigyview.comIterate Through Our Libs: Iterate T hrough Our Libs Our last step in this process is iterating through the libraries that we added. Our results will show the name and location of our libraries. www.prodigyview.com Uses the anonymous functionReview: Review What we did in this tutorial is combine a few different features of ProdigyView , and use them to expand the framework to fit our needs. PVLibraries extends PVStaticObject PVStaticObject has the ability to create new variables and methods PVCollection stores a list of data which can be iterated too. Almost every object in ProdigyView has the ability to be expanded as in this example. Keep your imagination open when programming.API Reference: API Reference For a better understanding of the libraries, visit the api by clicking on the link below. PVLibraries PVStaticObject PVCollection www.prodigyview.com More Tutorials For more tutorials, please visit: http:// www.prodigyview.com /tutorials