Offline Capabilities


Author
Message
Alagarsamy Rajamannar
Alagarsamy Rajamannar
StrataFrame Beginner (11 reputation)StrataFrame Beginner (11 reputation)StrataFrame Beginner (11 reputation)StrataFrame Beginner (11 reputation)StrataFrame Beginner (11 reputation)StrataFrame Beginner (11 reputation)StrataFrame Beginner (11 reputation)StrataFrame Beginner (11 reputation)StrataFrame Beginner (11 reputation)
Group: Forum Members
Posts: 11, Visits: 33
I was wondering , how SF provides or can provide Offline capabilities.

I looked into these issues in the forum. Any clues?

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
There are a number of ways to approach this. 

Option 1
First, you can serialize the BO to disk and then deserialize it when you want to use it again.  In this scenario you will not actually execute the "Save" until you get back to a location where the data source can be reached.

Option 2
Use a local database and then sync when the primary database is accessible.  For example, you could use SQL Express (server based) or SQL Anywhere (embedded no server) on the client machine while it is "disconnected" from the primary data source.  Once the primary database is then accessible again, you could then synchronize it with the clients information.  This is something that would be a function of your application, not the framework.

Option 3
If your client machine will always have an internet connection, you could use Web Services or our Enterprise Server to always talk real-time to the primary database itself.

Keith Chisarik
Keith Chisarik
StrataFrame VIP (1.7K reputation)StrataFrame VIP (1.7K reputation)StrataFrame VIP (1.7K reputation)StrataFrame VIP (1.7K reputation)StrataFrame VIP (1.7K reputation)StrataFrame VIP (1.7K reputation)StrataFrame VIP (1.7K reputation)StrataFrame VIP (1.7K reputation)StrataFrame VIP (1.7K reputation)
Group: StrataFrame Users
Posts: 939, Visits: 40K
I have used XML files with good success to do this type of thing, .NET loves XML so it is easy to work with.



Just another idea.

Keith Chisarik
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Good point, Keith.  StrataFrame comes with a sample that shows how to read/write to an XML file through a business object. Smile
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search