InfoPath fronting SharePoint

So SharePoint was the front-end view for quite a few apps, but now, here's one step further. Why not build your application logic using InfoPath. So I recently read two articles about it and putting them together, you may see more solutions. Here goes:

https://technet.microsoft.com/en-us/magazine/cc194406.aspx

https://msdn2.microsoft.com/en-us/library/cc162745.aspx

The techniques and CAML used may be useful to your future implementations.