Get From Database

Is anyone toying around with pulling information from a database? What approaches do you think are feasible considering what is available in PopFly today?

Comments? Suggestions?

[193 byte] By [cinapredav] at [2008-1-4]
# 1

What sort of database? Can you host a web service to provide access? I think that, in just about every case today, the blocks on Popfly are, at the end of the day, pulling data from a database somewhere.

Cheers,

Aaron

AaronBrethorstMSFT at 2007-10-3 > top of Msdn Tech,Popfly,Popfly General Discussion...
# 2

Here is a simple example of what I would like to do:

A SQL Database contains a table with 2 columns. One of those columns corresponds to a city and the other some message.

Use a block to pull a row from this table and assign a central Latitude/Longitude location based on the city (city center).

Overlay that onto the Virtual Earth using pushpins.

I am just wondering what some interesting/best approaches would be to link my information with PopFly without having to jump through a lot of hoops.

Here is an example:

On new rows, append the row as text to a page (hidden).

Point a variation of the Image Scraper block (Text Scraper) to the page

Use Filter / Text Helper / RegExp blocks to parse out the info and assign Latitude / Longitude

Pass it to Virtual Earth block

Of course, the ideal way would be to connect via web services and query the dababase using an api, but I'm doing this as a proof of concept and want a "quick and dirty" way of demonstrating the end results.

cinapredav at 2007-10-3 > top of Msdn Tech,Popfly,Popfly General Discussion...
# 3

Yea I am tinkering with this idea. I want to build a whole database front end application using silverlight. It would be nice to make a block to do my database connect and then others for other functions. I can see pieces of this shareable but the end product will be pretty defined for a specific purpose.I am still in architecture mode at the moment tho so loooong way to go.

Cyberhuey at 2007-10-3 > top of Msdn Tech,Popfly,Popfly General Discussion...