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.
  • 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
                    • R Rama Krishna Vavilala

                      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 Offline
                      M Offline
                      Michel Godfroid
                      wrote on last edited by
                      #43

                      I see, so cross compilers are allowed the (the mono thing), but flash is really partially interpreted, and so breaks the license agreement. Thanks!

                      1 Reply Last reply
                      0
                      • S Simon P Stevens

                        ragnaroknrol wrote:

                        The point was to have developers not be subject to 3rd party adoption of new stuff.

                        I sorry, but this argument that SteveJ keeps putting across is complete garbage. Not every developer wants to take advantage of every cutting edge platform feature. Sometimes I'm more interested in cross platform development. If I'm making an application I might want it to run in several different places. The point is that the choice should be up to me as a developer, not Apple or Steve. If I want to use a framework that is cross platform, that caters to the "lowest common denominator" then that is my choice. What Apple have done is removed the choice and made the only option to write my application multiple times. Yes, some developers will choose to code against the raw APIs, because they want cutting edge features. It's the same in Windows. If you want access to the latest APIs for the latest platform you will probably have to go to C++ and COM API's. .Net tends to lag behind. The fact is that what Apple should have done was put out a statement encouraging developers to developer directly for the IPhone without a framework and list all their reasons why. If developers agreed they would have done what Apple asked, purely for the right reasons. Some wouldn't have, but some might have had very good reasons for using a framework. Instead, they haven't even tried to put their argument across in a open and frank manor, they've just thrown their toys out the pram and demanded that everyone do it their way or no way. Steve's argument that they want to protect the platform and developers is rubbish, they just want to encourage lock in to their platform. They want to discourage cross platform apps.

                        Simon

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

                        Simon P Stevens wrote:

                        The point is that the choice should be up to me as a developer, not Apple or Steve.

                        Oh! you do have a choice, do not develop for that platform.

                        1 Reply Last reply
                        0
                        • R Rama Krishna Vavilala

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

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

                          Rama Krishna Vavilala wrote:

                          some issues

                          Only one issue: it is fundamentally broken. Using hacks like margin-left is a horrible way to define columns. Things like fonts and colors, sure, but they really screwed with the layout. Compare it with XAML:

                          <Grid ShowGridLines="True">
                          <Grid.ColumnDefinitions>
                          <ColumnDefinition Width="146" />
                          <ColumnDefinition Width="146" />
                          </Grid.ColumnDefinitions>
                          <Grid.RowDefinitions>
                          <RowDefinition Height="135" />
                          <RowDefinition Height="135" />
                          </Grid.RowDefinitions>
                          < /Grid >

                          utf8-cpp

                          R 1 Reply Last reply
                          0
                          • S Simon P Stevens

                            I fully agree with what Steve says about how openness and standards are important, if not critical. I've said similar myself before and I'm fully in support of not-supporting flash. Unfortunately with Apple's decision only a few weeks ago to change their AppStore licensing agreement to require the use of Apple's propriety toolset (and forbidding anything 3rd party like MonoTouch) they are just as bad, if not worse than Adobe. What a hypocrite. Shut up Steve, fix your own company's business practises before you criticize others. Personally I will never buy an apple product until they change their practises and treat developers with respect.

                            Simon

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

                            Look below, apparently Monotouch is allowed. The things not allowed are things which cheat and aren't compiled into Objective C. Adobe tried to get flash on the iPhone by making a sloppy hack. They stopped that without stopping people from writing code and porting code to be native.

                            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?

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

                              I just hope that Flash dies completely (maybe at the hands of HTML5?), on the PC as well. Much like Java has - when almost everyone used to say that it would live forever.

                              J 1 Reply Last reply
                              0
                              • N Nemanja Trifunovic

                                Rama Krishna Vavilala wrote:

                                some issues

                                Only one issue: it is fundamentally broken. Using hacks like margin-left is a horrible way to define columns. Things like fonts and colors, sure, but they really screwed with the layout. Compare it with XAML:

                                <Grid ShowGridLines="True">
                                <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="146" />
                                <ColumnDefinition Width="146" />
                                </Grid.ColumnDefinitions>
                                <Grid.RowDefinitions>
                                <RowDefinition Height="135" />
                                <RowDefinition Height="135" />
                                </Grid.RowDefinitions>
                                < /Grid >

                                utf8-cpp

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

                                Let's analyze it: 1. With your XAML code the only way to modify the layout is to rewrite the markup. If you want something similar in HTML, you can use tables: <table> <col width="146" /> <col style="width:146px" /> <tr height="135"> ... </tr> <tr style="height:146px"> ... </tr> </table> The only reason to use CSS layouts, is flexibility (which you don't have with XAML layouts without major changes). For instance in my article: Building a Web Message Board using Visual Studio 2008, Part I - The Basic Message Board[^]. I can have 3 different layouts by just changing the CSS file: http://www.codeproject.com/KB/aspnet/VS2008MessageBoard1/SiteWithOutlookTheme.JPG[^] http://www.codeproject.com/KB/aspnet/VS2008Messageboard1/SiteWithFloatingTheme.JPG[^] http://www.codeproject.com/KB/aspnet/VS2008Messageboard1/MessageASPX.PNG[^].

                                N 1 Reply Last reply
                                0
                                • R Rama Krishna Vavilala

                                  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 Offline
                                  S Offline
                                  Shog9 0
                                  wrote on last edited by
                                  #49

                                  Rama Krishna Vavilala wrote:

                                  Yes and it works amazingly well.

                                  Apart from the whole, "can't access the contact list" part I'm sure. ;) Interestingly though, the GV web app also works quite well on my Pre. As do many fine mobile sites that have adapted to fit the iPhone. There's something to be said for letting a 3rd-party layer of software come between the platform and the developer...

                                  R 1 Reply Last reply
                                  0
                                  • S Shog9 0

                                    Rama Krishna Vavilala wrote:

                                    Yes and it works amazingly well.

                                    Apart from the whole, "can't access the contact list" part I'm sure. ;) Interestingly though, the GV web app also works quite well on my Pre. As do many fine mobile sites that have adapted to fit the iPhone. There's something to be said for letting a 3rd-party layer of software come between the platform and the developer...

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

                                    Shog9 wrote:

                                    "can't access the contact list

                                    Oh! my contact list is already on Google and I use the Google's Activesync implementation to use Mail and Calendar to my phone as if they come from Exchange. So I guess I never really suffered from that. But I do get your point, if I had not used Google contacts on the phone too, it would have been different.

                                    S 1 Reply Last reply
                                    0
                                    • R Rama Krishna Vavilala

                                      Shog9 wrote:

                                      "can't access the contact list

                                      Oh! my contact list is already on Google and I use the Google's Activesync implementation to use Mail and Calendar to my phone as if they come from Exchange. So I guess I never really suffered from that. But I do get your point, if I had not used Google contacts on the phone too, it would have been different.

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

                                      Rama Krishna Vavilala wrote:

                                      my contact list is already on Google

                                      Heh, mine too... :-D Speaks to the pervasiveness of Google services, eh?

                                      1 Reply Last reply
                                      0
                                      • R Rama Krishna Vavilala

                                        Let's analyze it: 1. With your XAML code the only way to modify the layout is to rewrite the markup. If you want something similar in HTML, you can use tables: <table> <col width="146" /> <col style="width:146px" /> <tr height="135"> ... </tr> <tr style="height:146px"> ... </tr> </table> The only reason to use CSS layouts, is flexibility (which you don't have with XAML layouts without major changes). For instance in my article: Building a Web Message Board using Visual Studio 2008, Part I - The Basic Message Board[^]. I can have 3 different layouts by just changing the CSS file: http://www.codeproject.com/KB/aspnet/VS2008MessageBoard1/SiteWithOutlookTheme.JPG[^] http://www.codeproject.com/KB/aspnet/VS2008Messageboard1/SiteWithFloatingTheme.JPG[^] http://www.codeproject.com/KB/aspnet/VS2008Messageboard1/MessageASPX.PNG[^].

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

                                        Rama Krishna Vavilala wrote:

                                        With your XAML code the only way to modify the layout is to rewrite the markup

                                        But "markup" here does not mean content, unlike with HTML+CSS. XAML can be used to define layout and no content, just like CSS, only with much easier and more logical syntax. What is preventing me from using the same XAML to display various content? I just set the content with the code-behind.

                                        utf8-cpp

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

                                          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 Offline
                                          L Offline
                                          Lost User
                                          wrote on last edited by
                                          #53

                                          Simon P Stevens wrote:

                                          I hope they have more sense than that.

                                          And if they don't have more sense than that will you abandon use of all Microsoft products? ;P

                                          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