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. Thoughts on Flash

Thoughts on Flash

Scheduled Pinned Locked Moved The Lounge
comadobequestiondiscussion
137 Posts 36 Posters 3 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 Rama Krishna Vavilala

    Nemanja Trifunovic wrote:

    XAML

    Is that meant to be sarcastic?

    Nemanja Trifunovic wrote:

    , but the solution (HTML+JS+CSS) is flaky at best. I wish there was something like Open XAML...

    That's lame. HTML5 + CSS + JS gives you much more than XAML can give you (except probably natively compiled code when backed by C#/VB.NET and a runtime), but JS in both Chrome and Safari gets compiled to native code. The only issue with HTML + CSS+ JS is cross browser compatibility, but if you are targeting for specific devices/browsers you do not have that issue.

    N Offline
    N Offline
    Nemanja Trifunovic
    wrote on last edited by
    #23

    Rama Krishna Vavilala wrote:

    That's lame

    Thanks :)

    Rama Krishna Vavilala wrote:

    HTML5 + CSS + JS gives you much more than XAML can give you

    Headaches? Especially CSS for layout.

    utf8-cpp

    R 1 Reply Last reply
    0
    • L Lost User

      Thoughts on Flash[^] by Steve Jobs Love him or hate him but IMHO he's got this one right. Thoughts?

      S Offline
      S Offline
      Shog9 0
      wrote on last edited by
      #24

      Words like that would have sounded a lot less hollow if Apple was still pushing HTML+JS+CSS as the primary dev platform for iPhone apps. But they aren't. So all this talk of Apple's openness vs. Adobe's "100% proprietary" dev stack is bullshit: the non-proprietary bits of Apple's dev stack only matter if you intend to eschew all the "platform enhancements", which flies in the face of "the most important reason" for excluding Flash.

      R 1 Reply Last reply
      0
      • R Rama Krishna Vavilala

        Michel Godfroid wrote:

        MonoTouch is banned from running on the IPhone

        That's not true. I think MonoTouch is compliant with the section 3.3.1 of iPhone developer agreement. Did you check what MonoTouch site says on that? Not that I need to use MonoTouch because I am perfectly OK with using Objective-C/C/C++.

        M Offline
        M Offline
        Michel Godfroid
        wrote on last edited by
        #25

        That's changed then. (I just looked). When all hell broke loose over the flash development tools, Mono posted an announcement, that it was all unsure, and they were working diligently with apple to resolve the situation. (the usual marketing crap). Now from my reading of the developer license (which I can't get officially before buying the bloody thing), the new license version precluded the use of any cross-compilers. (which to my mind, was the official reason why they banned the flash kit). So it's even worse: Flash is banned from the IPhone, not because they breach any (restrictive) license agreements. But because Steve Jobs does not like their face. So much for honest business practices. Adobe should sue the pants off them for crimes against IT.

        R 1 Reply Last reply
        0
        • R Rama Krishna Vavilala

          Personally, I prefer HTML5 because as I am familiar with HTML/JS/CSS. I have never developed anything with Flash. If the argument was about SilverLight (which already supports multi-touch), then my thoughts would have been a little different :). In the ideal world, I will prefer all browsers: desktop and mobile to have support for HTML5/CSS3. The bottom line is that things like Flash and SilverLight only exist because all browsers do not support certain advanced features. If HTML5 is supported by all browsers, then there will be no need for Flash or SilverLight. Actually, even now lot of things that these plugins do, can be accomplished by pure JavaScript though it is painful. The bigger question here is how far do you want to support backward compatible technologies. I am pretty sure that most people will argue about his use of word "Open". I also found it pretty funny that he starts with "open" even though he clearly says that for web he thinks technologies should be "open". He should not have ventured into that. He is correct on the battery life and performance. Having developed multi-platform software, I have to agree with him that least common denominator technologies suck. More closer to the native API/Framework for the application you are, the better applications you can write for that platform. It just requires a different approach and planning.

          R Offline
          R Offline
          ragnaroknrol
          wrote on last edited by
          #26

          How many times has Apple been the loser in a "least common denominator technologies " situation? Creative Studio spending 10 years being slower than on a PC because they refused to go to Cocoa... Office being 2-3 years behind the Windows version... Explorer being dead because they couldn't bother with it. (this is a good one I think) I wouldn't want to open myself up to that again.

          1 Reply Last reply
          0
          • N Nemanja Trifunovic

            Rama Krishna Vavilala wrote:

            That's lame

            Thanks :)

            Rama Krishna Vavilala wrote:

            HTML5 + CSS + JS gives you much more than XAML can give you

            Headaches? Especially CSS for layout.

            utf8-cpp

            R Offline
            R Offline
            Rama Krishna Vavilala
            wrote on last edited by
            #27

            I am biased here because I love CSS (because I spent lot of time learning/understanding it in detail).

            Nemanja Trifunovic wrote:

            Especially CSS for layout.

            To some extent yes, the headaches have more to do with IE's poor support for CSS. Open XAML (if at all there will be one) is not going to solve the problem. CSS is extremely flexible, and if implemented right by all browsers (well one specific browser) it can lead to amazing things which is not always possible via XAML.

            N J 2 Replies Last reply
            0
            • S Shog9 0

              Words like that would have sounded a lot less hollow if Apple was still pushing HTML+JS+CSS as the primary dev platform for iPhone apps. But they aren't. So all this talk of Apple's openness vs. Adobe's "100% proprietary" dev stack is bullshit: the non-proprietary bits of Apple's dev stack only matter if you intend to eschew all the "platform enhancements", which flies in the face of "the most important reason" for excluding Flash.

              R Offline
              R Offline
              Rama Krishna Vavilala
              wrote on last edited by
              #28

              Shog9 wrote:

              HTML+JS+CSS

              They were pushing it in the version 1.0 of iPhone till everyone complained and they caved in and exposed the native SDK. BTW: HTML5 and CSS3 animations and rendering are all hardware accelerated on the iPhone.

              M S 2 Replies Last reply
              0
              • S Simon P Stevens

                Yes, like Microsoft. Large parts of the .net framework are provided open source. the CLR and C# are covered by ECMA standards. There is even an open source sample implementation of large parts of the CLR called Rotor. There is a competing Mono framework based on the same set of standards. There are open source compilers and IDEs that include C# and target the .Net runtime. Microsoft doesn't block any of these activities, in fact some of them are actively run by Microsoft. But even if you don't like the restrictions of .net, you are free to use C++, python, C, Java, in fact, you can use whatever tools or languages you want. Microsoft do not make any restrictions on the tools you are allowed to use to build for their platforms. If you can build it, they will let you. Microsoft do not make any restrictions on the types of applications you are allowed to write. If you want to write a competing media player, a competing office product, or a competing language/framework/IDE you are free to do so. You can also use whatever distribution channel you want for your apps On the other hand, lets look at Apple. To build for the IPhone you have to use a Mac, and thanks to the 3.3.1 changes you now have to use their toolset. You also have to get approval from Apple that your app doesn't compete with any of theirs, and meets their (sometimes secretive) requirements for inclusion in the AppStore.

                Simon

                M Offline
                M Offline
                Michel Godfroid
                wrote on last edited by
                #29

                Well said, and I agree completely. However, it looks like for the Windows Phone 7, we may see the same business model as for IPhone...

                S 1 Reply Last reply
                0
                • S Simon P Stevens

                  Yes, like Microsoft. Large parts of the .net framework are provided open source. the CLR and C# are covered by ECMA standards. There is even an open source sample implementation of large parts of the CLR called Rotor. There is a competing Mono framework based on the same set of standards. There are open source compilers and IDEs that include C# and target the .Net runtime. Microsoft doesn't block any of these activities, in fact some of them are actively run by Microsoft. But even if you don't like the restrictions of .net, you are free to use C++, python, C, Java, in fact, you can use whatever tools or languages you want. Microsoft do not make any restrictions on the tools you are allowed to use to build for their platforms. If you can build it, they will let you. Microsoft do not make any restrictions on the types of applications you are allowed to write. If you want to write a competing media player, a competing office product, or a competing language/framework/IDE you are free to do so. You can also use whatever distribution channel you want for your apps On the other hand, lets look at Apple. To build for the IPhone you have to use a Mac, and thanks to the 3.3.1 changes you now have to use their toolset. You also have to get approval from Apple that your app doesn't compete with any of theirs, and meets their (sometimes secretive) requirements for inclusion in the AppStore.

                  Simon

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #30

                  Having developed under the chaos of the Microsoft model for the last 20 years and seen the long list of development models and technologies first evangelized then all too quickly abandoned by Microsoft I've grown pessimistic. The simplicity and order of Mac OS X and iPhone OS development appeals to me these days. Just wish I had the time to actually do it. :doh:

                  M R 2 Replies Last reply
                  0
                  • R Rama Krishna Vavilala

                    I am biased here because I love CSS (because I spent lot of time learning/understanding it in detail).

                    Nemanja Trifunovic wrote:

                    Especially CSS for layout.

                    To some extent yes, the headaches have more to do with IE's poor support for CSS. Open XAML (if at all there will be one) is not going to solve the problem. CSS is extremely flexible, and if implemented right by all browsers (well one specific browser) it can lead to amazing things which is not always possible via XAML.

                    N Offline
                    N Offline
                    Nemanja Trifunovic
                    wrote on last edited by
                    #31

                    Rama Krishna Vavilala wrote:

                    the headaches have more to do with IE's poor support for CSS.

                    Even if IE had proper support for CSS, its layout model is simply broken. This[^] for three simple columns? margin-left? No, thanks.

                    utf8-cpp

                    R 1 Reply Last reply
                    0
                    • M Michel Godfroid

                      That's changed then. (I just looked). When all hell broke loose over the flash development tools, Mono posted an announcement, that it was all unsure, and they were working diligently with apple to resolve the situation. (the usual marketing crap). Now from my reading of the developer license (which I can't get officially before buying the bloody thing), the new license version precluded the use of any cross-compilers. (which to my mind, was the official reason why they banned the flash kit). So it's even worse: Flash is banned from the IPhone, not because they breach any (restrictive) license agreements. But because Steve Jobs does not like their face. So much for honest business practices. Adobe should sue the pants off them for crimes against IT.

                      R Offline
                      R Offline
                      Rama Krishna Vavilala
                      wrote on last edited by
                      #32

                      I said MonoTouch does not break the licensing agreement, I did not say that Flash does not break the licensing agreement. Monotouch and Flash CS5 for iPhone work differently. In case of Monotouch code gets converted to Objective-C and gets compiled in the same way as regular Objective-C code gets compiled. Looking at the executable you cannot say whether the code was written using MonoTouch or not. However, in the now abandoned Flash CS5 for iPhone, people developed Flash applications which ran on a separate run time. Flash runtime did all the rendering: you cannot use any native controls or APIs.

                      M 1 Reply Last reply
                      0
                      • L Lost User

                        Having developed under the chaos of the Microsoft model for the last 20 years and seen the long list of development models and technologies first evangelized then all too quickly abandoned by Microsoft I've grown pessimistic. The simplicity and order of Mac OS X and iPhone OS development appeals to me these days. Just wish I had the time to actually do it. :doh:

                        M Offline
                        M Offline
                        Michel Godfroid
                        wrote on last edited by
                        #33

                        True, but how long has MacOs been around in it's current incarnation? If you've built kit for the original Mac (the 68K based one), you've already binned it once. If you've developed for the Power based one, you can bin your stuff soon enough. I have Dos and Windows 2.0 programs that can still run (admittedly, I don't want to use them anymore :-) )

                        J 1 Reply Last reply
                        0
                        • N Nemanja Trifunovic

                          Rama Krishna Vavilala wrote:

                          the headaches have more to do with IE's poor support for CSS.

                          Even if IE had proper support for CSS, its layout model is simply broken. This[^] for three simple columns? margin-left? No, thanks.

                          utf8-cpp

                          R Offline
                          R Offline
                          Rama Krishna Vavilala
                          wrote on last edited by
                          #34

                          What CSS gives me is the ability to change the layout just by changing a CSS file. Sites such as http://csszengarden.com/[^] are possible with that. If that is not your intention HTML still provides tabular layout. In XAML you do not have that option without rewriting a major portion of your markup.

                          N 1 Reply Last reply
                          0
                          • R Rama Krishna Vavilala

                            What CSS gives me is the ability to change the layout just by changing a CSS file. Sites such as http://csszengarden.com/[^] are possible with that. If that is not your intention HTML still provides tabular layout. In XAML you do not have that option without rewriting a major portion of your markup.

                            N Offline
                            N Offline
                            Nemanja Trifunovic
                            wrote on last edited by
                            #35

                            Rama Krishna Vavilala wrote:

                            What CSS gives me is the ability to change the layout just by changing a CSS file

                            The idea is good - they just screwed the implementation badly.

                            utf8-cpp

                            R 1 Reply Last reply
                            0
                            • M Michel Godfroid

                              Well said, and I agree completely. However, it looks like for the Windows Phone 7, we may see the same business model as for IPhone...

                              S Offline
                              S Offline
                              Simon P Stevens
                              wrote on last edited by
                              #36

                              Michel Godfroid wrote:

                              it looks like for the Windows Phone 7, we may see the same business model

                              Really !? :doh: I hope they have more sense than that. I haven't read much about the Win phones yet. I understand the recommended route is to develop silverlight apps for it?

                              Simon

                              L M 3 Replies Last reply
                              0
                              • R Rama Krishna Vavilala

                                I said MonoTouch does not break the licensing agreement, I did not say that Flash does not break the licensing agreement. Monotouch and Flash CS5 for iPhone work differently. In case of Monotouch code gets converted to Objective-C and gets compiled in the same way as regular Objective-C code gets compiled. Looking at the executable you cannot say whether the code was written using MonoTouch or not. However, in the now abandoned Flash CS5 for iPhone, people developed Flash applications which ran on a separate run time. Flash runtime did all the rendering: you cannot use any native controls or APIs.

                                M Offline
                                M Offline
                                Michel Godfroid
                                wrote on last edited by
                                #37

                                That's intriguing. So you're saying MonoTouch is not a cross-compiler? It generates object-code? (excuse my ignorance, I haven't looked into this). But I thought the Ipod/Iphone/Ipad chip was proprietary (we'll I have heard it said that was really a beefed-up ARM design). I thought the specs of this chip were never released, so how does Mono generate code for it (If it's not a CLI interpreter, but I thought interpreters were also banned cfr:java?)

                                R 1 Reply Last reply
                                0
                                • R Rama Krishna Vavilala

                                  Shog9 wrote:

                                  HTML+JS+CSS

                                  They were pushing it in the version 1.0 of iPhone till everyone complained and they caved in and exposed the native SDK. BTW: HTML5 and CSS3 animations and rendering are all hardware accelerated on the iPhone.

                                  M Offline
                                  M Offline
                                  Michel Godfroid
                                  wrote on last edited by
                                  #38

                                  Yes, and nobody coded for it... Now to be honest, it seems like Chrome OS is taking the same restrictive route :-)

                                  1 Reply Last reply
                                  0
                                  • R Rama Krishna Vavilala

                                    Shog9 wrote:

                                    HTML+JS+CSS

                                    They were pushing it in the version 1.0 of iPhone till everyone complained and they caved in and exposed the native SDK. BTW: HTML5 and CSS3 animations and rendering are all hardware accelerated on the iPhone.

                                    S Offline
                                    S Offline
                                    Shog9 0
                                    wrote on last edited by
                                    #39

                                    Rama Krishna Vavilala wrote:

                                    They were pushing it in the version 1.0 of iPhone till everyone complained and they caved in and exposed the native SDK.

                                    Yup. And now it's the ghetto where Google Voice lives, eh? :rolleyes: I hate Flash. I will not be sad to see it die. But it's a shame that the death-blow will come from an even more closed platform.

                                    R 1 Reply Last reply
                                    0
                                    • N Nemanja Trifunovic

                                      Rama Krishna Vavilala wrote:

                                      What CSS gives me is the ability to change the layout just by changing a CSS file

                                      The idea is good - they just screwed the implementation badly.

                                      utf8-cpp

                                      R Offline
                                      R Offline
                                      Rama Krishna Vavilala
                                      wrote on last edited by
                                      #40

                                      There might be some issues here and there but compared to XAML in its current form, I will prefer CSS any day.

                                      N 1 Reply Last reply
                                      0
                                      • M Michel Godfroid

                                        That's intriguing. So you're saying MonoTouch is not a cross-compiler? It generates object-code? (excuse my ignorance, I haven't looked into this). But I thought the Ipod/Iphone/Ipad chip was proprietary (we'll I have heard it said that was really a beefed-up ARM design). I thought the specs of this chip were never released, so how does Mono generate code for it (If it's not a CLI interpreter, but I thought interpreters were also banned cfr:java?)

                                        R Offline
                                        R Offline
                                        Rama Krishna Vavilala
                                        wrote on last edited by
                                        #41

                                        MonoTouch C# code get converted to Objective-C code which links with mono touch library to generated the executable. Flash CS5 for iPhone Flash Code and Flash runtime gets combined into a application package. At runtime, the flash runtime runs the flash code.

                                        M B 2 Replies Last reply
                                        0
                                        • S Shog9 0

                                          Rama Krishna Vavilala wrote:

                                          They were pushing it in the version 1.0 of iPhone till everyone complained and they caved in and exposed the native SDK.

                                          Yup. And now it's the ghetto where Google Voice lives, eh? :rolleyes: I hate Flash. I will not be sad to see it die. But it's a shame that the death-blow will come from an even more closed platform.

                                          R Offline
                                          R Offline
                                          Rama Krishna Vavilala
                                          wrote on last edited by
                                          #42

                                          Shog9 wrote:

                                          Yup. And now it's the ghetto where Google Voice lives, eh?

                                          Yes and it works amazingly well. In my opinion lot of apps on the App store can just be written as web applications.

                                          S 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