how to write a web browser from stratch use c [closed] - c

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
These days I'm aware of the powerful web browser. In order to know what happend behind the screen. I want to write a simple web browser. But When I try to find document about that. Nothing find! Any one konw how to write a simple web browser or know where is the book will be useful. Please tell me !
Thank you very much!

Start off with a simple browser -- e.g., look at existing text only ones like lynx or w3m. Once you've got them cracked, then you can work up to adding graphical elements. It can get complicated fairly quickly, so make sure you've read the appropriate RFCs for HTTP and the W3C standards as well. These aren't light reading material though :-)

Here's something to get you started:
https://developer.mozilla.org/en/Download_Mozilla_Source_Code
C might not be the best language for this job.

Related

Does Mirror API support Node JS..? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I have a service built entirely in Node JS. So, how can I integrate that with Mirror API, say Share Entities..?
I mean, is it as good as parsing just the JSON..?
The easiest way is to use the googleapis package to get access to the "mirror v1" package. See https://github.com/burcu/google-api-nodejs-client for more info on the package and then you can do something like:
var google = require('googleapis');
google.discover('mirror', 'v1' ).execute(function(err,client){
console.log( client );
});
To get the client.mirror object, which will have client.mirror.timeline, client.mirror.subscriptions, etc.
(I'm working on sample code to illustrate this. I'll try to update this answer when it is ready.)
Technically, because Google Glass apps run in the cloud, and everything is done through REST, any server is capable of being a Glass app, no matter were it runs or what language it is.
In other words, yes.

How to make standalone database application? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
How to make standalone database application like metastock, tradestation etc. ?
They colud handle some what large amount of database and those database files can take one computer to another.
It is possible to read, write or delete data of those database from the application.
Can anybody have any idea of how those applications are working? And what type of database they are?How to develop an database system like this? If you know know anything about it, Please share it. Thaks in advance.
Well, if you're just looking for a standalone db, you could do it in access but I don't know how big you are going to want it to get, so access may be limiting.
MYSQL is also another option (mostly as it's free for the common folk).
look into sqlite. It's very portable. However it can't handle concurrent queries.
http://www.sqlite.org/

How to start programming? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I read a lot of books about C/C++ in Linux and write simple programs. Now I want to try myself with some project. What you can recommend to? (Sorry for my bad English)
If you don't know what to do and just want to get a little experience, try implementing the towers of Hanoi, it's a classical programming exercise (the Wikipedia article might seem frightening at first sight, but the actual algorithm is dead-simple and you'll find lots of material about it online, even a lot of sample implementations). First, start with a text-only solution that just prints numbers. Then, try to "draw" the towers using ASCII art. You can also do this with a GUI, but as a novice it's easiest to start with text-based version.

multi-auth with tipfy on App Engine [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
I'm working with the tipfy framework (tipfy.org) on app engine and am having some real problems. I've been trying to get an extention "auth-extention" to work all night. It allows users to sign in via facebook/twitter/openid etc..
The extention can be found at the link below, the code looks like pretty straight forward if your python ninja, but I'm new to all this and frankly its baffaling!
I've spent the last 24hours try to work it out, but I keep getting errors.
There seems to be around 1k downloads of the mod I'm trying to integrate and not many complaints so It must be something simple I'm doing wrong.
Heres a link to the multi auth plugin:
http://tipfy-auth.appspot.com/
http://code.google.com/p/tipfy-ext-auth/source/browse/#hg/examples/multi-auth
All I need is the login system above integrated, which according to the tipfy docs should be pretty straight forward, but for some reason.. it's bundled in a way that isn't straight out of the box use.
What I was really getting at was.. to ask if anyone could attach a working app with the login system above (the actual source of it seems to be provided) so I can try and understand where I've gone wrong.. it would be greatly appreciated andI'd be happy to send you a small reward.

how website find them the request come from a browser or from any other [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
how website checked that a request come from a browser or from a programs.
in javascript you may use navigator.userAgent. note that this may vary from browser to browser. a good example how to use it can be found at
quirksmode.
However be aware that you can edit the userAgentString at any time using the appropriate browser, script or code. so no absolute guarantee on the result - but at least a starting point.
cheers,
markus
If you would prefer to use server side code, and presuming you are using .net, the Request.Browser property will provide details of the agent making the request.

Resources