Forum written in Python? [closed] - django

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.
I am looking to make an interactive forum in Python/Django. I googled up things, looked up on your site ( there is a question where a person wants to implement a Digg like system ) but nothing definite has come up for what I want an answer to.
Is it possible to write a basic interactive forum in Python which allows say login system for one with defined roles for users, different categories say Literature and Science for now. Upload and download feature in each of the category. Also, I would like to have some good GUI.
So, is it possible? ( my search uptil now says it is ) but it would then require for me to go through PHP or something else.
What I really want to know is that is it possible to do it entirely in Django/Python ( includes everything for managing database and stuff )? If not, how much PHP and other stuff do I need?
And how much work am I looking at it in Python/Django? ( Like is it a good thing to have over PHP and/or any other system already in place)
Any help is much appreciated!

Yes. Python is a general purpose programming language, thus, it is completely capable of creating just about any kind of interactive forum you can imagine. You would not have to use any PHP... this could be done completely in Python. There are many forums already created in Django.

Related

How to proceed to C++ application development [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 just covered The C++ Language by B. Stroustrup and looking for some application development.
How to start for it. Means GUI, networking databases and other related stuffs.
Should i use individual libraries or use some big ones like .net or something..
please recommend me the books and other resources to begin.
Thanks.
SO is not the best place to ask such questions (try some resources for newbies), but here are some tips from my experience:
Do not start practising C++ by doing GUI, networking, databases and other enterprise stuff. Try to start with something simple and try to avoid using much frameworks (or try to understand what is happening under the hood).
If you need to learn how to make enterprise applications (forms + database), do not do it C++, as there are more suitable languages for this, e.g. Java or C#.
But it you want to master your C++ skills, try to make, for example, a simple game. And try to do as much things as possible manually. C++ is a hard language which offers infinite ways of writing bad code and you need to understand how does it work before going deep into frameworks. This will teach you how to (and how not to) design and write C++ code.
If you decide to make a game, I would suggest www.libsdl.org and www.gamedev.net (there are a lot of tutorials and other learning materials).
As for a big framework, have a look at Qt (qt-project.org).

How to read and write "Excel" with c/c++ (in smartphone app develop) [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.
I'm a smartphone app developer.
I want to make a app running in iOS,android,winphone.
I use cocos2d-x platform tool to make this app. it base of c/c++ language.
So,
Dose anyone can tell me How to read and write excel with c/c++
For what purpose? Just reading the file can be done by treating it as an opaque stream of bytes, just like any other file.
I doubt that's what you really mean, though.
If you want to interpret the file's contents, and present/update the calculations, then surely you must realize that the answer to "how" that is done must be gigantic? Excel is a huge, huge, and very old application, probably the result of many millions of lines of code.
Nobody can tell you "how" to interpret that in a simple answer here.
The closest thing you can probably get here is a recommendation on a library to use. I had a quick look, and LibXL was the first one I found for C++. It is a commercial library, and I have no experience with it.

I want to create a really simple cross platform browser in C++. Where to begin? [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.
All I want the browser to do right now is fetch a webpage (www.google.com) off the internet. Does boost Asio provide all the functionality I need? What library can provide the functionality I need?
# perreal - I want both
There are numerous C and C++ libraries out there that can be used to perform simple socket operations, and numerous libraries that can support simple HTTP GET requests.
However, that is far from creating a browser. Browsers do a lot of things beyond simply opening sockets, such as compression, encryption, caching, rendering, interpretation, etc.
If your goal is simply to make an HTTP GET request, then libcurl is one possible library you can look at. I am sure there are others out there. If you actually want to create a full-fledged browser, you might want to start by modifying an existing browser. Chromium, the opensource project behind Chrome, which is based on the WebKit rendering engine would be a good place to start.
You should look at Qt because it already has a webkit framework, is cross-platform portable and you could get a minimally working version up and running in probably less than 100 lines of code.

How to encrypt a text [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 need to implement a simple text encryption in C++ without using any existing framworks. This is purely for educational purpose to learn the in-and-outs and to learn the way to implement such a system. I am not planning to implement this in production code. I can use Windows APIs but it won't be cross platform. I am trying to learn something can work across multiple platforms. the best way to implement this is implement using C/C++. Please share good resources or links in this regard.
Depending on what you actually want, you could look at the CipherSaber project: instructions to implement your own RC4 encryption code for a simple IV+text format.
However this is an academic exercise only: you should never use your own crypto code in production unless you really know what you're doing. You could also read Schneier's Applied Cryptography for a good introduction to all of this stuff.

Web service for PDF generation [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.
Does anybody know where I can find a Public Restful Web Service for PDF Generation? If so, do you have any experience using it (is it reliable/fast etc if commercial)?
The service needs to be able to take in any number of formats and return a PDF document.
EDIT: Please refrain from commenting or answering unless you know what a RESTful web service is and does. The comment war below was due mostly to my assumption that this was generally obvious to present-day programmers.
Here's one: pdflayer API
I've also created my own in the past, using Sun's Star Office Server (now Oracle Open Office Server, I think). The pricing is ridiculous, of course.
Not REST specific, but if you want to convert html documents or strings to pdf, please note that complex css-based formatting rules can be problematic in places.
Maybe some experts can bet it right, but that was my experience a few years ago.