|
Bernhard Hiller wrote: Honestly: throw it away and create it from scratch with proper design.
Of from the point of view of billable hours that is probably a good idea.
But perhaps from the point of view that the company wants it yesterday maybe not so good.
|
|
|
|
|
Ok lets agree on one thing , ribbon bars at first glance look pretty cool , but as many switched from excel 2003 to 2007 I bet the novelty ran out pretty quickly.
For all the software planners your there, heres a very basic tip when it comes to using ribbon bars
1. When people are used to how your toolbars are organized its generally a bad idea to switch to a smaller tabbed version where people have to guess.
2. With screens gettign wider and not longer, putting this massive chunk pf space at the top of your app is not so good. big workspace makes for easier use.
My apologies if this rant is a duplicate of some previous one. . . but I just dived into Office 2010 with some course-ware I am going though
Chona1171
Web Developer (C#), Silverlight
|
|
|
|
|
Chona1171 wrote: With screens gettign wider and not longer
Buy a monitor which supports not only landscape, but also portrait format.
|
|
|
|
|
Yes totally that will work too tell your customers they bought the wrong monitor
Chona1171
Web Developer (C#), Silverlight
|
|
|
|
|
Chona1171 wrote: Ok lets agree on one thing It's usually not the developers' call. Including a "ribbon" makes it look "modern".
Customers want "modern". It's that simple
Chona1171 wrote: the novelty ran out pretty quickly. There's always a new hype
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Eddy Vluggen wrote: Customers want "modern". It's that simple
Yeah they do , also have your spent more than 5 minutes in a spec meeting and thought to yourself customers kinda know what they want but have absolutely no idea what they need ?!
Eddy Vluggen wrote: There's always a new hype :->
there is , one person goes metro style the whole planet has to go , I went to tech ed this year , and for the first time try to familiarize myself with windows 8, it took nearly forever to figure things out , for really basic operations. then they did away with the start button. . . I mean seriously !? both apple and linux have implemented this feature and all of a sudden some genius at microsoft believes no its better to have a pane with randomly sized blocks in an unordered list so someone can have fun while looking for their apps.
Now dont get me wrong first glance it looked good. . trendy as they say.
then on first use was like my WTF moment for the year
first feature I installed , to get the start icon back
you can have a splash screen that is animated, a paper clip that pops up and annoys you while you are trying to write a document and you can have an animation a dog sniffing while you are trying to search your documents. but a programs biggest function is to finish a task and not entertain you
Chona1171
Web Developer (C#), Silverlight
|
|
|
|
|
Chona1171 wrote: customers kinda know what they want
I've been in a number of meetings where even that was in doubt
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
|
Albert Holguin wrote: ...because it's new and different... ..complete industries filled with people who actively refuse to think
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Albert Holguin wrote: They're currently trying to force me to change the name of the software I work on to something else
Why is the marketing name a problem for the code that you work on?
|
|
|
|
|
Mostly because it implies something that the software doesn't really do (can't name names here )... but they won't listen.
What do I know, I've only been working in this field for about ten years....just a rookie...
|
|
|
|
|
hi
what is plugin?
Where can I find more documentation about plugin methods?
|
|
|
|
|
hadishf wrote: what is plugin?
A piece of code that "plugs into" existing code.
hadishf wrote: Where can I find more documentation about plugin methods? Google?
It's not a uniform method; it's a generic term that merely describes how the code is structured. Different applications will use different ways to load/use plugins.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
The term plugin simply means that you can "plug in" a piece of code onto another to enhance it's capabilities. As far as methods, there's really no standard way of doing it. It's very much application dependent.
A plugin is a concept... sort of like "cloud computing"... it's a concept but there's no set way of accomplishing it.
|
|
|
|
|
Hi
if i have same table structure is it possible to create one BLL class and one DAL class for handle operation for these table
tnx
|
|
|
|
|
Mahdi_kishislan wrote: is it possible
Yes. Anything else I can help you with?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Hello,
I am looking at using an embedded board running Linux that has some sensors attached. All the code is written and running to provide the data and I now need to supply it to a web client.
Now my knowledge of web servers and browsers is OK but....
The platform is fairly powerful but I would like to keep overhead to a minimum and have as much processing as possible on the client side.
I am trying to identify what is needed for the web server on the embedded side;
Do I need to have something to host Java ?
As for the client I need to render real time updates to the data so my view is that a combination of HTML and Java is needed to make it flexible.
My main questions are:
How to get the data off the platform to the client (web browser) assuming it has a network connection (LAN/WiFi). Are there any particular webservers designed to do this and how does Java come into play ?
How best to render the real time data on the client without having to rely on an internet connection to api's such as google charting ?
Its got me really scratching my head.
I have worked on systems before where the java is running on a platform that needs to access local resources via the javascript bindings but supply the data across a network has me plexed.
Any advice help appreciated.
Thanks
Marc
|
|
|
|
|
The 'server' responds to html requests by returning a page.
In this case all you need to do is return a page with the current data.
So you need
1. A server TCP port
2. code to accept request from port
3. code to create html response
4. code to send html response.
You can make steps 2-3 very easy by doing the following
a. Don't try to interpret the request. Any request gets an http response.
b. Hard code the html response. It isn't that hard. You construct it with the new data each time.
purplehorace wrote: How best to render the real time data on the client without having to rely on an
internet connection to api's such as google charting ?
Eh? You said the server overhead is kept to minimum so you just return the data. If the client wants to chart it they must collect it and do something with it.
|
|
|
|
|
Hi jschell thanks for the response.
Ok so I understand that it needs the normal 80 port to host the web/http requests and an additional port/socket to send/receive the data.
I dont understand how the java side of things hook into the server; with a server like Apache one normally writes a webpage HTML and hosts it ready for a browser/client to request and render it. When the web page includes java eg. flow for the graphing how does that library from the server result in the appropriate code getting to the client ?
I would like to make it so that the rendering of the graph is platform agnostic, so it can be rendered on an android device/OSX device/Windows device/Linux device thats another bit that is puzzling me.
Thanks
Marc
|
|
|
|
|
Hi Marc,
When a client sends a GET request to a socket the socket returns a byte array. The byte array can just be the content of a html-page; a html that on Apache would be a file, but in your case is hard coded by the java server.
Have a look at this: http://cs.au.dk/~amoeller/WWW/javaweb/server.html[^]
Whenever a client sends you a request, you can use the relative url and/or parameters to decide what kind of data the client needs. You then return a byte array that represents that need. Please notice that you can return embedded javascript that uses google chart to display data. The processing of the byte array is done client-side, so your server code do not need to be expensive in processing terms.
I hope it helps.
Kind Regards,
Keld Ølykke
|
|
|
|
|
purplehorace wrote: Ok so I understand that it needs the normal 80 port to host the web/http requests and an additional port/socket to send/receive the data.
It only needs one port. It can be any port but 80 is the normal one.
purplehorace wrote: I dont understand how the java side of things hook into the server
It doesn't have to be java and a C++ implementation would have much less overhead because the java VM by itself is not trivial where a bare bones http responder is.
But if you want to do java then...
1. Java app starts
2. It opens a TCP server socket (port 80), google for examples.
3. It does not 'do' anything associated with html directly because it doesn't need to. You can write a very minimal request parser and, as I already said, you return a http response that you have hard coded.
purplehorace wrote: flow for the graphing ho
What "graphing"? That isn't a minimal process.
If you want to create an entire functioning http server then do so. You might look into tomcat. However that isn't going to be minimal.
purplehorace wrote: I would like to make it so that the rendering of the graph is platform agnostic, so it can be rendered on an android device/OSX device/Windows
That however has nothing to do with achieving a minimalistic server. It has everything to do with what is in the html response. And you can do it either with the minimum version or with a full blown monster. Or fail with both as well if you don't be careful. And a minimalistic http response is more likely to actually work than attempting to put a bunch of enhancements in the response.
|
|
|
|
|
Hi all,
I am not sure how to organize my project.
Given a quite complex application with 100+ DLL (split in GUI, "Shared" (for DTO and interfaces), BL, DAL and some user controls), I currently have folders created for
- GUI
- Shared
- BL (for BL and DAL DLL)
successful builds copy the newly created DLL in the relevant folder, all project references point to the folder.
Especially with GUI (user controls) I run in the problem that under certain circumstances that I can not clearly identify DLL with a older version are searched, but not found when try to open the windows form on which the control is used in the development environment.
In runtime, everything works fine.
Now to my question:
Would you support a solution with just one single folder for all DLL in the whole project?
Any comments on this are greatly appreciated.
Regards
Thomas Heitmüller
|
|
|
|
|
We do not care for organizing the dlls into different folders, and some projects are really complex (more than 100 dll, plus some xml and txt files). Localized resources automatically go into their specific folders (I did not count them here).
By the way, cleaning and re-building the application may help with strange problems encountered when using Visual Studio's designer.
|
|
|
|
|
Hi Thomas,
I have never worked with 100+ dll's, but works for me is to have a build/bin folder that contains all dll's.
I use NAnt to clean that folder, copy 3rd parties dll's there and to build the project dll's into that folder as well.
I hookup visual studio with relative paths to that build/bin folder too. That ensures me that a dll only exists in 1 version e.g. log4net.dll is copied by nant to the build/bin folder, so when visual studio builds into its project temp folder it copies the version of log4net.dll from the build/bin folder.
It might be an idea to have all visual studio projects build into 1 folder too, but I do not have much experience with that. Maybe another can guide you on that.
Kind Regards,
Keld Ølykke
|
|
|
|
|
theitmueller wrote: used in the development environment
What does "development environment" mean exactly?
Are you running this is Visual Studio? Or are you building and then deploying to another box?
Are the dlls all linked statically or are you loading some/all dynamically? If the latter then you MUST have validation code which, at a minimum should provide error output that tells you where it is looking for them?
theitmueller wrote: Would you support a solution with just one single folder for all DLL in the whole project
I have a folder with folders under it for each library. That is because some libraries consist of more than one dll.
Additionally you might look out for libraries that rely on other libraries. So your VS project contains libA but that requires libB and your project does not have libB in it (and libB isn't a normal library on the system.)
|
|
|
|