Article Chris Stewart · Feb 18, 2021 2m read Basic JSON Compare Hi Dev Community I thought i would share a little method I knocked together to traverse and compare 2 JSON objects for basic equivilance. I'm currently working on some data migration, and wanted a basic sanity check to validate that the JSON output is basically equivliant between the old and new, excluding a few things like timestamps. It's a basic little recurvsive method, that will bubble up any differences over a nested structure. It's very low tech, as that's all I need it to do, but I thought it might be useful for others? #JSON #ObjectScript #InterSystems IRIS 1 5 0 552
Article Chris Stewart · Sep 8, 2017 3m read Let's write an Angular 1.x app with a Caché REST backend - Part 13 a.k.a.. "The World of Widgets Returns!" or "Paternity leave damages Instructional Series momentum"In our last lesson, we combined 2 separate classes to appear as the same property. We now have the ability to Update our Widget catalog, but what if we want to Create a Widget? Thankfully, we've already done 90% of what we need, just by implementing Edits #Angular #JSON #REST API #Frontend #SOAP #Caché 0 0 0 758
Article Chris Stewart · May 8, 2017 3m read Let's write an Angular 1.x app with a Caché REST backend - Part 12 In our last lesson, we added some formatting and validation to our Edit Widget form. So, now we are ready to add the ability to add new Widgets to our application. However, the great Widget Wars have come to an abrupt end, as Widget Direct has purchased its biggest competitor, WorldWideWidgets. In order to maintain some continuity, we need to display their catalog on our new application. #Angular #HTML #JavaScript #JSON #REST API #Frontend #Caché 2 0 0 661
Article Chris Stewart · May 6, 2017 2m read Let's write an Angular 1.x app with a Caché REST backend - Part 11 In our last lesson, we added a form to Edit our existing Widgets, and save them back to the server. However, our Form was not well structured and our Save button had no intelligence, and was not fully visible. So today, we will apply some Material components and Angular style to make the form more useful #Angular #HTML #JavaScript #JSON #REST API #Frontend #Caché 2 0 0 670
Article Chris Stewart · Apr 28, 2017 4m read Let's write an Angular 1.x app with a Caché REST backend - Part 10 In our last lesson, we implemented a new REST Service to allow us to perform CRU operations on Widgets, and refactored our Controllers to allow the page setup to be decouple from the content. #Angular #CSP #HTML #JavaScript #REST API #Frontend #Caché 3 10 0 996
Article Chris Stewart · Apr 25, 2017 5m read Let's write an Angular 1.x app with a Caché REST backend - Part 9 In our last lesson, we implemented a linkage to our WidgetAccessory class, and debugged some errors we encountered along the way. We now have our data being returned by REST, but what if we want to update or add new data to our application? #Angular #CSP #JavaScript #REST API #Frontend #Caché 4 7 0 2,192
Article Chris Stewart · Apr 24, 2017 2m read Let's write an Angular 1.x app with a Caché REST backend - Part 8 or "Bonus Breakage"In our last lesson, we added a relationship between 2 persistent classes. We are clearly going to need to start creating REST Services to expose CRUD operations for each of these classes, but before we do that, we should really finish defining our linkages. We added code to our Widget toJSON to spool off related Accessory data, so we should really do the reciprocal and allow Accessories to return all Widgets that are compatible. #Angular #CSP #HTML #JavaScript #REST API #Frontend #Caché 3 2 1 1,029
Article Chris Stewart · Apr 24, 2017 4m read Let's write an Angular 1.x app with a Caché REST backend - Part 7 or "Things are going to break"We left our application over the weekend, secure in the knowledge that it was returning data from our primary persistent class, User.Widget. However, Widgets Direct are the premier supplier of both Widgets AND Widget Accessories, so we should really start working on adding these Accessories to our application. #Angular #CSP #HTML #JavaScript #REST API #Frontend #Caché 2 3 0 1,183
Article Chris Stewart · Apr 21, 2017 3m read Let's write an Angular 1.x app with a Caché REST backend - Part 6 or "Didn't you say you would cover Persistent Objects in Part 5, Chris?"Yes, that was the plan. This is a pretty important topic, so it get's its own ArticleUp until now, we've display widget JSON that has been created by a basic loop. Clearly this isn't of much value. Now we have our stack connected together, and we can see that the data is flowing to the Welcome page, it's time to complete the stack and start feeding our service from "real" data. #Angular #CSP #HTML #JavaScript #JSON #REST API #Frontend #Caché 2 4 0 1,363
Article Chris Stewart · Apr 21, 2017 2m read Let's write an Angular 1.x app with a Caché REST backend - Part 5 At the end of our last lesson, we ended with our page displaying a nice (but garish) Angular Material Toolbar, and our Widget data displaying in a list of Material cards. Our page feels a bit static, and we already know that the large number of Widgets that we will be dealing with will not be especially usable on a static list. What can we do to help? #Angular #CSP #HTML #JavaScript #JSON #REST API #Frontend #Caché 3 0 0 1,127