I have to implement kinda important feature. The feature for one-way synchronization of folders. There's a cloud server with folders of documents. And i need to synchronize some Windows folder with the structure and the documents of this remote folder.
The application is written in WPF, using MVVM (galasoft mvvm light toolkit). The job for syncing must be periodical (it must work every 5|10|100 etc minutes, depending on the user's properties). Of course it must be asynchronous.
I have three questions about it:
What are the best practices of implementing such a syncing job? Should i write it as a service of some structure or what?
How can i handle the periodicity of this job?
How can i vizualize in the system tray, that the job is on (can i use some circular progress bar on the icon of my app in the tray?)?
Thanks in advance, people!
You could use the Microsoft Sync Framework with its File Synchronization Provider.
Related
Is it possible to upload files to a web browser application (such as Dropbox) directly from a document management system (DMS) such as iManage (aka Worksite, Filesite, HP Autonomy)?
If not, what are the best ways of getting around this and enabling simple upload of files from the DMS to web applications?
If you are trying to share documents via a dropbox like solution, you might want t consider LinkSite. It is more manageable, which is quite a positive aspect since you will probably working in a legal environment.
More info can be found here: http://www.irisecm.com/hp-linksite-the-secure-and-enterprise-alternative-to-dropbox/
Best regards,
Daniel
By the way, LinkSite is rebranded and now called iManage Share.
If you are looking for a seamlessly integrated third party application you might want to consider Litéra Sync.
Hello we need to develop a web application using Oracle ADF and jdeveloper 12c. This is a big project so we need to develop this application with the help of a team of size 10 members. Our doubt is how we can develop a web application using a team.
Suppose that we have 10 modules. Each module has developed by each member(Each member is using different system with same environment. Jdeveloper 12c). Finally developing all the 10 modules how we can combine all the 10 modules as a single application. How we can modify bindings , page flows and connection details.
Please help.
Thanks in advance.
A comprehensive look at ADF team size and roles you can find on ADF Architecture TV channel.
In terms of architecture, I would suggest SUM of the Parts Pattern:
Simply put, every member can use their own workspace where they will create bounded task flows based on fragments. Then, each of those workspaces will be packaged as ADF Libraries and imported into a MASTER workspace, acting as a portal. One of the most common patterns for implementing Master portal is Dynamic Tabs UI Shell Template Functional UI Pattern
I suggest you watch this to understand ADF large project architecture better, and read this, this and this as well. This book may be of use.
The best approach will be using a version control tool like SVN. Initially, anyone member of the team need to migrate the blank project structure to SVN. later on others can checkout the code and implement their code and after that they can check in the code. The problem here is you have to assume that no 2 developers are working on same file at same time, or else code conflict may happen while committing the code.
Currently, I am also working on a project where some developers are from onshore and some from offshore. So, we use the SVN. Jdevloper itself comes with SVN Client. So no need of installing any SVN client like Tortoise SVN or Smart SVN.
If still you need more information you can reply back.
I'm trying to figure out the best way to backup all of our Salesforce metadata in our full sandbox.
We've had a large team working on numerous areas of Salesforce (configuration and development) and we've promoted all that code to our full sandbox. Before moving to production, we want to backup all the metadata. We are not concerned about actual data. We just want to make sure we backup all the metadata in our full sandbox, then promote to our production instance and finally do a refresh of our full sandbox.
We thought about using a change set, but that would be horribly tedious, time-consuming and would it indeed grab all metadata.
Would creating an unmanaged package be an option? I've never done anything with packages, so I'm in the dark on that process. Would it be easy to grab all the metadata?
I've read about options using the ANT Tool, which I have no experience using and it seems to be a little tricky to setup and configure.
I use Eclipse regularly, I don't believe Eclipse can grab all the metadata (approval processes, etc.)?
Any insight and help on solving this would be greatly appreciated.
Thank you.
I'd like to suggest using a version control. It's the best way for managing all changes into your project, store history of changes and comfortable team work. I prefer git but you can select any other.
For managing changes which can't be retrieved via Eclipse/ant migration tool or any other tool I use file named "NonMetaDataChanges" which stores all configuration steps which should be performed on fresh org for setup application before and after deployment of metadata. usually these manual changes takes no more than half a hour.
Also I've just checked that Approval Process can be retrieved via Eclipse.
Isn't the easiest way to create a metadata backup to create or refresh a sandbox? Other than custom settings, what will it miss? With the sandbox change-sets could be create to return production to a happier place.
The best path, I agree, is to put all changes under version control. But until all metadata can be extracted and re-imported, some kind of all-of-the-above approach must do.
We have a wpf application, which we have deployed using Microsoft's Click Once approach...manifest and application files are available in a web server.
If the application is already running on a client machine...and if I update the manifest and application files(in web server)...how do we notify the user about the changes ?
Is there anyway that we can display some kind of text to the user...that application has modified ..and he has to get latest ?
Any help will be appreciated. Thanks
ClickOnce does not provide you with an out-of-box means of alerting the end-users to an update.
In the company I worked at, it was good enough to walk around the end-users desks and making sure they weren't using the application before I updated it. Obviously, this doesn't scale too well.
If I had to implement a solution for this, I would include a message broadcast system that made sure the users were notified BEFORE the update was deployed.
If this was a client-server system, and updates to the server means that any out-of-date clients can't communicate with the server, then the end-users risk losing their work.
I am in the design stage of an application that must be both a standalone app & a web application (To save the costs of building 2 near identical applications twice). Basically I have opted to go for a silverlight OOTB application that will be installed on the standalone machines and they will write to a collection of files in the sandbox and occasionally talk to the server version. The same application (with a little configuration) will also operate on the webserver and store its data in a database.
I am however more of a WPF developer so I would like to cover some concerns I have before I go too far down this path...these are:
I hear you can pass a file out for the user to 'Save As' in their browser when using SL normally. Is there similar functionality with OOTB? Because I want to be able to save some of the local files to locations other than the sandbox (With user permission)?
Is is possible to configure OOTB to allow access to the filesystem outside of the sandbox?
Is there a way to programatically determine whether a silverlight application is running in OOTB mode (So I know what mode the application should be running in)?
Are there any major flaws in my ideas so far that would prevent this from being a possibility?
Silverlight 4 will provide support for out of browser trusted applications, which have more privileges that a normal sandboxed application but still not as much as a regular desktop application. Regarding file access, a trusted application will be able to access to some predefined folders such as MyDocuments, MyMusic, MyPictures, MyVideos, but not the entire filesystem. See here for details: http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2009/11/18/silverlight-4-rough-notes-trusted-applications.aspx
As for how to know whether you are running out of browser or not, use Application.Current.RunningOffline.
Finally, I recommend you to take a look at PRISM. Among other things, it eases the task of sharing code between WPF and Silverlight, so you could consider developing a dual SL+WPF application.