|
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.)
|
|
|
|
|
I want to ask some questions related to OOP,I have read many articles but still confused. Kindly provide description instead of any Link.
1). What is the purpose of Inheritance?Why using Inheritance?
2). What is the purpose of Abstraction?
3). What is the purpose of Abstraction?
4). What is design pattern? Why using design pattern?
|
|
|
|
|
|
|
Blame me for that one. I suggested he post it here instead.
What is this talk of release? I do not release software. My software escapes leaving a bloody trail of designers and quality assurance people in its wake.
|
|
|
|
|
BotCar wrote: I suggested he post it here instead. Why, It's a perfectly reasonable Q&A post?
Veni, vidi, abiit domum
|
|
|
|
|
It seemed like more of a discussion type of question that would fit better in a forum than on Q&A. I guess I was wrong.
What is this talk of release? I do not release software. My software escapes leaving a bloody trail of designers and quality assurance people in its wake.
|
|
|
|
|
I think you do have a point there (as to it being a discussion point) but alas, that question sounds a lot like someone's Computer Science 101 homework question.
|
|
|
|
|
Hi,
i'm looking for some good articles about webservices. (if possible for dotnet c#)
More particular :
- Security
- How to maintain / support several client versions.
- how to handle large projects. (e.g. multiple services ? how do they work togheter ?)
All information is welcome.
Thx,
Kurt
|
|
|
|
|
There is Google, and there is the CodeProject articles section, both of which have lots to offer.
Veni, vidi, abiit domum
|
|
|
|