layer

Simple layer problem [iphone]

Basically I'm sorting through objects in an array by y value (The furthest down the page is at the start of the array) but I'm having a bit of trouble. I assign all of the UIImageViews in an array a value: for (UIImageView *Blocky in objectsArray){ [Blocky.layer setValue:[NSString stringWithFormat: @"%f", ...

What's an Application layer?

I think I understand business logic layer and data access layer, but what is meant by the term application layer? Is it something you use in distributed applications? ...

Flash - Using a mask that is bigger than the 'maskee' layer

Hi, I am seeing some weird behavior from flash. I created a test symbol ('SquareMask') of a square with a mask layer above it. The mask layer exceeds its size like so: (green: object, yellow: mask) next object: Duplicate as the previous one, deleted the mask layer. After that I dragged both symbols into the main scene, Now inside ...

In which layer to make linq-sql calls as SubmitChanges(), InsertOnSubmit() etc.

Which layer is the best layer to make linq-sql calls as SubmitChanges(), InsertOnSubmit() etc. For example, let's say I have two tables Parent and Child. Child table has foreign key on parent (Child table has ParentId column). I want to insert parent object and child objects into the db. Using linq-sql, I can do this. Parent parent =...

Business object to multiple tables

I want to try custom code, this is for my uni project. What if I have Tables - UserCar, CarMake, and CarModel. UserCar - userId, carId, carMakeId, CarModelId CarMake - CarMakeId, MakeName CarModel - CarModelId, ModelName So I want to display on the page User car, using 3 layer architecture. So how do I map this tables??? to busine...

Display Image over map layer in GeoServer

Hi I am newbie when it comes to GeoServer and trying to figure out if there is an easy way to display images on top of map layer. A background: In my application, based on a search criteria, some polygons are drawn on the map. Each polygon has a corresponding image (in TIFF format) that is stored somewhere. I want to load the image o...

Creating A Single Generic Handler For Agatha?

I'm using the Agatha request/response library (and StructureMap, as utilized by Agatha 1.0.5.0) for a service layer that I'm prototyping, and one thing I've noticed is the large number of handlers that need to be created. It generally makes sense that any request/response type pair would need their own handler. However, as this scales ...

Difference between presentation layer and user-interface

What is the difference between a presentation layer and an user-interface? ...

How do I make my DIV ontop of a flash object inside an iFrame I don't control?

Basically, I have a DIV, which I've set to z-index: 100. I have an iframe which I set to z-index: 0. My 100 div is ontop of the frame on a normal webpage, but I have to load a flash page in the frame. Unfortunately the flash in the frame shows overtop of my 100 DIV. I can't set the z-index of the flash object because I don't control that...

Drag big picture in small layer?

Hi, I need a plugin for jquery or another js framework, where I can define a small div where i can drag around a big picture, so i get only a clipping of the picture. any ideas? edit: i try to explain i have a small div, like 600px x 450px. this div behaves like a clipping window for a big picture with like 3000px x 2000px. so i only ...

rotate an object with touch

I'd like to allow the user to rotate a wheel displayed on the iphone. The center of the wheel is the center of the screen. For now, I manage to rotate correctly in basic situations, following the finger gestures. However I have troubles when I try to react to "throw" gesture: I can't determine the rotation direction from user touches. ...

can we give <div> within <li>

can we give div tag within un order list tag.............. it will be in this format <li><div>blablabla</div></li> Is it Possible ...

How can I create a Layer on an Image?

How can I create a Layer on an Image, or Image on another Image? because it doesn't let me do that, only layer near the image. ...

Layer Supertype with Entity Framework...

I was wondering if anyone had any success implementing a layer supertype for their Entities using POCO and Entity Framework v4. The layer supertype mainly deals with the common identity features of my entities, and has been designed for my POCO classes, but I am unsure how to map the object design to the database using edmx? ie Customer...

Upgraded VS 2010 Ultimate - Modeling Project - Layer Diagram freezes visual studio

I just updated VS 2010 from Professional to Ultimate, specifically to gain access to the Architecture Modeling utilities. After successfully creating a new Modeling Project, I have been unable to create a usable Layer Diagram. Each time the VS designer shows the diagram, VS freezes, requiring a forced close via Task Manager. I have don...

Creating a transparent UIView behind a subview on iPhone

Question regarding layer two bitmaps on top of each other, one of which is semi-transparent. I have a custom UIView called foo. I have two CGBitmapContext's I have created. They are effectively being used as offscreen buffers and are of equal rectangular dimensions. I want to take the two of these offscreen and layer them one on top of ...

Can I create a layer like on websites using Java Swing?

I want to create a layer in Java Swing which will be displayed when I move my mouse over a specific region on editor pane. ...

Benefits/Examples of using a Service Layer in MVC patterns

Hi, We're contemplating implementing a service layer (as described by Martin Fowler) within our current development as a way to process common processes within our system. What are peoples thoughts on a service layer? What examples of process' have people implemented service layers for? What are the benfits/drawbacks etc? We currently...

Best practice or pattern for notification layer/subsystem?

Hi guys, i have quite large ASP.NET MVC2 application - separate repositories in their own projects, using IoC for injecting them into controllers, etc. - standard stuff. And here i need something, that will allow me to "globally" manage events in system and notify the user by few different ways (some events by email, some by internal m...

Structuring the WinForms in my presentation layer

Hi Everyone, At our company we are developing an application that has a large number of winforms that are all created in the same UI layer, namespace and assembly. Is there a decent way / design pattern to structure this layer? Our UI layer communicates with the business layer wich consists of mutiple namespace like business.calculatio...