Ads with a JavaFX applet based website - google-analytics

What is the best way to make a website based on JavaFX supported with ad revenue? Do you have to put the ads out side of the applet in the regular html space, or can you use JWebPane to render the add inside the applet?

My opinion is that you'll have a hard time convincing marketing and ad agencies to invest in JavaFX based designs. They would have to be very compelling. Flash is the category killer for interactive designs. These decisions cost companies a lot of dollars. I've seen developers screw up the onclick mechanism on banner ads and likely screw their advertisers out of a lot of responses due to pop-up blockers. Companies are not inclined to move away from a tried-and-true approach. That is why Silverlight is having such a tough time getting saturation. Their ace-in-the-hole was gonna be HD support for media. Even with that leap forward, they are having a hard time attaining penetration. From what I understand, the number of people installing Java in their browsers is on the decline (still a respectable number at 80%). Sun was hoping their niche was going to be ubiquity (available on on devices). But battery drain is a concern of Apple, who won't sanction java on the iPhone.
Officially Sun plans to support what you envision. They call it Project Insight.
In the meantime, ff you want to use Google Analytics, you can still just add the script outside the applet. Just don't expect good search discovery unless you also plan for that (maybe using metadata).
In terms of deep-linking which is necessary for click-through tracking, I think you're out of luck. If you want to use JavaFX to create dynamic content, don't expect it to be searchable or trackable.
Have a look at Project Insight. Maybe you can beat them to the punch (they seem to be taking their sweet time, as JWebPane was promised last year).

If you want to track users actions such as button presses inside your JavaFX web application with Google Analytics then you can try using gaforjavafx ( Google Analytics for JavaFX). Gaforjavafx is a software module for integrating the Google Analytics Tracker API with your JavaFX web application. The following blog explains how to use gaforjavafx in your JavaFX program to send tracking information to Google Analytics.
http://gaforjavafx.blogspot.com/
.

Related

How can I pull User IDs from Adobe Analytics for users who match a segment?

I'm trying to lift all the User IDs that match a segment in Adobe Analytics and store them somewhere (anywhere really), so I can then feed them into an action system for targeting.
Documentation seems hard to find - anyone have ideas on how I could achieve this?
Not sure if there's APIs or SDKs that let me pull this data, or pre-built connectors into something like Google Sheets, but again documentation seems light at best.
The simplest tool to use would likely be the Report Builder. It's an Excel extension by Adobe to export the data. It's pretty powerful. Can do pretty much everything AA can.
You could also generate data feeds and ETL the data from there to wherever you need it. It's a bit more advanced though.
Finally, you have the customer journey API, which would now be an even more advanced level of ETL.
Otherwise, yes, Adobe is notorious for how bad their documentation is and how hard it is to find it. It's almost like they don't want the good documentation to be there in order to sell more of their certification courses.
Note that sometimes when you google something and get to their forum to see the answer, Adobe will attempt to hide the answer behind the authentication wall. Just open that link in incognito and you'll be good. Adobe is pretty weird.

Is there an orthodox way to develop Android TV apps

I have a few problems with understanding of android tv development. First of all when i had launched android tv project and was trying to create custom interface for new activity, unfortunately i couldn't find any xml elements which could help me. From the example i got some ideas that whole interface provided by android SDK collected in many fragments. I just can modify colors, fonts, fonts size, transparency maybe animation and etc. But if i really need to customize structure of controls and WTF i wanna output "Hello World" inside label!!! Is it possible? I read all articles from this link https://developer.android.com/training/tv/index.html but it is still useless for me (maybe I am unique :) ). After this suffering with google guide, i have done a conclusion that the platform so new and there is no way to do some thing except only way that was provided by google. Am i right? If not, what should i do to find successful way?
The fragments provided by Google as part of the "leanback" framework are templates designed to make it easy for content providers to start publishing to Android TV without having to worry about the technical details of building a TV UI. The idea is that a content provider can create a channel just by feeding in their video content. This ease of use comes at a cost, customization is difficult or impossible with these templates.
However there is nothing preventing you from creating your own Activities and Fragments from scratch and implementing a completely custom UI for the TV, it works just like any other Android device. Add "android.intent.category.LEANBACK_LAUNCHER" to your manifest and see for yourself.

Library for reservation scheduling for accommodation on an ASP.NET web site

I am looking for a library to facilitate a nice UX for displaying a reservation calendar for a small bed and breakfast place. I would like to be able to show a calendar with maybe two views, being a high level 'year' view, showing high and low seasons, and basic indication of existing reservations, and a 'month' view showing more exact reservation details and allowing a user to submit a reservation request by using buttons or context menus.
I am in a very early part of the life cycle for this project and am looking for suggestions here rather than specific solutions, but what libraries and components are out there that I can look at and draw up a shortlist from?
For the sake of simplicity and speed of execution, I would consider the Telerik controls. If you're able to implement this in Silverlight then the calendar/schedule control pretty much gives you everything that you're asking for, really:
http://demos.telerik.com/silverlight/#ScheduleView/FirstLook
They also have a fair amount of configurable controls for .NET and JavaScript as well:
http://demos.telerik.com/aspnet-ajax/calendar/examples/functionality/specialdays/defaultcs.aspx
If you just want a solution that doesn't require integration into the .NET code then the jQueryUI JavaScript library may be useful. It merely takes data coming back from the page load or a service request and displays it for you:
http://jqueryui.com/demos/
Hope that's helpful.
Ext JS could be a viable option, then you could use a scheduling product that I have created. This demo could be pretty close to what you need: http://ext-scheduler.com/examples/html5/html5.html (try it in FireFox or Chrome for best experience). Integrates easily with ASP.NET too.
Other options would be FullCalendar (jQuery), ASPxScheduler by DevExpress.

