layer

Multiple business layers

Hi Some Background : Many moons ago, i wrote a Library (SDK) which makes it possible to integrate with some 3rd party accouting software. One public class exposed by the SDK was the Customer class, which in turn collaborated with a CustomerContacts collection. These classes supports n-level undo + validation rules ect. In order to user...

UI Layer Abstraction

I have successfully worked with abstracting data layers and business layers. But recently a colleague mentioned about abstracting UI layer- in between the UI and the business layer. However I cannot get my head around it. I cannot visualize how this UI layer will be different from the business layer. I have goggled enough for articles an...

Presentation, Business and Data Layer

I just started programming in C# and was reading about dividing your application / website into the three different layers was the best practice but I am having a hard time understanding exactly how. Im working on a pet project to lean more about C# but I dont want to start on any bad habits. Can you look at what I have and see if I am d...

Domain Layer access to Persistence stuff

I am trying to keep my domain layer as "pure" as possible without weaving in persistence or other infrastructure concerns. However, there are times when my domain layer needs to use the services of either an RDBMS or other external dependency and I'm not sure how to deal with it. For example, each domain object in my app implements an ...

object served for communcation between business layer and presentation layer

Hi all, This is a general question about design. What's the best way to communicate between your business layer and presentation layer? We currently have a object that get pass into our business layer and the services reads the info from the object and sets the result into the object. When the service are finish, we'll have a object ...

What is the way to load an image on top of your webpage using a seethrough layer?

check this webiste: http://www.ramziarabi.com/portfolio/art-portfolio/ when you click on an image it opens itself on top of the webpage without hiding it or opening new page. I'm assuming this is done by JavaScript, but can someone explain how? provide some code I can use to do that? ...

Designing Windows.Form with multiple panels -> How to hide one panel (like a PS layer)

How can I hide one panel in Visual Studio 2008 Form Designer like a layer in PS? Otherwise, can someone recommend another better method to design multiple "screens" that must be clicked through by the user? ...

[Jquery] - get content from textbox place in iframe layer

hi people. i am new to jquery so kinda new your help/guide to do this. i got a textbox where i write html tags. now what i want to do is a preview button. it should open a jquery layer/popup with the written html from my textbox so i can se it. is there a way that any of you could guide me to where to find scripts like this or help me ou...

Are there any Ajax windowing frameworks out there?

I have a project with a lot of pop-up layering going on and while i will have one layer open, that layer will effectively serve as another window. I'm currently managing this with _json specific return pages that just return json objects and the layer acts on that. Each call from the layer is from a jquery .ajax call which processes ...

Implementing a service layer in an MVC architecture

How would one typically implement a service layer in an MVC architecture? Is it one object that serves all requests to underlying business objects? Or is more like an object that serves different service objects that in their turn interact with business objects? So: Controller -> Service -> getUserById(), or: Controller -> ServiceMana...

Pass a Layer object to an other class. How can i convert? Objective C

Hi, I have a .h file called LayerManagement.h, it defines a Layer variable: Layer *managelayer; I have a Layer class called HelloLayer, it defines: +(id) scene { Scene *scene = [Scene node]; HelloLayer *thislayer = [HelloLayer node]; man = [[ManageMove alloc] init]; > man.managelayer = thislayer;// can i do...

Designing an OS abstraction layer

While Developing an OS Abstraction layer for a multi-modular system, which approach should one take: Create a Shared Library of OS services and each module is built to use it and runs as individual processes. OR Create only a single instance of abstraction layer which provides memory, timer services and which alone spawns all in...

iPhone layer management - best practice

Louis - Thanks for your input. Here is what I did, and my current issues, which i don't understand. The menus (2) are UIImageViews that respond to touch. Each is it's own class. The 'sprites' as you called them also respond to touch. In the .m where I add the menus and sprites to the layer, I created two container layers, via this code...

How do you enforce dependencies among java folders in Netbeans?

Hi I am new to Netbeans. I am wondering if someone can help me with project setup in netbeans. I am moving half million lines of Java code from a different IDE to Netbeans. I was able to get the code build and run in Netbeans easily. I have a project with many folders with dependencies among those folders. They have to be built in specif...

Dojo Layers best practice

My current project has a small user base and nearly all clients will be on the same LAN as the webserver so performance won't really be hindered but I'm a sucker for picking up bad habits so I want to get used to doing it right. I was thinking make a generic 'site' layer which would include the commonly used requires (mainly form, dialo...

constraining drag move along a path in iphone

I am making an app in which balls roll on tracks. So when we touch and drag the balls around the screen, they should move along the tracks. If the drag goes out too distant from the track, it should stop. The tracks can be any shape. What is the best appraoch..? ...

Presentation layer communication with business service layer

I have an existing enterprise Java application with several layers including a web services facade over a Java services layer over a domain layer over a data access layer. The system currently has not GUI. The clients of this system currently are (simply) other composite web services based applications. I am somewhat new to the whole ...

Cocos2d adding a background image to a layer?

Hello, I just finished reading some of the cocos2d documentation, and as far as I understand to add a background image to a layer you have to do something like: Sprite * bg = [Sprite spriteWithFile:@"Background.png"]; [layer addChild:bg z:0]; Allthough as far as my testing goes you can just directly add the sprite to the scene like t...

Layer two BitmapImage's in WPF

Hello, I have two instances of BitmapImage. I would like to layer then on eachother the create a new BitmapImage. How would I do this? (Using C#) Thanks! ...

Core animation presentation layer

I am using the two image view animated using UIView animation. And checking the collision between them by performselector method. Once collision detected we stop the animation and set the images to collide location. But some time one image goes some distance ahead and then detect the collision and set back to the exact collision location...