Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Offline web apps

Offline web apps

Scheduled Pinned Locked Moved The Lounge
csharpmobilejavascriptsalesandroid
61 Posts 30 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R realJSOP

    What I'm saying is that if they can use their phone, they can use the internet. If they can't use the internet, make a phone app that can be used offline, and that allows the salesman to manually sync up to the web site when his phone can get a signal. Problem with a phone/tablet app - you need to put it in the appropriate play store for users to download it. That makes it available to everyone on the planet. The whole thing is a mess, and it sucks to have to deal with this kind of stuff.

    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
    -----
    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
    -----
    When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

    Sander RosselS Offline
    Sander RosselS Offline
    Sander Rossel
    wrote on last edited by
    #29

    #realJSOP wrote:

    The whole thing is a mess, and it sucks to have to deal with this kind of stuff.

    I completely agree with you there :sigh:

    Best, Sander sanderrossel.com Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

    1 Reply Last reply
    0
    • Sander RosselS Sander Rossel

      So I'm taking over this client with the WinForms application. I know this client wants some new software in the near future. The thing is, he has some sales people who go and sell their product over at the customer, who are all farmers. They also go out in the field where internet isn't always available. I know they either have a phone or tablet where they want to enter the client's order. They currently write it down on paper or enter it as plain text on a tablet and then someone else enters it into the WinForms application. So I'm thinking, since internet is not always available, I'll have to go with a phone app. It should work on iOS and Android and, if possible, also on tablets, which can also be Windows. These apps are installed locally so they should always work, even without internet. Entered data can be cached when internet is not available and synced once an internet connection becomes available again (which can be hours later). Does anyone here know of a tool, library or framework that runs on phones and tablets on iOS, Android and Windows or am I doomed to write umpteen different apps? I know PhoneGap works on iOS and Android (and in the past on Windows Phone too). I've heard some good things about Xamarin too. But I have no experience in either. I know I'll need a Mac to build anything for iOS because Apple are a bunch of ... Well, if you can't say anything nice just don't say anything at all :) I've also read about actual offline web pages, but doing something like clearing your browser history or cookies will mess them up good. It sounds like it's all kind of crap in 2019. Any suggestions, ideas, experiences, tips?

      Best, Sander sanderrossel.com Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

      M Offline
      M Offline
      maze3
      wrote on last edited by
      #30

      0 - I have not used any of the following in real world, but hopefully helpful pointers to look at. 1 - what is your language preference/strongest If wanting to stick with c#/.net side of things, look toward Xamarin. Build one logic core, apply platform specifics for android/ios where needed. But will need apple machine to build the ios version. 2 - Web App with offline functionality

      Quote:

      clearing your browser history or cookies will mess them up good

      Is this a real concern or over thinking? I would expect offline data to be stored in the local storage api and not as cookies. Yes this can be cleared, but I would check what the default settings are for clearing. If want to give the "feel" of an app, then maybe look at wrapping it in electronjs

      Sander RosselS J 2 Replies Last reply
      0
      • Richard DeemingR Richard Deeming

        Sander Rossel wrote:

        I know I'll need a Mac to build anything for iOS

        Apparently, you can use Xamarin.iOS[^] from Visual Studio on Windows. Edit: Scratch that. You can develop on Windows, but you still need a Mac to build.

        Installing Xamarin.iOS on Windows - Xamarin | Microsoft Docs[^]:

        To build Xamarin.iOS apps with Visual Studio 2019 on Windows, you will need:

        • A Windows machine with Visual Studio 2019 installed. This can be a physical or a virtual machine.
        • A network-accessible Mac set up with Apple's build tools and Xamarin.iOS. Visual Studio 2019 accesses this machine over a network connection to use Apple's build tools, which are required for compiling native iOS applications.

        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

        M Offline
        M Offline
        Mario Luis
        wrote on last edited by
        #31

        There are cloud options where you can push your code to build ios for you. For example, we use Ionic and VS but push to a local Mac pc to build. Some folks even use VM's to do that which is fine, only issue we had was when you try to debug on a local device, VM didn't play well with USB. Was a while ago though.

        1 Reply Last reply
        0
        • Sander RosselS Sander Rossel

          That makes it a lot less interesting :(

          Best, Sander sanderrossel.com Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

          B Offline
          B Offline
          Brian Hanf 0
          wrote on last edited by
          #32

          There are services that will do the deployment, I forget the name of the one my company uses, that will compile the iOS version of the app for you and submit to Apple store etc. That way you don't have to have a Mac. BitRise or DevOps I think might be the names or name of what they use.

          B

          Sander RosselS B 2 Replies Last reply
          0
          • Sander RosselS Sander Rossel

            So I'm taking over this client with the WinForms application. I know this client wants some new software in the near future. The thing is, he has some sales people who go and sell their product over at the customer, who are all farmers. They also go out in the field where internet isn't always available. I know they either have a phone or tablet where they want to enter the client's order. They currently write it down on paper or enter it as plain text on a tablet and then someone else enters it into the WinForms application. So I'm thinking, since internet is not always available, I'll have to go with a phone app. It should work on iOS and Android and, if possible, also on tablets, which can also be Windows. These apps are installed locally so they should always work, even without internet. Entered data can be cached when internet is not available and synced once an internet connection becomes available again (which can be hours later). Does anyone here know of a tool, library or framework that runs on phones and tablets on iOS, Android and Windows or am I doomed to write umpteen different apps? I know PhoneGap works on iOS and Android (and in the past on Windows Phone too). I've heard some good things about Xamarin too. But I have no experience in either. I know I'll need a Mac to build anything for iOS because Apple are a bunch of ... Well, if you can't say anything nice just don't say anything at all :) I've also read about actual offline web pages, but doing something like clearing your browser history or cookies will mess them up good. It sounds like it's all kind of crap in 2019. Any suggestions, ideas, experiences, tips?

            Best, Sander sanderrossel.com Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

            S Offline
            S Offline
            SeasonedGuru
            wrote on last edited by
            #33

            Try Xojo. It allows you to write native code for all popular platforms. That is something that not even MS or Java can do.

            Sander RosselS M 2 Replies Last reply
            0
            • Sander RosselS Sander Rossel

              So I'm taking over this client with the WinForms application. I know this client wants some new software in the near future. The thing is, he has some sales people who go and sell their product over at the customer, who are all farmers. They also go out in the field where internet isn't always available. I know they either have a phone or tablet where they want to enter the client's order. They currently write it down on paper or enter it as plain text on a tablet and then someone else enters it into the WinForms application. So I'm thinking, since internet is not always available, I'll have to go with a phone app. It should work on iOS and Android and, if possible, also on tablets, which can also be Windows. These apps are installed locally so they should always work, even without internet. Entered data can be cached when internet is not available and synced once an internet connection becomes available again (which can be hours later). Does anyone here know of a tool, library or framework that runs on phones and tablets on iOS, Android and Windows or am I doomed to write umpteen different apps? I know PhoneGap works on iOS and Android (and in the past on Windows Phone too). I've heard some good things about Xamarin too. But I have no experience in either. I know I'll need a Mac to build anything for iOS because Apple are a bunch of ... Well, if you can't say anything nice just don't say anything at all :) I've also read about actual offline web pages, but doing something like clearing your browser history or cookies will mess them up good. It sounds like it's all kind of crap in 2019. Any suggestions, ideas, experiences, tips?

              Best, Sander sanderrossel.com Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

              S Offline
              S Offline
              Sharp Ninja
              wrote on last edited by
              #34

              Uno Platform is what you want. It supports all phone and desktop platforms from a single codebase.

              Sander RosselS 1 Reply Last reply
              0
              • S Sharp Ninja

                Uno Platform is what you want. It supports all phone and desktop platforms from a single codebase.

                Sander RosselS Offline
                Sander RosselS Offline
                Sander Rossel
                wrote on last edited by
                #35

                Interesting, bookmarked. Thanks :thumbsup:

                Best, Sander sanderrossel.com Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

                1 Reply Last reply
                0
                • M maze3

                  0 - I have not used any of the following in real world, but hopefully helpful pointers to look at. 1 - what is your language preference/strongest If wanting to stick with c#/.net side of things, look toward Xamarin. Build one logic core, apply platform specifics for android/ios where needed. But will need apple machine to build the ios version. 2 - Web App with offline functionality

                  Quote:

                  clearing your browser history or cookies will mess them up good

                  Is this a real concern or over thinking? I would expect offline data to be stored in the local storage api and not as cookies. Yes this can be cleared, but I would check what the default settings are for clearing. If want to give the "feel" of an app, then maybe look at wrapping it in electronjs

                  Sander RosselS Offline
                  Sander RosselS Offline
                  Sander Rossel
                  wrote on last edited by
                  #36

                  maze3 wrote:

                  Is this a real concern or over thinking?

                  I'm not sure. I know someone who clears everything by default. I know she's an exception, but it still worries me. Xamarin looks like it could be a valid option. Or maybe a web app with offline functionality, because it'll be cheaper for the client :D

                  Best, Sander sanderrossel.com Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

                  1 Reply Last reply
                  0
                  • S SeasonedGuru

                    Try Xojo. It allows you to write native code for all popular platforms. That is something that not even MS or Java can do.

                    Sander RosselS Offline
                    Sander RosselS Offline
                    Sander Rossel
                    wrote on last edited by
                    #37

                    Looks like low-code and the code you have to write is VB.NET. I'm a bit allergic to low-code since my last experience with it (no source control, the code you have to write becomes a lot more difficult to write because you need to know the framework, the drag'n'drop "code" takes ages to click together, the database had no query language...). I'll put it on my long-list though.

                    Best, Sander sanderrossel.com Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

                    1 Reply Last reply
                    0
                    • B Brian Hanf 0

                      There are services that will do the deployment, I forget the name of the one my company uses, that will compile the iOS version of the app for you and submit to Apple store etc. That way you don't have to have a Mac. BitRise or DevOps I think might be the names or name of what they use.

                      B

                      Sander RosselS Offline
                      Sander RosselS Offline
                      Sander Rossel
                      wrote on last edited by
                      #38

                      Now it's interesting again! This thread is an emotional roller coaster :laugh:

                      Best, Sander sanderrossel.com Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

                      1 Reply Last reply
                      0
                      • Sander RosselS Sander Rossel

                        So I'm taking over this client with the WinForms application. I know this client wants some new software in the near future. The thing is, he has some sales people who go and sell their product over at the customer, who are all farmers. They also go out in the field where internet isn't always available. I know they either have a phone or tablet where they want to enter the client's order. They currently write it down on paper or enter it as plain text on a tablet and then someone else enters it into the WinForms application. So I'm thinking, since internet is not always available, I'll have to go with a phone app. It should work on iOS and Android and, if possible, also on tablets, which can also be Windows. These apps are installed locally so they should always work, even without internet. Entered data can be cached when internet is not available and synced once an internet connection becomes available again (which can be hours later). Does anyone here know of a tool, library or framework that runs on phones and tablets on iOS, Android and Windows or am I doomed to write umpteen different apps? I know PhoneGap works on iOS and Android (and in the past on Windows Phone too). I've heard some good things about Xamarin too. But I have no experience in either. I know I'll need a Mac to build anything for iOS because Apple are a bunch of ... Well, if you can't say anything nice just don't say anything at all :) I've also read about actual offline web pages, but doing something like clearing your browser history or cookies will mess them up good. It sounds like it's all kind of crap in 2019. Any suggestions, ideas, experiences, tips?

                        Best, Sander sanderrossel.com Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

                        L Offline
                        L Offline
                        Lucas Vogel
                        wrote on last edited by
                        #39

                        Google's Firebase real-time database is designed for exactly this particular scenario. You don't have to do this, but if you combined it with something like Flutter, you've got a platform for building xplat mobile apps, and (coming soon) web apps on top of it too.

                        https://endpointsystems.com

                        Sander RosselS 1 Reply Last reply
                        0
                        • L Lucas Vogel

                          Google's Firebase real-time database is designed for exactly this particular scenario. You don't have to do this, but if you combined it with something like Flutter, you've got a platform for building xplat mobile apps, and (coming soon) web apps on top of it too.

                          https://endpointsystems.com

                          Sander RosselS Offline
                          Sander RosselS Offline
                          Sander Rossel
                          wrote on last edited by
                          #40

                          Looks very cool! :thumbsup: It's on top of my long-list now :D

                          Best, Sander sanderrossel.com Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

                          1 Reply Last reply
                          0
                          • B Brian Hanf 0

                            There are services that will do the deployment, I forget the name of the one my company uses, that will compile the iOS version of the app for you and submit to Apple store etc. That way you don't have to have a Mac. BitRise or DevOps I think might be the names or name of what they use.

                            B

                            B Offline
                            B Offline
                            Bruce Patin
                            wrote on last edited by
                            #41

                            The last time I looked into it, you still need the Apple machine to do storyboarding, which I have found to be helpful.

                            M 1 Reply Last reply
                            0
                            • Sander RosselS Sander Rossel

                              So I'm taking over this client with the WinForms application. I know this client wants some new software in the near future. The thing is, he has some sales people who go and sell their product over at the customer, who are all farmers. They also go out in the field where internet isn't always available. I know they either have a phone or tablet where they want to enter the client's order. They currently write it down on paper or enter it as plain text on a tablet and then someone else enters it into the WinForms application. So I'm thinking, since internet is not always available, I'll have to go with a phone app. It should work on iOS and Android and, if possible, also on tablets, which can also be Windows. These apps are installed locally so they should always work, even without internet. Entered data can be cached when internet is not available and synced once an internet connection becomes available again (which can be hours later). Does anyone here know of a tool, library or framework that runs on phones and tablets on iOS, Android and Windows or am I doomed to write umpteen different apps? I know PhoneGap works on iOS and Android (and in the past on Windows Phone too). I've heard some good things about Xamarin too. But I have no experience in either. I know I'll need a Mac to build anything for iOS because Apple are a bunch of ... Well, if you can't say anything nice just don't say anything at all :) I've also read about actual offline web pages, but doing something like clearing your browser history or cookies will mess them up good. It sounds like it's all kind of crap in 2019. Any suggestions, ideas, experiences, tips?

                              Best, Sander sanderrossel.com Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

                              M Offline
                              M Offline
                              MSBassSinger
                              wrote on last edited by
                              #42

                              Yes. Xamarin Forms using Visual Studio 2019 on Windows, with a Mac Mini or other Mac on the network that you can connect to from VS2019 and if needed, VNC into. The single Xamarin Forms solution creates iOS, Android, and UWP (for Windows) projects. The UI code is written once (though you can include native UI code if and when necessary, which is rare or non-existent), and shared between the OS-specific projects. The time-to-delivery is better than other development platforms when one considers equally skilled developers in each platform. I use that setup and it works like a charm. The caveat, which is true in about any development environment, is to use the tool as it was designed to be used. Native mobile apps (stateful) are a wholly different architecture than web apps (stateless). In fact, they are more like WinForms apps than like web apps. You can build the WebAPI code in the same project, so if there is an Internet connection, the data uploads. If the connection is not there, you can save the data locally, and automatically upload when connected.

                              1 Reply Last reply
                              0
                              • Richard DeemingR Richard Deeming

                                You're right. You can develop on Windows, but you still need a Mac to build. :doh:


                                "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                                M Offline
                                M Offline
                                MSBassSinger
                                wrote on last edited by
                                #43

                                To clarify, the VS in Windows handles the building on the Mac remotely, so you don't have to build on the Mac yourself. VS even builds it on the Mac, and runs it in an emulator on the Windows machine. All your development, building, and deployment takes place through VS on Windows. It is only because of Apple's highly proprietary licensing that the Mac is required.

                                1 Reply Last reply
                                0
                                • B Bruce Patin

                                  The last time I looked into it, you still need the Apple machine to do storyboarding, which I have found to be helpful.

                                  M Offline
                                  M Offline
                                  MSBassSinger
                                  wrote on last edited by
                                  #44

                                  If MS would maker a XAML Designer on a par with the WinForms designer, the Storyboard would be superfluous. I don't use it. I muddle through with the UI tools provided for Xamarin XAML.

                                  1 Reply Last reply
                                  0
                                  • R realJSOP

                                    If they can use their phone, the internet is available. Make it a web app and walk away.

                                    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                    -----
                                    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                    -----
                                    When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                                    M Offline
                                    M Offline
                                    MSBassSinger
                                    wrote on last edited by
                                    #45

                                    #realJSOP wrote:

                                    If they can use their phone, the internet is available

                                    Have you worked with farmers in rural areas? Until 5G becomes pervasive, there are lots of fields and farmhouses out in the country where the Internet is not available (even on corporate farms), and no service or unstable service for the wireless network. Working offline is a real use case for the scenario presented.

                                    R 1 Reply Last reply
                                    0
                                    • S SeasonedGuru

                                      Try Xojo. It allows you to write native code for all popular platforms. That is something that not even MS or Java can do.

                                      M Offline
                                      M Offline
                                      MSBassSinger
                                      wrote on last edited by
                                      #46

                                      SeasonedGuru wrote:

                                      That is something that not even MS ... can do.

                                      What "popular platform" does Xamarin not support?

                                      1 Reply Last reply
                                      0
                                      • Sander RosselS Sander Rossel

                                        So I'm taking over this client with the WinForms application. I know this client wants some new software in the near future. The thing is, he has some sales people who go and sell their product over at the customer, who are all farmers. They also go out in the field where internet isn't always available. I know they either have a phone or tablet where they want to enter the client's order. They currently write it down on paper or enter it as plain text on a tablet and then someone else enters it into the WinForms application. So I'm thinking, since internet is not always available, I'll have to go with a phone app. It should work on iOS and Android and, if possible, also on tablets, which can also be Windows. These apps are installed locally so they should always work, even without internet. Entered data can be cached when internet is not available and synced once an internet connection becomes available again (which can be hours later). Does anyone here know of a tool, library or framework that runs on phones and tablets on iOS, Android and Windows or am I doomed to write umpteen different apps? I know PhoneGap works on iOS and Android (and in the past on Windows Phone too). I've heard some good things about Xamarin too. But I have no experience in either. I know I'll need a Mac to build anything for iOS because Apple are a bunch of ... Well, if you can't say anything nice just don't say anything at all :) I've also read about actual offline web pages, but doing something like clearing your browser history or cookies will mess them up good. It sounds like it's all kind of crap in 2019. Any suggestions, ideas, experiences, tips?

                                        Best, Sander sanderrossel.com Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

                                        M Offline
                                        M Offline
                                        mmelvis
                                        wrote on last edited by
                                        #47

                                        Couchdb builtin offline ability and can sync when you get a connection.

                                        1 Reply Last reply
                                        0
                                        • M MSBassSinger

                                          #realJSOP wrote:

                                          If they can use their phone, the internet is available

                                          Have you worked with farmers in rural areas? Until 5G becomes pervasive, there are lots of fields and farmhouses out in the country where the Internet is not available (even on corporate farms), and no service or unstable service for the wireless network. Working offline is a real use case for the scenario presented.

                                          R Offline
                                          R Offline
                                          realJSOP
                                          wrote on last edited by
                                          #48

                                          Once again (and for the 3rd time), if the internet is not available, write a desktop app that will sync up when you're able to. It doesn't have to be a phone/tablet app, and probably even shouldn't be. A windows destop app is appropriate. When you're gonna go out (literally) in the field, synch up pricing onto the laptop before you begin travel (just in case uinternet isn't available), and use the laptop to do the sales stuff (using your phone/tablet as a WAP). It ain't rocket science, and I can't believe I have to f*ckin spell this out.

                                          ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                          -----
                                          You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                          -----
                                          When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                                          M 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups