I am developing a Data Modeling Software that is implemented in Java. This application converts the textual data (stored in a database) to graphical form so that users can interpret the data in a more efficient form. Now, this application will be accessed by 3 kinds of persons:
1. Managers (who can fill the database with data and they can also…
Authorize attribute are good to do some access control base on Action but suppose that I have some UI element in the layout that should note be output unless the user is authorize.
I could possibly set some boolean in the ViewBag but that is not the good solution I guess.
Somewhere in the Layout.cshtml:
@if (ViewBag.IsAuthorized)
{
…
Hi.
I'm working in a iphone view-based application.
The application works this way:
First view is a welcome view with buttons for load other views.
Second view is a map that shows the location using gps.
Third view is a search engine that loads some information to show on the map and on a list (This has two button to load map or table).…
Hi All, I need to develop a Instant Lottery game app.
I need an idea/procedure to implement Scratchable custom widget similar to instant Lottery Tickets in Android.
The requirement is like, the actual content(secret number) should be covered by some image(which indicates scratch area). When the user touch and scratch the image, the…
Does anyone know of papers/books/etc. that document patterns for databases? For example, one common rule of thumb is that every table should have a primary key and that the key should be devoid of information content. So I was wondering if anyone had written a book or published papers regarding design patterns for designing…
I'm looking to see if I can design a HtmlHelper extension method that will generate the Html for different types of widgets I want to produce.
Each different type of widget implements functionality to get and prepare any data it needs to render.
Can anyone suggest any patterns I could refer to for approaches to take? I…
I encounter the a problem:
I have a view controller like this.
TO make tool bar up when the keyboard appear, I move the self.view to up.
[self.view setFrame:CGRectMake(self.view.frame.origin.x, self.view.frame.origin.y + keyboardFrame.size.height * (up ? -1 : 1), self.view.frame.size.width,…
I have been doing code for a few years and still feeling that my knowledge still not broad enough to become a professional. I have studied some books related to Design Pattern but I know there are many others.
So could anyone list the one which you think it is good to learn to become a better…
Maybe this is simpler and more straightforward then what I'm thinking but I can't seem to find this concept on google anywhere. The concept is this:
You have a table in a database and the table has a specified number of columns. However, it has been asked of me by previous clients that there…
I do the following to a loading animation, to place it at the bottom center of the screen.
CGPoint bottomCenter = CGPointMake((self.imageView.bounds.size.width / 2), (self.imageView.bounds.size.height * 0.8));
self.activityView.center = bottomCenter;
(imageView is the full screen splash…
Hi,
I'm looking for best practices and resources regarding design of workflow based applications. E.g.Best practice/guidance for:
How best to represent business object 'states' (position in workflow)
How to approach logging of transition between workflow states
State transition rules
I'm…
We have a large database of items which are viewable as individual items (they are plants) (url example http://www.plantify.co.uk/Abelia-chinensis/plant-5087) or in a list view (url example http://www.plantify.co.uk/page-1/plant). There is a link on the individual page to the list view.
We…
I need to return 2 values from a method. My approach is as follows:
create an inner class with 2 fields that will be used to keep those 2 values
put the method inside that class
instantiate the class and call the method.
The only thing that will be changed in the method is that in the…
(in via Akhter)
Seeking more information or assistance with Hyperion Smart View?
The Oracle Technology Network (OTN) is a great first place to "stop-by". Here the site provides access to the latest installer, general product documentation as well as Whitepapers, "Whats…
I have 3 different xib's. I am able to go back and forth between view 1 and view 2 with the following code...
This Code brings up the second view...
-(IBAction)startButtonClicked:(id)sender{
self.gamePlayViewController = [[GamePlayViewController alloc]…
Example #1: I have a view displayed in my MVVM application (let's use Silverlight for the purposes of the discussion) and I click on a button that should take me to a new page.
Example #2: That same view has another button that, when clicked, should open up a…
Hi,
I am pretty new to programming(just finished University).
I have been thought in the last 4 years about Object Oriented development and the numerous advantages of this approach.
My question is
Isn't it easier to use a pure Object Oriented database…
Happy New Year to all of our readers! We hope you all had a great holiday season. We start the new year by continuing our series on Optimizer transformations. This time it is the turn of Predicate Pushdown. I would like to thank Rafi Ahmed for the content…
A few days ago, I gave a talk on building Single Page Apps on the Microsoft Stack. In that talk, I recommended that people use Knockout, Sammy, and RequireJS to build their presentation layer and use the ASP.NET Web API to expose data from their server.…
The demand for Database Administrators continues to grow.*Almost two-thirds of IT hiring managers indicate that they highly value certifications in validatingIT skills and expertise.**
* Job satisfaction and DBA work growth rate: CNN Money's 2011 Best…
This article will demonstrate a simple technique, "A Two-Way Requirements verification process", which reinforces the most critical connection point of any methodology: the transition between functional design or requirement sign off and the beginning…
The milestone is going to be the web site design as stated above and it involves designing the site pages and the designer here deals mainly with the HTML code because this language is used to build ... [Author: Alan Smith - Web Design and Development…
Domain-Driven Design is the way to build/design your application when you are focused on the Domain Model, when you do not depend on Infrastructure and when your Developers talk on the same language with Customers.