I have a bunch of methods that make use of jquery to basically generate a list view. The problem is I need to use this thing multiple times, so I need to make it reusable.
Should I just write a jquery plugin?
Should I write a non-jquery plugin Js Object (like a class in non-prototype languages) and just create instances as I need?
...
Hey :)
I am currently trying to create an engine for a new application.
Design is quite complex and i realy need a way to create a reference or a pointer or what ever way to remotely modify and access the datas. Datas must be kept in a single place and must not be duplicated.
Is there a way do get an object by reference ?
For example ...
Is it possible? and how do you do it? Im using vs2008 report designer.
Thanks!!
MICROSOFT seems to say no...Darn Them... get your stuff together!!
...
This is more of a subjective question, so I'm going to preemptively mark it as community wiki.
Basically, I've found that in most of my code, there are many classes, many of which use each other, but few of which are directly related to each other. I look back at my college days, and think of the traditional class Cat : Animal type exam...
I have a Transaction monad that looks like:
newtype Transaction t m a = .. my monad stack here ..
t is a phantom type I use to make sure the transactions I chain up apply to the same backend store.
My main loop's iteration uses a type like:
Transaction DB IO (Widget (Transaction DB IO ()))
The above type means: "A transaction that g...
Platform: Windows /
Database: Access /
Language: C++
Several years ago I had a Windows app that uses a database and I just installed an empty database as part of the install process. The database had all of the queries and macros I needed.
I am wondering what the current best practice for this sort of thing is: Do you build the databas...
How to do it? What design patterns? Ideally would be sample code in the answer.
...
I have the following class and my question lies with it's GetComponent function
class GameObject
{
private List<GameComponent> _components = new List<GameComponent>();
public void AddComponent(GameComponent component)
void RemoveComponent(string name)
public T GetComponent<T>(string name) where T : GameComponent
}
cl...
In the same way a web or desktop app might have 3 or n tiers - UI, Business, Data for example - what is the suggested structure for an Android application? How do you group classes together, what layers do you have etc?
I'm just starting Androi dev (an internet based app that must respond to incoming notifications) and have no real fee...
Anyone know what font that is? The 'British Remains' one that is.
Link
...
I tried to look for a tutorial that tell me how to apply my own interface design on iPad application in (Xcode or interface builder don't know!) such as background images, overriding default button look and feel, but couldn't find anything, don't know may be i was trying the wrong keywords,
Can anyone give me some good links ?
Thanks
...
Hi,
I know that MVC is highly acclaimed for PHP applications, but I am not sure at all that it fits in JavaScript. If you think otherwise, then please explain how and where you handle common scenarios like AJAX requests, data saving (offline storage), presentation, how do you handle controller logic (do you have a front controller?), an...
What works best for you and how do you collate the feedback?
...
Hey,
In Colors theory, what is the difference between saturation and brightness?
Thanks for help and time.
...
Hi, I need to help to show wall posts from the friends of the logged in user, and the user himself ofc.. :P
I've searched on every coding forums, and google, did not find the answer I was looking for :/
The Session for the logged in user are:
$_SESSION['userid']
This is the MySQL Query I have so far:
SELECT DISTINCT * FROM status_up...
I noted that we use design for design software, design class diagrams, design, ... I also know we use design for UI design. Why we use same word for two different purposes? Is there a way to distinguish between them?
tnks
...
My question is not programming language specific, but its more generic question to see the way of people thinking.
Usually in Large development houses there are specific roles for each job, such as Programmers and architects. so architects point of view is to have a perfect architect and solution design, on the other hand programmers a...
Hello.
For my current project i am writing a JTable based GUI. One of the main features is the ability to adjust the sizes of all cells at runtime, depending on the contents (which change over time). Currently all cells have the same height and width, when the application is started. I would like to change that to a more sophisticated a...
I am trying to achieve something like the following:
class Foo
{
public virtual int Number { get; set; }
public Foo(int n)
{
Number = n; //Virtual member call in constructor
}
public void Do() {
Console.WriteLine(Number);
}
}
class Bar : Foo
{
public override int Number
{
get
...
What is your normal method on styling print style sheets when it comes to font faces.
Traditionally serif fonts are better for printed media, but if the sans serif font is still clear and legible, would it be a better option for a print style sheet, if it made the print outs match the website more.
...