13 Topics

Member Avatar for
Member Avatar for mgold

I love the idea of dependency injection. I started doing psuedo dependency injection on my own before I knew about DI because I was frustrated programming without it. I then discovered Guice. From a program design point of view, I like it a lot. Everything is much more decoupled and …

Member Avatar for JeffGrigg
1
280
Member Avatar for flynismo

Good morning all I'm having a problem with injecting a class into the constructor of another class. I am creating an MVC framework, for learning purposes. In bootstrap.php, it loads the various classes needed, and also instantiates a few classes Code snippet for bootstrap.php below. <?php /** * file: /system/core/Bootstrap.php …

Member Avatar for flynismo
0
191
Member Avatar for sireiz

Is it possible for an entity to have existence, referential and identifier dependencies at the same time? For example, apartment and building are two entities and apartment is dependent on building. It has all three dependencies.

Member Avatar for Alberto Bucur
0
106
Member Avatar for diafol

Having just found 'traits' - see http://www.daniweb.com/web-development/php/threads/468928/php-trait-method-conflicts-trait-inheritance#post2043565 I was wondering whether they could be used to share a DB connection object across disparate classes, or would the old singleton or dependency injection methods still be the way to go? I'd value any views on this.

Member Avatar for diafol
2
713
Member Avatar for thompsonSensibl

I'm having trouble identifying the functional dependencies! relation schema is SCHEDULE = {course, teacher, time, room} What are the functional dependencies for: 1. The same course is always taught by the same teacher? 2. Different courses can never be taught in the same room at the same time? 3. The …

Member Avatar for Divyab
0
110
Member Avatar for c.pentasuglia

If i have a jar file on a server, and i have a program that needs to use the file as a dependency on the server also. How could i patch up the code to build without the dependecy before i deploy it. I know it can use the dependency …

Member Avatar for DavidKroukamp
0
237
Member Avatar for stepamil

Hi All, I'm using SOAP::Lite to do some online payments. The whole mechanism is set on separate machine which is communicating with payment gateway. So WWW machine sends a message to invoke SOAP::Lite and SOAP message is sent to payment gateway. In development I had both "machines" running on one …

Member Avatar for d5e5
0
214
Member Avatar for kevin88

Hello would anyone be able to help me to understand how the following answer is derived? Given R < A= {V,W,X,Y,Z}, [CODE]Gamma = {V -> Y, YW -> Z Y -> W}> [/CODE] RTP VWY -> Z and VXY ->Z Answer: augment 3 by Y Y -> W Thank you

0
140
Member Avatar for kevin88

Hello Can someone please help me with getting a better understanding of dependency theory using Armstrong's Axioms? Thank you

Member Avatar for kevin88
0
143
Member Avatar for Ryujin

This page is very heavy. I see that the jQuery library accounts 164K which is almost 40% of the page weight. As can be seen in the source, /jquery.js loads twice, as do several other scripts! But if i remove /jquery.js library from either line, the page breaks (tabbed box …

Member Avatar for tinymark
0
185
Member Avatar for thaisf

Does anyone know of a tool, or any solution (preferably free), to automatically generate editable assembly dependency graphs (such as Visio diagrams)? I have found similar threads online, but the several tools recommended (.Net Reflector Graph add-in, Dependency Visualizer, GraphViz, etc) generate only image files (PNG, JPG, SVG, etc). The …

Member Avatar for mab maryam
0
146
Member Avatar for j0hnmcg

Hi all, Our small business is currently using an online file server for our file sharing needs. Recently, there have been complaints around the office about the server. In particular, the problem people have the biggest issue with is file linking. MS Excel links don't work for files on the …

Member Avatar for mechbas
0
159
Member Avatar for nccsbim071

Hi, I have created a window service and set some dependencies like on MSMQ, MSSQLSERVER and so. Everything is working nice. but i need to send another dependency for my service. That is on internet connection. My service is responsible for sending emails. As soon my server starts, my service …

0
94

The End.