layers

Three Layered Web Application

Is it OK - best practise wise - to use the second layer to redirect the user? For example: public static void ForceLogin() { HttpCookie cookie = HttpContext.Current.Request.Cookies[cookieName]; if (cookie != null) { if (Regex.IsMatch(cookie.Value, "^[0-9]+\\.[a-f0-9]+$")) { using (EibxDataContex...

WPF Layer Control

I'm in need of a WPF layer control that does the following 1) Have multiple layers of content on top of each other. 2) Ability to turn layers on/off at design and runtime, ie we need a UI maybe something like a tabbed control 3) Move layers up/down the stack 4) Change opacity for layers Now I know all of the above is possible in Xam...

Is there a way to swap layers or views in the middle of a CAKeyframeAnimation?

I am running a keyFrame animation to move and flip a playing card view using CAKeyframeAnimation. is there any way to swap the cardFront and cardBack layers during the animation? or am i taking the wrong approach here... ...

What should I keep in mind in order to refactor huge code base?

I'm going to refactor certain parts in a huge code base (18000+ Java classes). Goal is to be able to extract lower layers as independent libraries to be reused in other projects that currently use duplicate of this code base. Especially one part is of interest to be refactored into a framework independent of business logic. Ultimately I ...

What graphic format can I use for layers?

I need to be able to take multiple images and save them to a file that can then be read by a graphics program like Photoshop or Illustrator and edited. I need to be able to do this in a C#/.Net environment. It looks like PDF's have the capabilities to do layers but I am not sure if any of the free components like PDFSharp will support ...

[CSS] Layer doesn't stretch to height of containing image

See http://www.martenminkema.nl The layers of each entry only gain the height of the text that it contains. The height of the image isn't taken into account, resulting into troubles with some layout markup in some cases. html: <div id="entry-296" class="hentry entry gedachten"> <a href="http://www.martenminkema.nl/gedachten/2009/06/au...

Layering many JPanels and adding them on the fly

Hi all. I'm developing a sim game based on Theme Hospital, which is quite an old game. I've made lots of progress on the underlying workings, however now I am coming to the GUI elements, which I haven't done alot of before. I am still rather new to java. The effect I am trying to create is like shown here... http://www.tubechop.com/watc...

Layers in a swf refuse to load (occasionally, after a cache clear)

Hey guys, I have a swf with four frames. The first frame loads an external class that acts as traffic controller - looks at the root flashvars being passed in and redirects to frame 2, 3, or 4. Frame 2 is a basic login screen. There's 5 layers - 2 background layers, the login screen, and a dummy text field. I also have trace statements...

[CSS] Clicking a link that's behind a div?

I'm not sure the title adequately describes the problem I've found myself with... Basically, I'm in the process of redesigning my website and one of the issues I've run into is that on the gallery view of my portfolio you get a grid of images for pieces of my work inside a frame. When you hover over the frame the image is hidden and th...

C# Winform UI Componets Layer Order

C# | Winforms When we add any UI or container in winforms, the later added component comes over the earlier added components, we can say it is in a higher layer..how to change that layer order or component order after adding components ...

ASP.NET web application - UI, business and database layers clarification

. Hi, We are building an ASP.NET application (with C#.net as language) and will be hosting on Windows Server 2003 Operating System with MS SQL Server 2008 as database. Here I need a clarification. The main project contains Web Application Project and few other projects such as PeriodicEmailing Service Project (A service which sen...

jQuery and IE7 layer problems

When using jQuery with internet explorer 7, i cannot get it to display a popup page, the screen goes grey, the popup is there but not highlighted. I have not modified any of the code, so i know i have not messed it up anywhere. When i run the page using safari or mozilla, everything is ok, even ie8 display's the page, but ie7 is givi...

Java and SQL : return null or throw exception?

This is another debated subject, but this time i am searching only for the simple and documented answers. The scenario : Let's assume the following method: public static Hashtable<Long, Dog> getSomeDogs(String colName, String colValue) { Hashtable<Long, Dog> result = new Hashtable<Long, Dog>(); StringBuffer sql = null; Dog dog...

Neural Network Hidden Layers

Would someone be able to explain to me or point me to some resources of why (or situations where) more than one hidden layer would be necessary or useful in a neural network? ...

How should I organize OpenGL ES 1.x 2D layer tree?

I'm developing a cute puzzle app - http://gotoandplay.freeblog.hu/categories/compactTangram/ - , and for performance reasons I decided to render the view with OpenGL. I started to learning it, I'm ok with buffers, vertices, textures in a really basic way. The situation: In the game user manipulates 7 puzzlePiece, each has 5 sublayers to...

How to collapse five OpenGL textures into one?

I want to merge 5 "sublayers" to one single texture (you know, somethin' like Flatten Image in Photoshop) in OpenGL ES 1.x iPhone. I'm new to OpenGL, and just haven't find the answer yet. ...

UIImageView on top of another UIImageView, changeing layers

Afternoon, I have a UIImageView that I progmatically add to the window. Infact I have multiple UIImageViews that do so and when I click on any specific UIImageView I want it to become 'top-dog' so to say and be drawn over all other objects on the screen. Basically like the priority drawing for MSWindows operating systems when it comes to...

Embedding not only the first layer of my SWF file?

Like all of you know (if not, you should!) when I use the embed stuff to link a SWF to a class, only the first layer is utilized by my class. So.. is there a way to use all of the other layers too? Thx! ...

Verbose Listing of All Application Layers/Tiers?

I've looked at a few sites now, and I'm still struggling to find a complete listing of all the possible layers/tiers you can have in an application. From back in college (1999) I remember the following: Presentation Layer (Views) Application Layer (Controllers) Business Logic Layer (API/Rules) Persistence Layer (Database/Object Pers...

Communication between layers in an application

Hi guys! Let's assume we have the following method in the business layer. What's the best practice to tell the UI layer that something went wrong and give also the error message? Should the method return an empty String when it was OK, otherwise the error message, or should it throw another exception in the catch code wrapping the caugh...