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 » 2010 » January
    traveling One Sunday morning I woke up sat on the edge of my bed and asked myself Now WHAT I realized that I really love coding but I also like giving presentations teaching and what you can generally call knowledge transfer activities and I like also the business side of the technology too Thus the engineering side only filled up half of it maybe a little more cause I really love coding So I decided to stop take a break as I realized that I ve spent none of my last year s legal holidays and look for a new challenge That s because I just couldn t come up with a good answer to the now what question and I realized that I might need to do some experiments to find out Categories thinking Tags RSS feed Random Posts Using Amazon Flexible Payment System with Flex AIR Adobe MAX Europe Discount Debug Flex and NET using ASP NET Development Server On how I got a relationship with ColdFusion 9 Using Import Web Service wizard to connect Flex to NET Tag Cloud Categories air ajax alchemy coldfusion conferences debugging events flash builder Flash Player 10 flex open source payment gateways

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


  • Miti's Blog » 2009 » October
    to tell you but from what it seems Adobe is going for every smart phone out there I mean there has been only fingerpointing so far Apple saying Flash is not good enough Adobe saying it is and now is delivering it for every other smart phone Now I am wondering what Apple s strategy is about that I mean currently let s face it iPhone is by far the only significant smart phone out there with a design that was really innovative not only from the hardware point of view The whole iPhone business ecosystem was way far ahead anything any competitor had put up forward But once Apple got it right now the spell is broken Now the entire industry not only knows what customers want they are pressured to deliver it fast if they want to still be in this business 5 10 years from now I think the whole game will change now into a long slog a down in the trenches fight between Apple and the other big phone hardware manufacturers and telecom operators Why do I think it will be a long slog Well Apple did a big blow in the phone market with iPhone but I don t think they will get 30 of the smart phones market very soon And even if they get it I doubt that Apple will get 80 of the mobile phone market And I don t think they want it Apple s strategy is to get the most profitable 10 20 segment of the market after that the profitability drops and it doesn t look that nice Now back to the trenches By leaving Flash out of the iPhone Apple is keeping iPhone out of Flash and it s betting on its own API to deliver applications

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

  • Miti's Blog » 2009 » August
    for all these back ends I can t wait to see how this will work live Plus you will add some advanced pieces of functionality like paging through large record sets and client side data management If I got 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 RSS feed Random Posts Playing with Pixel Bender TITLE Integrating PayPal Express Checkout with AIR and Flex EU University Tour Flex and Ajax Tag Cloud Categories

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

  • Miti's Blog » 2009 » July
    made private var inbound LocalConnection new LocalConnection private function initApp void only allow connections from localhost you need to replace localhost with the final domain where your application will be hosted inbound allowDomain localhost inbound client new Object this is the function that will be called by the Browser App inbound client notifyPayment paymentNotification inbound connect paymentSample Where paymentNotification is a function that receives the cookie string as parameters and queries the server to check the transaction status public function paymentNotification cookieStr String void var srv HTTPService new HTTPService srv headers Cookie cookieStr srv url http localhost amazonAIR paymentStatus php srv addEventListener ResultEvent RESULT function event ResultEvent void nativeApplication activate if event result status OK currentState Succes else currentState Fail srv send Installing the sample files In Flash Builder click File Import and choose Flash Builder Project Choose AmazonAIR fxp Unzip amazonAIR zip into your Web Root folder For example work www Edit amazonAIR amazon fps src Amazon FPS Samples config inc php and replace define AWS ACCESS KEY ID YOUR ACCESS KEY define AWS SECRET ACCESS KEY YOUR SECRET ACCESS KEY with your own Amazon ACCESS key and SECRET ACCESS KEY In Flash Builder click File Import and choose Flash Builder Project Choose amazonAIRReturn fxp Fill the Output Folder Location this one should point to where you have unzipped amazonAIR zip in your web root Web Root and Root URL with your values It should look something like this resume writing services Categories air flex payment gateways tutorials Tags The infamous Error 2044 Unhandled StatusEvent level error code on LocalConnection July 24th 2009 mpricope 1 comment This is a blog post to all that was almost to throw their computers out of the window because they got Error 2044 Unhandled StatusEvent level error code trying to communicate through LocalConnection So I am trying to send a message from a Flex application running in Flash Player to an AIR application In the AIR application called testAIR I have something like private function initApp void var inbound LocalConnection new LocalConnection only allow connections from localhost inbound allowDomain localhost inbound client new Object this is the function that will be called by the Browser App inbound client notifyPayment function test void Alert show HERE inbound connect paymentSample pretty straightforward right from the book In the Flex app I just do outbound connect paymentSample outbound send app testAIR paymentSample notifyPayment outbound close You might think that this should work Well NOT This is because in the AIR app the inbound LocalConnection is a variable that is declared in the local scope of a method Now I was expecting that when I call the connect method the inbound object will be referenced by another object some LocalConnection manager or event handler and it will not get garbage collected after the method ends Well apparently is not the case Either there is a bug in AIR either this reference is a weak reference so it gets garbage collected This means that by the time you try to send the message from Flash Player your inbound object is long gone The resolution is quite simple You just need to reference the inbound object somewhere else making him a member of class or something In my case I just declare it as a private variable inside my MXML component what is a narrative essay private var inbound LocalConnection new LocalConnection private function initApp void only allow connections from localhost inbound allowDomain localhost Hope this will help someone Categories Flash Player 10 flex tips tricks Tags Integrating PayPal Express Checkout with Flex July 19th 2009 mpricope 11 comments In this post I will discuss how you can integrate Flex with a PayPal payment service so parts of this article are similar with my previous post about Amazon FP PayPal is one of the most popular if not the most popular payment service so here I go with a discussion on how you can integrate PayPal Express Checkout with a Flex application running in Flash Player The challenge of integrating payment services into RIAs is due to the fact that currently payment services like PayPal are designed to work in request response paradigm which is the standard paradigm for web based applications and while RIAs are of course stateful But let s take a simple RIA scenario John visits onDemand tv a new on demand video site He selects to watch The Matrix Just when Neo is asked to choose between the red and blue pill the movie pauses and John is asked for 1 the fee for watching premium content on onDemant tv John being already trapped in the action selects to pay the amount using PayPal After the transaction succeeds John happily enters The Matrix Security Considerations One reason for the success of e commerce is that the Internet has proven to be a secure medium for transferring money and making payments PayPal uses several security elements to make sure that all the payments processed through the service are as secure as possible Usage of https for communicating with PayPal Adaptive Payments Web Services ensures that the communication is protected from third party access A set of API USERNAME API PASSWORD and API SIGNATURE values ensures that the calling party is uniquely identified A part of the payment approval process is hosted on the PayPal servers This is a very important anti phishing mechanism and ensures that the users enter their credentials and approve pre approve all the amounts only on the PayPal domain Looking at these security elements of the PayPal APIs we can make a very important observation regarding protecting the PayPal API credentials because Flex is a client technology and even though the code is compiled into bytecode hardcoding sensitive information into a Flex App is highly insecure This means that any credential related info like API USERNAME API PASSWORD and API SIGNATURE should NOT be stored in Flex Architectural Approach and UI solutions Summing this up our architectural solution has to comply with three concurrent demands a Flex RIA front end that is stateful and is built following the single page app paradigm the need for security that requires that the Flex 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 pop up new page so that the Flex Application will stay in the Single Page Paradigm and thus preserve its state The user workflow for the checkout process is shown in the following diagram In this workflow the buyer Step 1 Chooses to checkout using PayPal in the RIA application Security Note Starting from this point it is mandatory that all requests are done through https Step 2 Sees a new window pop up open and he 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 Closes the pop up and returns to Flex Application Calling the PayPal part of the checkout process As I said above the PayPal API credentials need to stay on the server so PayPal API invocation should be done from the server as well For these examples we will use PHP as a server language and also the PayPal Name Value Pair NVP API sample code which you can download from here Of course you can use any server language the principles and techniques highlighted here remain the same First I will open a pop up window from Flex Open the Pop Up Window first Using the ExternalInterface call we can control the window appereance ExternalInterface call window open about blank payPalWindow height 500 width 900 toolbar no scrollbars yes Send a request to a server page in the newly opened window containing user choice var url URLRequest new URLRequest URL ROOT payPalFlex 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 payPalWindow Now on the server page we follow the PayPal NVP samples and we will generate the URL that will redirect the user to PayPal site serverName SERVER SERVER NAME serverPort SERVER SERVER PORT url dirname http serverName serverPort SERVER REQUEST URI function getMovieAmount movieId you can replace this function with a more sophisticated one return 1 paymentAmount getMovieAmount GET movieId REQUEST paymentAmount currencyCodeType USD REQUEST currencyCodeType div style display none a href http custom essaysonline com title custom essay papers custom essay papers a div paymentType Sale REQUEST paymentType The returnURL is the location where buyers return when a payment has been succesfully authorized The cancelURL is the location buyers are sent to when they hit the cancel button during authorization of payment during the PayPal flow returnURL urlencode url GetExpressCheckoutDetails php currencyCodeType currencyCodeType paymentType paymentType paymentAmount paymentAmount cancelURL urlencode url cancel php paymentType paymentType Construct the parameter string that describes the PayPal payment the variables were set in the web form and the resulting string is stored in nvpstr nvpstr Amt paymentAmount PAYMENTACTION paymentType ReturnUrl returnURL CANCELURL cancelURL CURRENCYCODE currencyCodeType Make the call to PayPal to set the Express Checkout token If the API call succeded then redirect the buyer to PayPal to begin to authorize payment If an error occured show the resulting errors resArray hash call SetExpressCheckout nvpstr SESSION reshash resArray ack strtoupper resArray ACK if ack SUCCESS Redirect to paypal com here token urldecode resArray TOKEN payPalURL PAYPAL URL token header Location payPalURL else Redirecting to APIError php to display errors location APIError php header Location location As you noticed we store the result of the API call in session to use it later In a real e commerce site we strongly suggest to also log application state in a database This way you will have access later on to all transaction steps Returning from PayPal and notifying the Flex App After the user completes the workflow on the PayPal site he needs to complete the payment on our site the review transaction page Step 4 and the review order confirmation Step 5 Although we could make the user close the pop up window just now and continue the workflow in the Flex App this might not be a good idea because we would add an extra step between payment review on the PayPal site Step 3 and payment approval on our site Step 4 So I choose to implement the payment approval using standard PHP and HTML and reuse the PHP NVP API Samples from PayPal for calling GetExpressCheckoutDetails API Step 4 and DoExpressCheckoutPayment API Step 5 You can take a look at these files in the attached samples What remains to be done now is to close the pop up window return to the Flex App and verify if the transaction succeeded To communicate with the Flex App we will use the Externalnterface mechanism But since the ExternalInterface is not a secure communication channel we will use it only to simply notify the Flex App that the Pop up workflow has ended The status will be retrieved by the Flex App from the server This way a malicious user will not be able to inject a false status in the Flex App and potentially steal something First after we call the DoExpressCheckoutPayment API we save the results in session resArray hash call DoExpressCheckoutPayment nvpstr SESSION reshash resArray Now in Flex we will have a method that check the status and decided if the transaction failed or not private function paymentComplete void var srv HTTPService new HTTPService srv url URL ROOT payPalFlex getPaymentStatus php srv resultFormat srv addEventListener ResultEvent RESULT function event ResultEvent void Alert show event result status type if event result status type SUCCESS currentState Succes else currentState Fail srv addEventListener FaultEvent FAULT function event FaultEvent void currentState Fail Alert show event message toString srv send where getPaymentStatus php is just a simple PHP page that retrieves that status from the DoExpressCheckoutPayment result previously stored in session status type php echo strtoupper SESSION reshash ACK type status The paymentComplete method needs to be explicitly exposed through the ExternalInterface API in order to be available to JavaScript calls This can be done when the Flex application initializes the applicationComplete event is a good candidate for this ExternalInterface addCallback paymentComplete paymentComplete The only thing that remains now to be done is to close the pop up window and notify the Flex App script type text javascript function gotoflex window opener window document getElementById payPalFlex paymentComplete window close script a class home id CallsLink href javascript gotoflex Return to Flex a Installing the sample files Unzip payPalFlexPHP zip into your Web Root folder For example work www Edit payPalFlex ppNVP constants php and replace define API USERNAME sdk three api1 sdk com define API PASSWORD QFZCWN5HZM8VBG7Q define API SIGNATURE A d9eRKfd1yVkRrtmMfCFLTqa6M9AyodL0SJkhYztxUi8W9pCXF6 4NI with your ownPayPal API USERNAME API PASSWORD and API SIGNATURE In Flash Builder click File Import and choose Flash Builder Project Choose payPalFlex fxp Fill the the Output Folder Location Web Root and Root URL with your values It should look something like this Categories flex payment gateways tutorials Tags On how I got a relationship with ColdFusion 9 July 13th 2009 mpricope Comments off ColdFusion 9 is now in Beta on labs But I will not go over all of the new and shiny features instead I want to tell you a little bit of the story about my relationship with ColdFusion 9 When I joined Adobe about 3 years ago I thought CF was a dying language I joined the Adobe Evangelism team about 1 year ago and I was still thinking that CF was a dying if not dead language During my baptism as an evangelist I needed to watch a ColdFusion presentation just to know about this product was all about So Ben Forta gave me an one hour presentation about what ColdFusion is NOW And I emphasize NOW because around the last quarter of that hour something hit me Hey this ColdFusion thing is one of the best Enterprise Service Buses I ve seen and one of the best glue technologies for heterogeneous enterprise infrastructure Now this might sound like corporate b t and it might have sounded the same to me if I hadn t had a particular experience a few years ago I was working as a consultant for a big Saudi bank on a project to integrate a few of their systems And boy those where heterogeneous Just for start in that building were four kinds of electric plugs with two voltages You don t want to imagine how their IT systems were all technologies from all ages from everywhere on this earth I spent half of my coding time there configuring connectors and writing adapters for the most exotic datasources and services implementations So with this experience in mind while watching Ben Forta going through various features of CF that thought came into my mind And I realized that what s cool about CF is not that it has some unique capabilities but that it integrates everything so nicely It had only one major drawback for me the CF language itself I mean when you have programmed for 10 years in C Java style languages an XML language like CF just gives you a little bit of an instant organic rejection But now here comes CF 9 They made CFSCRIPT a first class citizen so now you can take advantage of all the services and connectors under the hood with a JavaScript like language This made me give ColdFusion a first try a few weeks ago I chose a very simple scenario join two tables one in a MySQL database and one in an Excel file and push the result through a third one I must admit that I had no CF experience whatsoever but half a day and about 20 lines of code later I managed to finish my task In this time I ve gone through some old CF features like the built in database engine that helps you join heterogeneous datasources and some new ones like the Excel connectors or the new and nice Hibernate ORM stuff And after a couple of hours I exposed a web services from which you can download a PDF of the aggregated data So after my first day as a CF developer I felt pretty advanced And looking at the developer data I ve seen that there are more who think like me as the CF population has grown about three times larger in the last 4 5 years to around a healthy 800k Doesn t look like a dying technology at all Now getting serious I think that if you have to do some serious integration project in your company you might want to take a look at ColdFusion 9 Not as merely a language because this is not the old CF that 14 years ago pioneered the web development revolution That is already history But you might want to look it as a tool that is very suitable for integration projects and RAD development on top of your existing IT infrastructure buy essays for college Categories coldfusion thinking Tags Using Amazon Flexible Payment System with Flex July 11th 2009 mpricope 7 comments Amazon FPS is a popular and powerful payment service and in this paper I will discuss how you can integrate Amazon FPS into a RIA while preserving the high level of security required for these type of integrations Amazon FPS is designed to integrate with standard request based web applications While this request based paradigm is successfully used by a lot

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

  • Miti's Blog » 2009 » May
    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

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

  • Miti's Blog » 2009 » April
    our technologies and if what the heck let s just make a BIG Event and invite everyone So she did that And it s going to take place on 19 May at Hotel Intercontinental Here is the schedule it might change a little but not too much Main room Speaker 9 30 10 00 Registration 10 00 10 15 Introduction Agenda Alexandru Costin 10 15 11 15 Adobe and RIA Ben Forta 11 15 11 45 Making of Adobe Romania Digby Horner 11 45 12 00 Coffee break 12 00 13 30 Flex for Enterprise Cornel Creanga 13 30 14 30 Lunch 14 30 15 30 Flex 4 SDK and Flash Catalyst Mihai Pricope 15 30 16 00 Intro to ColdFusion for Enterprise Ben Forta 16 00 16 45 InContextEditing First Adobe Romania Product Lucian Cozma 16 45 17 30 Mobile Mpackager Mihai Pricope 17 30 18 00 Flash Player 10 FMS Cornel Creanga 18 00 18 30 Closing session Oh and there s more We have some bootcamps you can call them hands on seminars if you like also Bootcamp room Speaker 11 30 12 00 Open Doors Alexandru Costin Upper Management 12 00 13 30 Pixel Bender Skinning Bootcamp Dragos Dascalita 14 00 14 30 Open Doors Dragos Georgita AIR team 14 30 16 30 BlazeDS LCDS Bootcamp Advanced Mihai Corlan Cornel Creanga 16 30 18 30 Introduction to Flex and AIR Bootcamp Mihai Corlan Ah still more Digby Horner the man who was behind the InterAKT acquisition and the opening of the Romanian campus will be there too And also some guys from management they call themselves upper management And they are open for questions about our campus too I hope you are convinced by now to book 19 May for Adobe Developer Day www mobile spy

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

  • Miti's Blog » 2009 » March
    putting together that inspiring conference But there is one subject in particular that I want to talk about Augmented Reality Because at that little conference I had the pleasure of staring at some extremely cool augmented reality demos They were based I think on some versions of ARToolKit also a joint research effort from multiple universities And I was thinking How can this technology be put to use on some real projects How can it be evangelized Then I forgot about it until a colleague of mine showed me this demo It was made with a Flash port of ARToolKit called FLARToolKit by Saqoosha How cool was that augmented reality in Flash And then the creative agencies got them and now it seems to be a fad http ge ecomagination com smartgrid augmented reality http www topps com and I think that BMW is preparing one for Mini I realized that once the ARToolKit algorithms got to run in Flash Player and thus reach 98 web audience and some creative agencies figured out they could do something with them the technology just got free advertising worldwide I am thinking that if you are working on the next graphical or visualization algorithms you might really want to consider them running on Flash Player Just for the sake of a cooooool demo that can be seen by everybody Not to mention that with Alchemy you can still have all or part of your algorithms written in C or C and compile them to run on Flash Player what is premature ejaculation Categories alchemy Flash Player 10 thinking Tags RSS feed Random Posts GoDaddy account problems Anybody can help Playing with Custom Layout in Flex 4 Words are not enough On how experience changes the way we use the Internet BEST Engineering Competition

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

  • Miti's Blog » 2009 » February
    worth saying and HOW Well I think I found one that is deep philosophical practical and inspiring altogether and I will manage it to deliver it in a funny way Do you think I am exaggerating Well I might be but I might not The only way to really find out is to experience it yourself Let me tell you that I ve planned crazy talks crazy gesture and crazy demos Even my marketing manager was impressed free cell phone tracker app Categories conferences Tags PixelBender Photo Booth for Valentine s Day February 10th 2009 mpricope 2 comments This is gonna be a cheese post So I ve took a my last PixelBender stuff and I ve made a little Photo Booth for Valentine s day Here s a lovely picture with me and Mihai Make your own picture here You can download the sources here Categories Uncategorized Tags Obama and Video on Internet February 2nd 2009 mpricope 1 comment As you probably have read by now the US House passed Obama s 819 billion stimulus package Now I am not a very big fan of US politics but reading through the news I ve found out that some of this money will be going in infrastructure spending From that 6 billion will go to expand broadband Internet access Through its Digital Britain program the UK is looking to put high speed Internet all around the country As far as the media covers other rich states are directing part of their stimulus packages to the same area Reading all these reports I was struck by an all too obvious fact If all this money will make broadband more prevalent in the next few years this means that video one of the Internet media formats most limited by current broadband penetration

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



  •