简体   繁体   English

flutter 网站和应用程序使用 MVC 和 flutter 我如何连接后端?

[英]flutter website and apps using MVC and flutter how do I connect back end?

hi I want to develop flutter apps in ios and android and website for the same.嗨,我想在 ios 和 android 和网站中开发 Flutter 应用程序。 is it ok to use futter in this case?在这种情况下可以使用 futter 吗? is website also needs to develop in flutter ?网站也需要在flutter中开发吗? is it ok if i develop website in codeigniter or laravel?如果我在 codeigniter 或 laravel 中开发网站可以吗? which one i need to start first?我需要先开始哪一个?

how can I use flutter development for both apps and website?如何为应用程序和网站使用 Flutter 开发?

I am building a flutter project and am having an issue integrating the web and mobile code in a single project.我正在构建一个颤振项目,但在将 Web 和移动代码集成到一个项目中时遇到了问题。 will it work?它会起作用吗? or Do I need to build separate project ?或者我需要建立单独的项目吗?

Well I don't think there is a right or wrong for this answer because it can work for sure but it depends how you implement it.好吧,我认为这个答案没有对错之分,因为它肯定可以工作,但这取决于您如何实施它。

To your first question if you only need one codebase the answer is YesNo.对于您的第一个问题,如果您只需要一个代码库,答案是 YesNo。 This means you need for the entire business logic only one code base BUT (and this is were my clients are always doing it wrong too) you need most of the time two different UIs.这意味着对于整个业务逻辑,您只需要一个代码库(这是我的客户也总是做错了),大多数时候您需要两个不同的 UI。 One for the mobile versions and one for the desktop version.一种用于移动版本,一种用于桌面版本。

To your second question if you can use laravel for it.关于你的第二个问题,你是否可以使用 laravel。 My answer: Sure why not?我的回答:当然为什么不呢? You can use any database system for it as long as you are able to integrate it into your flutter application there shouldnt be any restriction from the flutter side.您可以使用任何数据库系统,只要您能够将其集成到您的 Flutter 应用程序中,Flutter 方面就不应该有任何限制。

To your explicit thrid question if you need to have seperate projects.如果您需要单独的项目,请回答您明确的第三个问题。 As I said, you have the same business logic but two or more UIs.This means you need only one project!正如我所说,您有相同的业务逻辑,但有两个或多个 UI。这意味着您只需要一个项目!

Hope this answers your questions ;)希望这能回答你的问题;)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如果我想使用 node.js (mongodb)、邮递员和颤振连接后端,我必须使用哪个 Url? - Which Url do I have to use if I want to connect a back-end using node.js (mongodb), postman and flutter? 如何将 Flutter 与 Genymotion 连接起来? - How do I connect Flutter with Genymotion? 如何在 flutter 上连接 2 个屏幕? - How do I connect 2 Screens on flutter? 如何在flutter应用程序的laravel中连接api? - How to connect api in laravel of flutter apps? 使用 Flutter 我必须在扩展坞中更改 MacOS 应用程序名称。 我怎样才能做到这一点? - Using Flutter I have to change MacOS apps name in dock. How can I do that? 如何将 flutter 中的位置更改发送到后端 - How to send to the back end the changes of location in flutter 我如何创建一个带有开始按钮的 flutter pub quiz 应用程序,以便从 mc 的后端启动计时器 - how do i create a flutter pub quiz app with a start button for the timer to be started from the mc's back-end 如何在 Flutter 网格视图的末尾添加容器? - How do I add a container at the end of my grid view in Flutter? Flutter Web:如何使用 auto_route 插件禁用“点击 go 后退按钮”? - Flutter Web: How do i disable "click to go back Button" using auto_route plugin? 如何在Flutter窗口小部件中临时更改文本颜色(反过来)? - How do I temporarily change a text color (and back) in a Flutter widget?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM