|
Hi people,
I want to develop a news site with articles, where each article has an option of posting comments to it in the bottom, in a discussion/threaded way.
I'd like to do every thing myself without using any ready-made libraries for that matter.
The problem is that I don't know where to start and what tools to select and learn.
I am a SW developer in C++/OpenGL/3D... I also know a fair amount of SQL and a little bit of Python.
What set of tools should I pick?
C#/ASP.NET ??
PHP??
Java??
Python?
Please advise.
Many thanks in advance.
|
|
|
|
|
C#/ASP.NET. It's OO and C# looks like C++, it's the most friendly environment for C++ devs to write web apps.
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
so i'm writing some basic drag-drop code and it all works fine in FF3 but in IE it seems that the mouseup event isn't being handled properly ... does anyone know of any "known issues" related to this?
"mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"
|
|
|
|
|
The only one i can think of off-hand is that if the element you're dragging has text content IE will start selecting it, which can get weird but isn't really a big deal to work around. Oh, and if you're detaching and re-attaching elements containing form controls, it'll sometimes lose attributes.
Keep in mind: IE's event bubbling model works a bit... differently. If you have event handlers at multiple levels, and depend on events reaching them in a certain order, then this might lead to problems.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
I have a classic asp application which allows the use of diacritics (accented characters). The values containing the characters are being passed between a series of pages (wizard pattern) until the user submits the final page.
As I inspect each page in the flow, the diacritics are being passed correctly between all the previous pages. But on the final submit the entire characters are being stripped from the value submitted. So, "Producciòn" becomes "Produccin". I'm just using request.form("....") to retrieve the values.
The page headers are all the same (same includes same html head settings). Why would the characters be dropped?
|
|
|
|
|
Are they being dropped prior to submission (check the values in the form fields), during submission (check the actual POST with Fiddler or equiv), or during receipt (examine the request server-side; if you're doing ASP.NET, then the raw request is available somewhere in the current HttpContext object i believe, but poke around a bit).
My first guess would be that you have the encoding set incorrectly on the last page, causing the browser to "correct" the characters... but a bit of detective work should take you a lot further than that.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Ok, a co-worker was able to help me. The issue was most definately an encoding issue as was stated. I believed that was the case, but had been changing the encoding on the referring and target pages w/o any luck. As it turns out I had to change the encoding on every page in the process and that fixed the problem. Here's the page that saved my hide:
http://www.hanselman.com/blog/InternationalizationAndClassicASP.aspx [^]
Before the changes, this is the value that was passed between the pages:
departmentname=Bo%F1ar+-+Producci%F3n
now the value being passed is:
departmentname=Bo%C3%B1ar+-+Producci%C3%B3n
I appreciate the help given, thank you!
|
|
|
|
|
Hello
Is it possible to embed a WPF user control (made in vb.net) in a web page (written in HTML) ?
|
|
|
|
|
Hi All,
I am facing a problem and hope all of you will try your best to solve it.
I have a requirement to create a page which will work like the Google lab. I have read some articalls and other things but not able to find out how to start and how i can Develop. Please guide me.
Hoping for the responce.
Thanks a lot in advance.
|
|
|
|
|
Google labs is just a set of links to other google applications plus the facilty to add comments etc. What are you trying to achieve here?
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Hi Bob,
Thanks for you reply.
Actually I want to perform the following functionality.
When user enter any character in the text box,system should show all the suggestions related to the entered character. For eg if we press “a” the system should show all the words stored in database which starts with a. Just like google lab. When we press “a” in google lab shows all values which start with “a” in drop down.
Hope you understand what I want to perform.
Thanks again.
RK..
|
|
|
|
|
So its nothing to do with Google Labs, you just want a drop down combo box with autocomplete. You need to bind a combo box to your datasource and (probably) use AJAX to give you your autocomplete functionality.
For further details, google it
Bob
Ashfield Consultants Ltd
|
|
|
|
|
|
Sorry, I went to http://labs.google.com as you just said google labs.
Anyway, I had a look and in my opinion its really a fairly basic control that should be easy to reproduce. I suspect getting the performance from the database would be the real challenge.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Thanks Bob, I will try to search something. If you get something related to this please post it.
Thanks,
Rk..
|
|
|
|
|
|
Hi, how can i know and change the status to "downloaded" if the file download is already done downloading?
For example i want to download an mp3 file, since i used mime types i can't control and know that the download process is already finished..
Johnny F.
modified on Monday, July 7, 2008 3:10 PM
|
|
|
|
|
I don't think there is any way to know.
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
Is there any other idea on how to? Coz in musicpass.com they can know if you have successfully finished downloading on the tracks.
Thanks in advance..
|
|
|
|
|
Well, I would assume they are not just doing a standard download that links to a file on a server then.
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
Change the status of what?
Most browsers will automatically keep track of the "visited" state of links, all you really need to do is set up a CSS class that has the look you want "downloaded" items to have...
Rather than letting your web server serve files directly, you could write a script of some sort to serve them upon request, and record the download afterwards (being sure to avoid recording it if the transmission is interrupted). This isn't terribly reliable, and will probably add a fair bit of load to your server...
You could force users to install a custom application that does nothing but download files from your site and notify you after the download completes successfully. This is sure to drive away potential users...
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Sites that do this tend to use their own custom download manager.
|
|
|
|
|
Hi,
am developed website. In that user logged in and next he go to other sites ex, google.com and he come back to previous page meam login page, then the system asks user to login again. how to maintain session values until unless user click clear session link?
Why is it that some sites know that user was logged in already while mine is not? Can anyone tell me what are the modification I have to do..?
I used C#,asp.net 2.0.
|
|
|
|
|
We have an ASP.NET forum.
The sites of which you speak, store a cookie on your PC to use to verify login.
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
Does anyone have any suggestions for Customizable Image Coding?
Right now I have a small php code that I can get the TEXT in "code.php?text=TEXT" to display over an image, and alter its starting location on the image but it is standard windows text so I haven't been able to alter its scale, skew or orientation.
Obviously I'd like to be able to do something more like this
http://www.imagechef.com/ic/make.jsp?tid=Tree+Heart
Where it seems like they have a designated text area that the text will deform to fit within where possible.
Any suggestions?
|
|
|
|