I'm working on a rails app to integrate with infusionsoft's xmlrpc api. Does anyone have any tips or pointers for integrating a system smoothly? What are best practices? How do you best re-factor code?
Thanks for any tips / ideas
I'm currently trying to get into the Java EE development with the Spring framework. As I'm new to Spring, it is hard to imaging how a good running project should start off.
Do you have any best practices, tipps or major DO NOTs for a starter? How did you start with Spring - big project or small tutorial-like applications? Which technology did you use right away: AOP, complex Hibernate...
Hello,
Maybe someone know how to write your own framework, best practices, maybe any books or samples. I think that writing own framework gives one better understanding of how it all works, thanks for help
Hi all,
I came across this issue or maybe something I didn't realize but I did a Begin Tran and had some code inside it and never ran a commit or rollback as I forgot about it. That caused all many of the database queries or even just a simple select top 1000 command were just sitting on loading..?
Now it probably has put some locks on the tables I guess since it did not let me query them..but I just wanted to know what exactly happened and what are the practices to be followed here ?
I'm looking for a decent book or online resource to help me learn about developing large Javascript applications.
There are lots of books that go over the fundamental and advanced features of JS, but I'm looking for something which covers application structure, coding practices etc.
Any ideas?
I am using CodeProject's well known Open Session in View to handle NHibernate Sessions. Does it works well with Level 2 Cache? Anyone has succeeded doing it? Should I use NH.Burrow instead? Any advice on l2 cache in asp.net best practices is appreciated.
Edit: link to CodeProject's article: http://www.codeproject.com/KB/architecture/NHibernateBestPractices.aspx
This is kind of a philosophical question.
Basically people often ask if I am logging - and since I am not a full time programmer, but someone who programs often but is actually more of a requirements analyst, I don't know all the best practices.
I use Java a lot so I often do things like
System.out.println()
What's the difference in theory between the two? Ultimately aren't I also logging? Esp, if I prefix my comments with something like "ERROR:" or "WARN:" ?
If I want to sell a web application as an installable product on the customer's servers, what are the best method practices for enforcing licensing such that it's not easily ripped and pirated?
What are the things to consider and watch out for when designing a website with AJAX? Must take care of conditions, say timeouts, error handling, for instance?
Best practices? What parameters to take care of while designing and coding?
Any experiences on how to document Entity Framework 4 based Database projects?
There is the Document and Summary properties on the Entities, but if we want to regenerate the model from the database at some point, it will be lost!
Is there some way to map documentation data inside SQL to the Entities in the EDMX file so it is safe.
Suggestions of other best practices? Ideally I want to be able to augo generate html/helpfile documentation from the DB when we deploy.
Our application uses a topic to push message to a small set of subscribers. what sort of things should i look for when modeling a jms message with respect to the size of the actual message to be pushed. Are there any known limits or is application server specific? Any best practices or suggestions on this topic (pun unintended)?
Hello,
I have an ANTLR grammar that can parse and evaluate simple expressions like 1+2*4, etc.
What I would like to do is to evaluate expressions like 2+$a-$b/4 where the $ variables are dynamic variables, that come from an external source and are continuously updated.
Is there any design pattern on how to do this using ANTLR, best practices, etc?
Shall I "substring" the $a with the updated value ($a - 4.34)
A nicer way to do this?
Thx
A while ago I was given the task of updating and extending the functionality of a software project. I was given a year to make the needed changes working solo.
A month into development I came to the conclusion that it would take longer to change the existing product than to rewrite it from the ground up. I'd never attempted a complete rewrite so I talked with my boss about it and he was thrilled with the idea.
I'm a fan of agile development but had never had the opportunity to take advantage of all of the prescribed practices so when I set to work I tried to incorporate as many as I could. I didn't have direct access to the customer and my coworkers (non-programmers) knew the business domain but were already so busy they didn't really have time to participate in design meetings so I resigned to working in the dark and occasionally calling one of them over to my desk to get feedback on my progress. I used TDD and refactored mercilessly and even tried taking a domain driven design approach. Things went well for a while.
As the deadline came closer and the complexity of the project grew my productivity start slipping. I found myself cutting corners and ignoring the practices I had established as the pressure increased to meet the deadline. I also started working late nights and weekends to keep up with the load.
In the end it made little difference how hard I worked. The project missed its deadline and what was completed wasn't enough to give to the customer. I had failed. Not only had I not finished on time but the previous version had sat untouched for almost a year so it wouldn't be of any help. Luckily we had another product that offered some of the same functionality. My boss decided to cancel the project entirely and moved all our orphaned customers to the other product. I spent weeks (along with everyone else at the company) manning the phones providing technical support for those customers. After it was all over, my boss was gracious enough not to fire me for nearly ruining the company. I was moved to the other product and have been trying to redeem myself ever since.
Where did I go wrong? Has anyone else had to deal with this kind of defeat? How did you recover?
I have an application which intensively uses DB (SQL Server).
As it must have high performance I would like to know the fastest way to insert record into DB.Fastest from the standpoint of execution time.
What should I use ?
As I know the fastest way is to create stored procedure and to call it from code (ADO.NET).
Please let me know is there any better way or may be there are is some other practices to increase performance.
If I compile branch A, then switch to branch B, compile, and switch back to branch A.
All the object files touched by the compile of branch B have to be recompiled!
Normally one does not check-in object files, but there seems little choice here.
What are the ideal working practices here?
Is there a general best-practices way of being notified when the current view controller is being dismissed (either popped or dismissModalDialog'd)? I can't use -viewWillDisappear:, since that also gets called when another viewController is pushed atop the current one.
From the title, I believe it to be a straight forward question, but looking into the "world of Business Objects" I can't seem to put my finger on anything solid as to what a Business Object should be. Are there any best practices that I should follow, or even any design patterns?
I have found a book, "Expert C# Business Objects", would this be my best starting point to get a better understanding?
Hi all,
I am implementing an eCommerce application using ASP.Net. I would like to know if custom Google search is sufficient enough or if we plan to go implement our search functionality.. how do we go about doing it?
Ideas and Suggestions and best practices are most welcome.
Regards,
Abdel Olakara
Any tips or best practices for unit testing Google Wave robots written in Java? I'm expecting to deploy on AppEngine, if that helps. I'm a fan of TDD but new to both Wave Robots and AppEngine, so I'm hoping to use TDD to help me explore the design space.
Is there a set of best-practices or advice to avoid pop up windows being blocked by the different browsers pop-up blockers?
By pop-up I mean windows created by either window.open or window.showModalDialog methods.
Thanks a lot
Hello!
Is there a source, which I could use to learn some of the most used and popular practices regarding Actor-/Agent-oriented programming. My primary concern is about parallelism and distribution limited to the mentioned scheme - Actors, message passing.
Should I begin with Erlang documentation or maybe there is any kind of book that describes the most important building blocks when programming Actor-oriented?
Thank you!
(Most useful examples would be in Scala or F#)
my movie is 500 by 200 px. However i am loading display object much larger than that and have just a portion of them show. How do i programatically get the visible dimesions? root.stage.width gives me the extended value.
for the sake of good programing practices i dont want to hardcore the values.
Say I have a web component that uses jQuery and I want to distribute it as a packaged component.
I need a way to ensure that the jQuery library is available on or after the page loads, but I also want to check that the containing html page, or another unknown component that may reference jQuery hasn't already added the library to the page.
At the moment the best example I've seen is this
http://www.squidoo.com/load-jQuery-dynamically
It would need a little tweaking, but I was wondering if there were any other best practices.