archive-com.com » COM » P » PRICOPE.COM

Total: 132

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • Miti's Blog
    you interested then you can already book your place in the room using Adobe MAX scheduler And if you have not registered yet for MAX please take a look at the following two entries from Andrew Shorten and Serge Jespers There are great discounts available Categories Uncategorized Tags Skinning a list in Flex 4 Magnifier Effect August 16th 2009 mpricope 8 comments custom essay writer Here s a little video about how to use different Spark components to make a magnifier effect for a list To create this effect I did the following used the Spark Component model with Skins and States employed the new Spark item renderer that support Designer Developer workflow Parametrize Spark Skins with CSS You can download the final project from here and watch the video here Categories flex video Tags Integrating PayPal Express Checkout with AIR and Flex July 30th 2009 mpricope 1 comment This article continues the series about integrating Flex and AIR with payment gateway services Parts of this article are very similar with the other posts about this subject Integrating PayPal Express Checkout with Flex which I recommend reading before this article Using Amazon Flexible Payment System with Flex and Using Amazon Flexible Payment System with Flex AIR I will focus mainly on how to take the PayPal Flex workflow described here out of the browser and into an AIR application Although AIR applications run on the desktop and the local security constraints are different from those in the browser from a payment gateway point of view things don t change at all As a result we can conclude that because AIR is a client technology hardcoding sensitive information into an AIR app is highly insecure even though the code is compiled into bytecode This means that any credential related info like API USERNAME API PASSWORD and API SIGNATURE should NOT be stored in the AIR application Architectural Approach and UI solutions Summing this up our architectural solution has to comply with some concurrent demands an AIR front end that is stateful and is built following the single page app paradigm the need for security that requires that the AIR app should NOT deal with PayPal API credentials The payment workflow has a part that is hosted on the PayPal servers and that is a standard request response web application In order to address these I propose the following approach all PayPal API calls should be done on the server side so that API credentials will be protected the access to the PayPal web application should be done in a browser page IMPORTANT SECURITY NOTE Although technically it might be possible to use the HTML container of the AIR runtime this is an unsecure practice because the end user cannot visually verify that he is entering his credentials on the PayPal site In the browser he can check the URL and the security certificate So the buyer workflow becomes Step 1 Chooses to checkout using PayPal in the AIR application Security Note Starting from this point it is mandatory that all requests are done through https Step 2 Sees a browser window open and logs into PayPal to authenticate his her identity Step 3 Reviews the transaction on PayPal Step 4 Confirms the order and pays from your site Step 5 Reviews the order confirmation on your site Step 6 Returns to the AIR application Calling the PayPal part of the checkout process So the PayPal workflow should be open in a browser window Here is how to do that in the AIR app var url URLRequest new URLRequest URL ROOT payPalAIR startPaymentFlex php url data new URLVariables var obj URLVariables new URLVariables url data movieId 1 url data paymentReason Enter The Matrix url method GET navigateToURL url new currentState Wait Everything else is pretty similar with how you call the PayPal workflow from a Flex app Returning from PayPal and notifying the AIR application Here again we follow an approach similar with how you return from PayPal to a Flex application Step 4 and Step 5 The only thing that differs is how we get back to the AIR application Step 6 ExternalInterface is not suited for this job but we can use instead the LocalConnection to make the browser application communicate with the AIR one LocalConnection while being more secure than ExternalIterface can still be exploited using techniques like DNS rewriting so we can t pass sensitive information through it Furthermore since the AIR app is independent from the browser this means that our browser app has a different server session than the AIR App So a simple notification is not enough we need to also pass the session id This is not sensitive information but it will allow the AIR application to retrieve from the server any sensitive information that the browser application has set Let s take a look on what we need to do right after we call the PAY operation in our return page In the transaction detail page we will link to a little Flex application that will only communicate with the AIR application We can use this little application to also forward the error and cancel messages We will call it using an anchor parameter a class home id CallsLink href payPalAIRReturn html method doStatus Return to AIR a This little application will only contain some code that will get the cookie string from the browser remember we need this to make the AIR application connect to the same server session and send a message through LocalConnection to the AIR application private var outbound LocalConnection new LocalConnection protected function application1 applicationCompleteHandler event FlexEvent void var browserManager IBrowserManager BrowserManager getInstance browserManager init var urlObj Object URLUtil stringToObject browserManager fragment if urlObj method get the cookie string ExternalInterface call eval window cookieStr function return document cookie var cookieStr String ExternalInterface call cookieStr outbound connect paymentSample outbound send app payPalAIR paymentSample urlObj method cookieStr outbound close Please notice that when launching from Flex Builder the AIR Application

    Original URL path: http://miti.pricope.com/ (2016-02-08)
    Open archived version from archive


  • Miti's Blog » About
    Reply Quote hi miti just read your fine article on the adobe dev site not sure if you were aware that we released a paypal component about 2 years ago which is up on adobe exchange called Sandy which also handles paypal pro we also have one for google checkout and to date i believe we are the first company to create a flex air application certified by google checkout is there a chance you can add a reference to our components in case users would like to save time or need a more robust solution i don t want to leave a comment on your adobe dev article if there is a way you can check out our site first to confirm the above and then maybe add a comment yourself thanks so much barclay Spiros Kabasakalis November 19th 2009 at 14 41 3 Reply Quote Hi Mihai I read your excellent article on PayPal Express Checkout with Flex my question is what about the Website Payments Standard option where the buyer does nt need to have a PayPal acount Have you written an article on this or do you have a recommendation on how to approach it I will appreciate your feedback thanks in advance Benoit April 8th 2011 at 06 39 4 Reply Quote Hi Mihai I have read your Playing with Custom Layout in Flex 4 and Skinning a list in Flex 4 Magnifier Effect I wounder can these layouts can show the elements from bottom to top I mean all the element align to the bottom line For example the LargeCircleLayout expants all the elements from bottom to top No trackbacks yet Name required E Mail will not be published required Website Subscribe to comments feed What animals do you see basic level in a

    Original URL path: http://miti.pricope.com/about/ (2016-02-08)
    Open archived version from archive

  • Miti's Blog » Presentations
    No Flash on the iPhone yet Using Import Web Service wizard to connect Flex to NET Data Centric Development with Flash Builder 4 MAX DataGrid Confirm a Grid change event using an Alert popup AS and Flex Project trick Tag Cloud Categories air ajax alchemy coldfusion conferences debugging events flash builder Flash Player 10 flex open source payment gateways ria thinking tips tricks tutorials Uncategorized video Blogroll Ben Forta Cornel

    Original URL path: http://miti.pricope.com/presentations/ (2016-02-08)
    Open archived version from archive

  • Miti's Blog » Geeky business
    and speaking about social I experimented also with social gaming but it didn t took off Not because the idea was not good but the team I joined then was more oriented to dreaming that to execution Which made me think that the essential thing when you do a start up is execution More than a good idea Luckily I continued doing small consulting work cause I got bored in the afternoons mornings were occupied by gym workouts with my back as the main beneficiary And in one summer day a guy came to me wanting some custom Flex components It sounded like fun as 20 years ago I started programming trying to do graphic things on Z80 processors Working on these graphical components woke up the little geek in me The other geeky part for this was that these components were designed to be used for visualizing data from Building Automation Systems This gadget thing was another passion of my childhood I still remember how I was trying to build a microphone out of a graphite bar and two razor blades The next thing I know was that after two months of crazy hacking I jumped into a plane to Los Angeles to meet the guy and I think it was an instant chemistry I found that this chemistry thing is important when you work with somebody Another two months of hacking and here I am totally sold to the idea and I am about to open an office here in Romania I am very reluctant leaving this country although everybody tells me to do so and start moving the hacking to a new level The company is called J2 Innovative Concepts and we are building some sort of a Visual Basic for devices as I like to call

    Original URL path: http://miti.pricope.com/2010/12/12/geeky-business/ (2016-02-08)
    Open archived version from archive

  • Miti's Blog » mpricope
    interested then you can already book your place in the room using Adobe MAX scheduler And if you have not registered yet for MAX please take a look at the following two entries from Andrew Shorten and Serge Jespers There are great discounts available Categories Uncategorized Tags Skinning a list in Flex 4 Magnifier Effect August 16th 2009 mpricope 8 comments custom essay writer Here s a little video about how to use different Spark components to make a magnifier effect for a list To create this effect I did the following used the Spark Component model with Skins and States employed the new Spark item renderer that support Designer Developer workflow Parametrize Spark Skins with CSS You can download the final project from here and watch the video here Categories flex video Tags Integrating PayPal Express Checkout with AIR and Flex July 30th 2009 mpricope 1 comment This article continues the series about integrating Flex and AIR with payment gateway services Parts of this article are very similar with the other posts about this subject Integrating PayPal Express Checkout with Flex which I recommend reading before this article Using Amazon Flexible Payment System with Flex and Using Amazon Flexible Payment System with Flex AIR I will focus mainly on how to take the PayPal Flex workflow described here out of the browser and into an AIR application Although AIR applications run on the desktop and the local security constraints are different from those in the browser from a payment gateway point of view things don t change at all As a result we can conclude that because AIR is a client technology hardcoding sensitive information into an AIR app is highly insecure even though the code is compiled into bytecode This means that any credential related info like API USERNAME API PASSWORD and API SIGNATURE should NOT be stored in the AIR application Architectural Approach and UI solutions Summing this up our architectural solution has to comply with some concurrent demands an AIR front end that is stateful and is built following the single page app paradigm the need for security that requires that the AIR app should NOT deal with PayPal API credentials The payment workflow has a part that is hosted on the PayPal servers and that is a standard request response web application In order to address these I propose the following approach all PayPal API calls should be done on the server side so that API credentials will be protected the access to the PayPal web application should be done in a browser page IMPORTANT SECURITY NOTE Although technically it might be possible to use the HTML container of the AIR runtime this is an unsecure practice because the end user cannot visually verify that he is entering his credentials on the PayPal site In the browser he can check the URL and the security certificate So the buyer workflow becomes Step 1 Chooses to checkout using PayPal in the AIR application Security Note Starting from this point it is mandatory that all requests are done through https Step 2 Sees a browser window open and logs into PayPal to authenticate his her identity Step 3 Reviews the transaction on PayPal Step 4 Confirms the order and pays from your site Step 5 Reviews the order confirmation on your site Step 6 Returns to the AIR application Calling the PayPal part of the checkout process So the PayPal workflow should be open in a browser window Here is how to do that in the AIR app var url URLRequest new URLRequest URL ROOT payPalAIR startPaymentFlex php url data new URLVariables var obj URLVariables new URLVariables url data movieId 1 url data paymentReason Enter The Matrix url method GET navigateToURL url new currentState Wait Everything else is pretty similar with how you call the PayPal workflow from a Flex app Returning from PayPal and notifying the AIR application Here again we follow an approach similar with how you return from PayPal to a Flex application Step 4 and Step 5 The only thing that differs is how we get back to the AIR application Step 6 ExternalInterface is not suited for this job but we can use instead the LocalConnection to make the browser application communicate with the AIR one LocalConnection while being more secure than ExternalIterface can still be exploited using techniques like DNS rewriting so we can t pass sensitive information through it Furthermore since the AIR app is independent from the browser this means that our browser app has a different server session than the AIR App So a simple notification is not enough we need to also pass the session id This is not sensitive information but it will allow the AIR application to retrieve from the server any sensitive information that the browser application has set Let s take a look on what we need to do right after we call the PAY operation in our return page In the transaction detail page we will link to a little Flex application that will only communicate with the AIR application We can use this little application to also forward the error and cancel messages We will call it using an anchor parameter a class home id CallsLink href payPalAIRReturn html method doStatus Return to AIR a This little application will only contain some code that will get the cookie string from the browser remember we need this to make the AIR application connect to the same server session and send a message through LocalConnection to the AIR application private var outbound LocalConnection new LocalConnection protected function application1 applicationCompleteHandler event FlexEvent void var browserManager IBrowserManager BrowserManager getInstance browserManager init var urlObj Object URLUtil stringToObject browserManager fragment if urlObj method get the cookie string ExternalInterface call eval window cookieStr function return document cookie var cookieStr String ExternalInterface call cookieStr outbound connect paymentSample outbound send app payPalAIR paymentSample urlObj method cookieStr outbound close Please notice that when launching from Flex Builder the AIR Application has

    Original URL path: http://miti.pricope.com/author/mpricope/ (2016-02-08)
    Open archived version from archive

  • Miti's Blog » Uncategorized
    please take a look at the following two entries from Andrew Shorten and Serge Jespers There are great discounts available Categories Uncategorized Tags BEST Engineering Competition PixelBender Contest May 20th 2009 mpricope 2 comments Adobe Romania sponsored the IT contest of BEC Competition in Bucharest This is a cool competition organized by BEST Europe wide I had the pleasure to choose the IT contest and I thought that a little math neuron twisting might be just great for these talented future engineers And I wasn t wrong After just two hours since their first encounter with the PixelBender language and PixelBender Toolkit here is what they did with my poor face using only numerical algorithms that PixelBender runs in parallel You can take a look at the PixelBender kernels here Categories Uncategorized Tags New York Times on your desktop version 2 0 May 11th 2009 mpricope Comments off The New York Times has just released an app for reading the newspaper on the desktop You can get it at http timesreader nytimes com The first question that I asked myself was Why wasn t the browser enough for them Why do you need a desktop app for viewing some pictures and text Then something popped into my head I asked myself When do I read the newspaper Well I read the news in the metro when waiting in line for something when sitting on the well toilet and sometimes on weekend mornings while still in bed Except for the weekend mornings when I read it on my laptop at all other times I use a mobile device And the experience on the mobile device is less than stellar Now one thing that I immediately noticed about TimesReader was how easy it is to navigate and how nice it resizes The resize is way tooooo cool And that is when that something popped into my head This is perfect for devices that are NOT standard PCs I mean it is cool for PCs too but it might not justify the effort when the browser might be good enough except that you can also download a week s worth of content and read it offline But if you have something that you can hold in your hand and read it on the metro this kind of interaction is just PERFECT I think this piece of software could be the beginning of a revolution If you take this reader add reasonable cheap tablet PCs or capable phones and a runtime that can run consistently on all these hardware well it sounds like a revolutionary way to deliver a newspaper in a digital way I know Adobe AIR is not yet on my phone but I urge the engineers to hurry up Why Because this way a digital newspaper can really pass the hardest test of all Can you read it easily when sitting on the toilet spy software for iphone Categories Uncategorized Tags Environmental Friendly Bug Killing bugquash May 8th 2009 mpricope Comments off It is said that reading other peoples code is 10x times harder than writing yours That s why I think that solving bugs without messing everything up around them is more of an art and black magic than a science I find it easier to teach architecture and algorithms than debugging So if you think that you re a black belt programmer then come and measure your Kung Fu skills against Flex Framework bugs yeah you can do this because Flex is an Open Source framework Killing these bugs does not harm the environment and the entire Flex community will benefit So on the 17th of may we will attack them again in an organized manner You can participate from wherever your are Find more about the Bug Quash at bugquash com free sms spy android Categories Uncategorized Tags Moving the session from Flex to AIR PHP Version May 5th 2009 mpricope 3 comments phone tracker p Recently I was working to enable a common workflow for a Flex application in the browser and an AIR application So basically your Flex application is working in a Browser it does some stuff there and then you decide you want to move everything into an AIR app let s say because your user just decided in the middle of the workflow that he wants to switch to the AIR app that you provide So now the state of the application needs to move between Flex and AIR and it would be nice if you could move the server session from the browser application to AIR For this example I will use PHP as a server side technology but it will work very similar for other server technologies as well Basically I want to get the session ID cookie in the Flex Application send it over to the AIR application use the session ID in the AIR application to make requests that will access the same session as in the browser Getting the session ID in the Flex Application First I need to get the the session ID from the Flex App One simple way to do that is to just grab the whole cookies string This can be done through the ExternalInterface mechanism So I inject a little JavaScript function that gets the cookies string from the browser and then call it ExternalInterface call eval window cookieStr function return document cookie var cookieStr String ExternalInterface call cookieStr Communicating with the AIR App To communicate with the AIR app I use LocalConnection In the AIR app I register to an inbound connection var inbound LocalConnection new LocalConnection inbound allowDomain localhost inbound client new Object inbound client notifyMe function cookieStr String void add Code here to use the Cookie String inbound connect session and in the Flex App I register to an outbound connection and call the notifyMe function outbound connect session outbound send app phpSessionAIR session notifyMe cookieStr outbound send app phpSessionAIR F0B3F68E1857B8A07069FED1D0638CAF200F76EB 1 session notifyMe cookieStr outbound close Please notice that

    Original URL path: http://miti.pricope.com/category/uncategorized/ (2016-02-08)
    Open archived version from archive

  • Miti's Blog » Using Illustrator, Flash Catalyst and Flash Builder to create an avatar widget
    apply some artwork on top of an BMW Z1 I ve made a video with my little workflow that you can watch it here I couldn t believe how easy it was You can also see the running demo and download the source files here Categories flash builder tips tricks tutorials video Tags Comments 1 Trackbacks 0 Leave a comment Trackback andrei March 17th 2010 at 13 12 1 Reply Quote When are you goin to tell us the story about Top Gear s cover I know it was you No trackbacks yet Name required E Mail will not be published required Website Subscribe to comments feed What animals do you see basic level in a word for animal Animal Captcha Geeky business Moving on RSS feed Recent Posts Geeky business Using Illustrator Flash Catalyst and Flash Builder to create an avatar widget Moving on Enterprise RIA Transport Tycoon Hard Play No Flash on the iPhone yet Data Centric Development with Flash Builder 4 MAX Skinning a list in Flex 4 Magnifier Effect Integrating PayPal Express Checkout with AIR and Flex Using Amazon Flexible Payment System with Flex AIR The infamous Error 2044 Unhandled StatusEvent level error code on LocalConnection

    Original URL path: http://miti.pricope.com/2010/02/06/using-illustrator-flash-catalyst-and-flash-builder-to-create-an-avatar-widget/ (2016-02-08)
    Open archived version from archive

  • Miti’s Blog - Debug Flex and PHP using Flash Builder 4 and PDT
    Illustrator Flash Catalyst and Flash Builder to create an avatar widget Download Video Size 20MB MP4 Blog post http miti pricope com 2010 02 06 using illustrator flash catalyst and

    Original URL path: http://miti.pricope.com/samples/video/Avatar_Widget_Illustrator_Catalyst_Builder.html (2016-02-08)
    Open archived version from archive



  •