How to implement Resource/Day view (e.g. Show columns on Day view for each staff member) - fullcalendar

We are currently using an old version of FullCalendar with a custom “fork” of FullCalendar that adds support for the “ResourceDay” view (the way it shows columns on Day view for each staff member).
We want to upgrade to FullCalendar 2.x and i have a question. Is it possible to implement Resource/Day view (e.g. Show columns on Day view for each staff member) using the custom view approach in FullCalendar 2.x (http://fullcalendar.io/docs/views/Custom_Views/)
We would really appreciate your suggestions on this.

My recommendation is to wait for the official timeline view. You can read about it here.
Basically it will be a resource-like view that will probably cost money unless your project is under GPL. But it will be an official and robust version and way less work than building it yourself.

There are several open source forks of this that have tried adding it. Look at these tickets:
https://code.google.com/p/fullcalendar/issues/detail?id=490
https://code.google.com/p/fullcalendar/issues/detail?id=150#c31
Some of which are not available now, or available but have issues compiling.
This is a jQuery plugin that might help you: https://github.com/thegrubbsian/jquery.ganttView
But it has nothing to do with Fullcalendar. If you are wanting its event model to interface with your application then this might not work for you.

Related

should I move from caliburn to caliburn.micro

I'm developing an infrastructure for a major project currently based on caliburn 1.
It works fine but it seems like the future is in caliburn micro, am I right?
If I do, how do I implement filters? How do I specify view to a view viewnodel (non conventional)?
And whats the best place to put my splash logic (not root model)
I recommend moving to Caliburn.Micro as it's simpler and easier to extend. It is where any future innovations will be made and it has a larger more active community. As far as filters go, you can actually build them and plug them in. See here Marco's post You can add non-conventional view specification as well. You just plug into the view locator and teach it how to find views. For example, if you want to use an attribute, you can just have the locator look for that attribute first, use it if found, otherwise fall back to the default behavior. Regarding splash logic, you can do that by customizing the Bootstrapper.

ASP.NET Timeline control

I have looked over other questions on this website, but am yet to find a solution that meets our requirements.
We need a Timeline control that makes it possible to display some HR information (distribution of consultants) over longer periods of time (months). The screenshot below illustrates the requirement.
We currently use a Windows-based component from a third party. We need this application to be visible on the web, including display on iPad devices. Are there any controls on the market that support this functionality?
I haven't explored many of the options yet, but I'm working on an application that uses DayPilot Lite (the open source version) from http://www.daypilot.org/ to display a calendar. The scheduler control looks like it could do something like what you're looking for.
maybe Telerik Scheduler
http://demos.telerik.com/aspnet-ajax/scheduler/examples/timelineview/defaultcs.aspx
Here's one from codeplex that might work...
http://timelinenet.codeplex.com/releases/view/11981
There's also the "viewer" approach you could take -- for example, you could put a view of Visio or MS Project, etc. in a window on your page. Not sure how interactive it would be, but if your need is just for view-only, it might work.
http://www.codeproject.com/KB/applications/ASPNETVisioCustomControl.aspx
Have you looked at Google Charts? Specifically you could, perhaps, use their Annotated Timeline.
Google charts have some serious issues if any asp.net project is deployed in IIS.

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.

A newbie question on cairngorm

I am very new to Flex (started learning a couple of days back), I now have some understanding on how to create user interfaces with Flex and how to do MVC with Cairngorm and I really started liking it. But I am still lost with changing views using Cairngorm or entirely in Flex. Being a Java/J2EE developer for more than 10 years, it helps me understanding new technologies comparing it with Java. Typically in java world or in any MVC framework, the controller once got the updated modal it redirects or sets the new view to the user. Lets say once I added a new movie to movie database, I want to show the user a view Movie screen and when he deletes a movie I want to take user to list of all movies. The example which I have seen so far(including the diagram explorer) are just changing the modal values and the data is updating in the same view (using [Bindable]), but my question is how to change the view depending on the result or if it's a fault I want to take user to a different screen. How to do that in flex and in Cairngorm. Are there any best practices available and somebody please point me to right direction/resource. Thanks in advance.
The usual way to do this with Cairngorm is to put the data about the state of the application (eg. the screen the user is on) in the model too. You can, for example, use the ViewStack as the main container of the different parts of your application and bind it's selectedIndex to a variable in the model which will be used to control the screen that is displayed to the user. Putting it shortly - the state of the application is a reflection of the model.
You may also want to take a look at the Mate framework. We recently switched to Mate after using Cairngorm because we found it was a much easier framework to use and understand.
For your example, you would have a faultHandler event listener that would call whatever method you wanted in your model. You could easily use that to show or hide whatever you needed to.

Know a good templated ASP.Net Calendar control?

I'm looking to find a decent calendar control for an ASP.Net application that allows each day to have an "ItemTemplate" type of declaration so that I can list things that are happening within each day. Something like the Club Starter Kit, only more robust and that can handle other datasources besides DataSets and DataTables.
I'm thinking about fixing that control to handle other types of datasources, but would much rather go with something better if I can find one. I'd even be able to work with some kind of client side "calendar" if one was available.
We actually ended going with the calendar control out of the Club Starter Kit (http://clubstarterkit.codeplex.com/) as the updated versions did what we needed them to do.
BaseCalendar may work (you can customize everything).

Resources