? orus casino? bodog? ruleta? luckia? betano? sportium? spin casino? stakes? 3 reyes? 888? lottoland? coolbet? 777 casino? gana777? betfair? bwin? yak casino? ivy casino? oddschecker? red casino? netbet? william hill? vip casino? rey casino? marathonbet? dafabet? sol casino? 1bet? winland? bet777? parimatch? 18bet? 888casino? campobet? mostbet? ganabet? rushbet? betcris? betsson? lucky? novibet? winner? winpot? betmaster? betmexico? cancun? playcity? strendus? pokerstars? codere? caliente? fun88? bbrbet? 1win? 10bet? betway? pin up? spinbet? 7cslot? pickwin? spin bet? mr fortune? w88? pragmatic? gamdom? crasher? jojobet? betmex? bcasino? foliatti? winner mx? bets 10? big bola? bet master? inbet? 7slots? lucky day? m777? mexplay? luckydays? bet caliente? 1x? plinko

Forum


HomeHomePremiumPremiumDevelopmentDevelopmentMore Complex "Client Centric" recomendationsMore Complex "Client Centric" recomendations
Previous
 
Next
New Post
1/25/2015 11:50 AM
 

I like the ideas presented in the client centric videos, but being a bit "old school" I'm having a hard time figuring out how to use this more a some more complex examples.

First one is read-only; display of events and participants in three different views.

Event -> Registration <- Participant

I'd like to initially present a list of events, you click on an event and you get a list of participants, you click on a participant and get a list of events they are in. I have this working "old school" ASCX at: http://www.twincitytc.org/RaceInformation/Results/tabid/67/Default.aspx

I can't figure out how to get the cross view linkages to work, which in the old days I used events in the list view to plumb up.

 

Second problem may be DAL2, or my understanding of frameworks. Each of those participants and events has a "type". A participant may be an individual or a team, and I use a lookup table with a relationship to maintain it. In the "old days" I had a dropdownbox that was populated from the lookup table populated from a regular old controller. For the lists I just did a join to look up the display value of the identify key. Petapoco (DAL2) seems to not like joins, and I'm trying to figure out how to populate a dropdownbox in knockout.

 
New Post
2/3/2015 8:38 AM
 

Keith.

Sorry for the late response.  For your first question, I don't know if I can answer that in a forum post because there are a lot of ways to accomplish your goal.  My recent video set on AngularJS may be of interest for your situation.  It's not something I taught in the video, but you can use the MVC parts of angular to create complex single-page applications.  The services layer and the concepts I provided would give you a good foundation for data services, but you would need to figure out the routing and view part.

Your DAL2 question is pretty common.  Two things I have done in complex situations: #1 - use linq to join IEnumerable object lists that could come from different DAL2 controllers.  #2 - create a View of your table join and create a DAL2 class that uses the view like a table.  This would just be limited to reads.  You would still have to do inserts and updates on the original table's DAL controller.

 
New Post
2/12/2015 3:47 AM
 

Thank you Scott, haven't had time to look into your Angular videos. I'll make some time this weekend.

 
New Post
4/22/2015 1:28 AM
 

I feel that the angular concept of "partials" would be in place here. 
These partials are fragments of HTML in separate files that are dynamically loaded by angular (ng-include) and injected into the DOM.

 
Previous
 
Next
HomeHomePremiumPremiumDevelopmentDevelopmentMore Complex "Client Centric" recomendationsMore Complex "Client Centric" recomendations



Try FREE
30 days money back guaranteed