One of the most challenging thing I have felt while working on (complex) web application is the organizing the CSS.Here are the different approaches we have tried on multiple projects.
1: Have a different stylesheet for every web page/module.
Obviously we were very new to web apps then, and this approach resulted in too many style shee...
I've read "what-is-turing-complete" and the wikipedia page, but I'm less interested in a formal proof than in the practical implications of being Turing Complete.
What I'm actually trying to decide is if the toy language I've just designed could be used as a general-purpose language. I know I can prove it is if I can write a Turing mac...
Hi All,
I have finally decided to spend some time looking at using NHibernate for helping TDD my DAL code.
I came across this excellent "foundations of programming" eBook from Karl Seguin and he gave some small examples on using NHibernate, and how it improves the testability of your DAL.
Can anyone here offer any good resources for a...
Silly question: Does Apple provide specific guidelines for contacting servers via http vs https? Also, what data is considered to require https (ie password, geopoint, bank data, etc.) Is there a concrete guideline from Apple on this? More specifically, does anyone know exactly how Apple checks/verifies that an application should or shou...
Does anyone have a good strategy for adhering to Windows Design Guidelines with Windows Forms development in Visual Studio (2008)
For example just tring to adhere to font recommendations in Windows XP you have to know the system default font should be Tahoma, Verdana should be used for Title bars in floating windows and Trebuchet MS sh...
Anyone know of a user interface guidelines document for Android applications? Looking for something similar to Apple's or Gnome's.
...
A line in this answer, "Get used to using the Mac on its own terms", took me aback a little bit, and made me start to think about something I pondered ages ago and still haven't come up with a good answer to.
Each OS has its own guidelines for how to develop an application's interface so it fits with the OS, and consequently the mindset...
Howdy,
Are there any resources out there that defines how a well formed XML or Schema may look like for InfoPath?
When designing a new form, there is an option to base the new form off of an existing XML document or XML Schema as the data source.
I am looking for any guidelines or rules that will help me make sure the structure of...
I'm a developer in need of ammo.
If the user chooses to uninstall your program, what do you do with the data your program kept in HKEY_CURRENT_USER, and other parts of the user profile?
The program stores user data (logs, etc) in the user folders. The client wants an uninstall to remove all those data...for all users. At the same time...
When should someone use structs instead of classes or vice versa in C++? I find myself using structs when a full-blown class managing some information seems like overkill but want to indicate the information being contained are all related. I was wondering what are some good guidelines to be able to tell when one is more appropriate th...
Hi All!
I hope this is not to off-topic for this site.
Recently I have had the opportunity to review banking systems for a client. Given how much time I have had to ponder over architecture in my own projects and for a overall system architecture, it is remarkable how difficult I find this task.
I started off writing a list of feature...
Hi Guys,
I've an idea of creating a GUI to give the user the opportunity to select some controls (textbox, gridview, labels, etc) and place it in a pallet/panel/window creating a view of the controls, that, pressing Save, it will save the X, Y, W and H of all controls (including the pallet/panel/window itself) to an XML (for later show ...
I have a question that really applies to any MVC framework, I'm using the Zend Framework MVC.
When exactly should you create a new controller? What exactly should the Controller layer define?
I've created several apps with the MVC, progressively becoming more reusable, but I've always struggled with naming Controller classes. For t...
Hello all,
I am a beginner programmer and I have a question regarding coding guidelines. Would you recommend hard-wrapping my code (especially comments) at a margin (e.g. print margin)? Is this considered a good practice?
...
I'm comfortable in the MySQL space having designed several apps over the past few years, and then continuously refining performance and scalability aspects. I also have some experience working with memcached to provide application side speed-ups on frequently queried result sets. And recently I implemented the Amazon SDB as my primary ...
How important is it for a bug report to be formatted? What should it contain?
I see the following sections in a bug report usually:
steps to reproduce
what I see
what I have to see
explanation
What is the best solution for formatting a bug report and what it should contain?
...
Does anyone know what the HIG are saying about the black HUD UI in OS X?
...
Which is the first test I should write when following the TDD guidelines? A test for the whole system or for the smallest core method?
Example: A project should read a CSV and convert it to XML. My first test should be:
Take a CSV (input) and the corresponding XML (expected) and checking if the application does the conversion correctl...
I am new to both the MVC pattern and PHP frameworks. I picked up a copy of CodeIgniter for Rapid PHP Application Development, but the author does not use the M part of MVC and I can't seem to get his code examples to work. CodeIgniter's User Guide is not very detailed about what goes into which component either.
What I'm looking for are...
We need to develop guidelines for writing comments when we register code in version control system (such as TFS).
E.g., when we submit a bugfix, we create a comment "Fixed bug #..."
We tried to brainstorm on this topic, but most of the ideas bring too little added value.
I would appreciate any suggestions for this.
...