使用Ionic Framework构建混合移动应用程序

时间:2021-04-01 23:00:21

I am exploring different options for creating my first mobile app. I am from a web development background using Rails and Postgres.

我正在探索创建我的第一个移动应用程序的不同选项。我来自使用Rails和Postgres的Web开发背景。

I am unsure of how something like the Ionic framework works. I've looked around on the web but I weren't able to find answers to my specific question. Is my understanding correct that I will be able to create a full Rails/Postgres backend with various API's and then talk to the backend from my Hybrid mobile app (Ionic framework)?

我不确定Ionic框架之类的东西是如何工作的。我环顾四周,但我无法找到具体问题的答案。我的理解是否正确,我将能够使用各种AP​​I创建完整的Rails / Postgres后端,然后从我的混合移动应用程序(Ionic框架)与后端交谈?

Can anybody point me to a tutorial that might have worked for them please?

任何人都可以指点一个可能适合他们的教程吗?

2 个解决方案

#1


We've just released a tutorial on how to integrate a Rails backend with Ionic, based on our experience building many real world production apps.

我们刚刚发布了一个关于如何将Rails后端与Ionic集成的教程,基于我们构建许多真实世界生产应用程序的经验。

You can find it here:

你可以在这里找到它:

http://www.dovetaildigital.io/blog/2015/8/21/rails-and-ionic-make-love-part-one

This is the first of a three part series in which we move from basic integration to full user authentication and integration testing. Hopefully this is of some help to you!

这是我们从基本集成转向完整用户身份验证和集成测试的三部分系列中的第一部分。希望这对你有所帮助!

#2


So if you have any epxerience in web design ionic is a very easy. You build a webpage just like you would for hosting on a server. All ionic does, along with angular js, is extend html's vocabulary using something called directives. I would use the intel xdk. It has brackets as a built in text editor, a built in phone emulator, and a build server for mobile apps all tied into one. You can also start with an ionic template. what you end up with is some html, javascript (mostly angular js), and some css. Then that code is built into a mobile app for whatever platform you choose through the cordova build process. You can grab the intel xdk here https://software.intel.com/en-us/html5/tools, ionic docs are here http://ionicframework.com/docs/, and an ionic tutorial here http://ionicframework.com/getting-started/. Best of luck to you!

因此,如果您对网页设计有任何影响,离子是非常容易的。您构建一个网页就像在服务器上托管一样。所有离子与角度js一起使用称为指令的东西来扩展html的词汇。我会使用intel xdk。它具有作为内置文本编辑器的括号,内置的电话模拟器,以及用于移动应用程序的构建服务器。您也可以从离子模板开始。你最终得到的是一些html,javascript(主要是角度js),还有一些css。然后,该代码内置于移动应用程序中,适用于您通过cordova构建过程选择的任何平台。你可以在这里获取intel xdk https://software.intel.com/en-us/html5/tools,离子文档在这里http://ionicframework.com/docs/,这里有一个离子教程http:// ionicframework .COM /工具入门/。祝你好运!

#1


We've just released a tutorial on how to integrate a Rails backend with Ionic, based on our experience building many real world production apps.

我们刚刚发布了一个关于如何将Rails后端与Ionic集成的教程,基于我们构建许多真实世界生产应用程序的经验。

You can find it here:

你可以在这里找到它:

http://www.dovetaildigital.io/blog/2015/8/21/rails-and-ionic-make-love-part-one

This is the first of a three part series in which we move from basic integration to full user authentication and integration testing. Hopefully this is of some help to you!

这是我们从基本集成转向完整用户身份验证和集成测试的三部分系列中的第一部分。希望这对你有所帮助!

#2


So if you have any epxerience in web design ionic is a very easy. You build a webpage just like you would for hosting on a server. All ionic does, along with angular js, is extend html's vocabulary using something called directives. I would use the intel xdk. It has brackets as a built in text editor, a built in phone emulator, and a build server for mobile apps all tied into one. You can also start with an ionic template. what you end up with is some html, javascript (mostly angular js), and some css. Then that code is built into a mobile app for whatever platform you choose through the cordova build process. You can grab the intel xdk here https://software.intel.com/en-us/html5/tools, ionic docs are here http://ionicframework.com/docs/, and an ionic tutorial here http://ionicframework.com/getting-started/. Best of luck to you!

因此,如果您对网页设计有任何影响,离子是非常容易的。您构建一个网页就像在服务器上托管一样。所有离子与角度js一起使用称为指令的东西来扩展html的词汇。我会使用intel xdk。它具有作为内置文本编辑器的括号,内置的电话模拟器,以及用于移动应用程序的构建服务器。您也可以从离子模板开始。你最终得到的是一些html,javascript(主要是角度js),还有一些css。然后,该代码内置于移动应用程序中,适用于您通过cordova构建过程选择的任何平台。你可以在这里获取intel xdk https://software.intel.com/en-us/html5/tools,离子文档在这里http://ionicframework.com/docs/,这里有一个离子教程http:// ionicframework .COM /工具入门/。祝你好运!