How to use Ionic Framework for Web App Development?

后端 未结 6 1591
暖寄归人
暖寄归人 2020-12-22 18:46

Is it possible to use ionic frameowork for regular Web Applications rather than wrapping it in Cordova?

6条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-22 19:35

    Depending on the complexity of the app it is absolutely possible to use the Ionic Framework for regular web applications!

    When you create your app there is a /www folder that contains all your HTML, JS, and CSS. That's the front end for your web app.

    Most web apps are simple interfaces that access data with only a little bit of logic in between. In most cases you can put that logic in your JS and let the clients handle the workload.

    Data can be handled by a Backend-as-a-Service (BaaS) solution like Firebase or Parse. I like Firebase because it ties in nicely with Angular and Ionic.

    If you need to connect to services that require secrecy, like credit card payments, you can hook in to a service like Zapier.

    For hosting there are a number of static app hosters that have popped up specifically for serverless apps. I prefer divshot even though they don't seem to be actively pushing out new features anymore.

    The solutions I've outlined here will help you maintain the consistency across platforms that makes Ionic great!

提交回复
热议问题