Are there any text-only CAPTCHA systems available?

for some niche reasons I often find that a text-only captcha would be better than the traditional image/audio solutions. Some of the reasons I can think of off the top of my head:
Text-based browser support(lynx, links, etc)
To provide write-capable public APIs, but prevent massive amount of spam
For accessibility reasons (I've heard that the audio versions are very hard to understand to prevent voice-recognition software attacks)
Are there any text-only CAPTCHA systems available out there?
http://textcaptcha.com/ is a logic based, but also purely text based, captcha system., and is free too.
I don't think you have any control over the type of questions that are passed to you, but worth reading the documentation. Whilst it may pose problems for users with cognitive disabilities, it's on the right track, and an improvement on the standard recaptcha type captchas, which create difficulties for blind and vision impaired users alike.
All of the CAPTCHAs I've seen that don't use images or audio involve some sort of cognition:
What day of the week is tomorrow?
Who was the host of last week's SNL?
What is 2 + 3 plus four?

Any ideas on how to prepare for the future of Flash/Flex/HTML5 Development?

I've chosen Flex 4 as the most appropriate technology to develop a graphically-rich web application (its not a simple content-driven site), but worried about how the recent negative press (i.e. security issues) may effect end-user's trust and ultimately whether the user-base may drop promptly in response. (I don't care if my app works on iphones or ipads for now)
I think Flash Builder 4 is an great development environment and has minimized development time for me/my team. After some basic testing of graphical animations similar to that used in my app - HTML5 didn't perform as fast, is inconsistent with browsers, and some animations are jagged (I expect browser performance and graphic libraries to improve over time). I also 'personally' dislike programming Javascript as I am very fond of strong-typing to uncover mistakes quickly.
If you develop Rich Internet Apps, how are you responding?
Are you preparing to potentially migrate to HTML5/Javascript? Java? No action?
BTW - I don't want pro/anti-flash arguments - just curious to see how the community is responding.
At the end of the day, Flash/Flex aren't going anywhere. If Flex 4 meets your current needs and you're aware of the limitations (ie can't deploy to iOS devices) then I say go for it. Yes it's true that the topic has become mildly politicized - but if you're offering something your clients need then they'd be silly to refuse to use it on the grounds that they support "HTML 5" - when HTML 5 clearly doesn't offer you the tools you need.
Plenty of awesome stuff is coming down the pipe in Flash, much of which simply can't be done any other way - google UJam for an example. I wouldn't let Steve Jobs scare you away from using the technology that works for your needs.
My company plans to continue with Flash, using FlashBuilder 4 and Java back end. We went with Flex/Flash several years ago to get out of the business of supporting all the different browsers and into the business of being productive and giving our users a rich client-side experience.
HTML5/Javascript have potential, but are nowhere near as robust, powerful, fast, or efficient. The class hierarchy, data typing, and event model alone put ActionScript 3 miles beyond any Javascript. So what if Steve Jobs gives Flash the thumbs down? Time-Warner and other big media companies have said they're going to continue with Flash, so it's only a matter of time before Steve Jobs either relegates Apple to permanent niche status or caves and allows Flash on Apple products. (My guess is for the immediate future he will prefer niche status to admitting he is wrong—look how long he maintained a mouse only needed a single button?—but that's just my opinion.) In any case, Flash will soon be available on a multitude of smart phones, including the Droid, so I am not worried.
Adobe will provide tools to convert to HTML5, but they are already following the HTML5 Path with some introductory tools. Just keep watch on adobe. They know what is going on. They just killed mobile flash so even though they argued with apple over it they finally did the right thing instead of stupidly holding on to it just because... hope that helps
I'm a Flex developer, but I think HTML5 is going to be huge. The full features of HTML5 are years away, and I don't think it's totally going to kill Flash. Flex will hold on to some part of the RIA market because it has a lot more going for than just a de facto standard client plugin -- LCDS/BlazeDS, plays nicely with ColdFusion and Java.
I like Flex for the long run. It'll lose some ground to HTML5, but there are areas where Flex will hold its advantage.
Disclaimer: I am author of Web Atoms JS
Flex/Flash is dead already, as usage of non PC devices is increasing everyday. Except old IE (IE<10) almost all features of Flash are already offered by browsers. File API, AJAX upload with progress bar,Canvas API, Indexed DB, Cross Domain message API & Web Sockets. And CSS3, WebGL with 3D can give flash like graphics.
Regarding Component Library & Binding, HTML5+JS lacks component driven development that flash offers. To bridge this gap, we created framework that gives similar functionality with all components to that of flex. Look at following image & see this blog which outlines similarities between Flex & Web Atoms JS.
http://akashkava.com/blog/439/migrating-from-flex-to-html5-with-web-atoms-js/
Here is link to documentation.
http://webatomsjs.neurospeech.com/docs

Resources