MacNN Forums (http://forums.macnn.com/)
-   Developer Center (http://forums.macnn.com/developer-center/)
-   -   Best Setup For A Website (http://forums.macnn.com/79/developer-center/496874/best-setup-for-a-website/)

 
Waragainstsleep Jan 7, 2013 10:36 AM
Best Setup For A Website
I'm looking to build a site that does the following two things:

You type or paste text data into boxes on the site, basically just filling out a form, your text is then reformatted into one of a choice of templates, and finally it spits out a pdf of your nicely formatted text for you;

Your data is stored in a database for subsequent re-use;



It should also fill the following criteria:

Authentication will be handled via FaceBook. The site will be advertised there, so I want a user to click the ad, it generates them an account to save their pdf under, then lets them fill it out and get a copy to print or email;

As the admin, myself and others in my employ should be able to conveniently search that database against any or all criteria entered;

Users should only have access to their own data;

It would be nice if it were possible to upload a photo or maybe auto-harvest their profile pic from FB and include it in the finished pdf;

Site should work from all popular browsers;


From this brief, what would be the best way to build this site? Could it be done with something like Wordpress? I guess the pdf generator is the toughest bit? All thoughts and comments welcome.
 
iMOTOR Jan 9, 2013 12:58 PM
Start here: Home - Facebook Developers

You could use Wordpress for presentation but I'm not aware of PDF generating function built in, you are likely going to develop that from scratch.

If you're not going to have high volume to this site, the easiest path may be to set up a Mac mini server with an AppleScript that collects the data and prints it to an emailed PDF.
 
besson3c Jan 9, 2013 02:04 PM
I've actually done this sort of thing before, I'd be happy to discuss prices with you if you are not hoping to do this yourself. I'd recommend text2pdf:

Document Engineering Lab

I'm pretty sure this is what I used before, or of not this library something like it (what I did was slightly different from this in that it also included a watermark)

AppleScript is not a good idea, something command line based that can run without a GUI and can be easily invoked through the web is a far better option, IMHO.

As far as Facebook authentication goes, that's pretty easy, you can do that with one of the social plugins they provide:

http://developers.facebook.com/docs/.../registration/
 
iMOTOR Jan 9, 2013 04:48 PM
Quote, Originally Posted by besson3c (Post 4210979)

AppleScript is not a good idea, something command line based that can run without a GUI and can be easily invoked through the web is a far better option, IMHO.
I don't think it's a good solution either, but I suggested it because it would be easy since I suspect the OP and his crew aren't experienced with the LAMP stack.
 
besson3c Jan 9, 2013 05:23 PM
Quote, Originally Posted by iMOTOR (Post 4211026)
I don't think it's a good solution either, but I suggested it because it would be easy since I suspect the OP and his crew aren't experienced with the LAMP stack.

Cool, I understand...

One of the reasons why I don't shy away from encouraging people to look for command line Unixey sorts of solutions when I feel there is a decent match or cause for a recommendation of this nature is because I don't have a computer science degree, yet I learned everything I know myself by being inspired by a project. The right project/idea with the ambition can become a huge success, and somebody with the intellect of Waragainstsleep can absolutely learn this stuff and get there if he wishes to. This technology is not magic!

Additionally, I've noticed that people will occasionally show up on boards like this and ask for recommendations on books they can read to learn this stuff. Since I didn't learn from books myself (the web is my book), my bias and personal background persuades me to say "get a project, dude". There is nothing like a project to help learn this stuff, and not only to learn it, but retain it. What percentage of stuff read in a computer book is retained?

Anyway, huge digression...
 
iMOTOR Jan 9, 2013 09:37 PM
No disagreement there besson, and fwiw, when I mentioned AppleScript, I had no idea there was a utility that could generate PDFs so easily.
 
All times are GMT -4. The time now is 09:24 PM.

Copyright © 2005-2007 MacNN. All rights reserved.
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2016, vBulletin Solutions, Inc.


Content Relevant URLs by vBSEO 3.3.2