neoform Posted April 25, 2007 Share Posted April 25, 2007 Yeah, so I've been working on a PHP framework for almost a year now.. It's getting pretty close to completion.. (still work to be done, but it's pretty solid at this point) Just wondering what anyone thinks of it. http://www.phpneoform.com/php.neoform.v1.161.zip Basically it's a pre-made backend for your website. It allows you to make websites with user management, subdomain management, http/https and a bunch of other stuff. Most importantly it was designed to be very portable. You can take chunks of one website and just plop it into another really easily. screenshot of the dashboard: http://www.phpneoform.com/115/phpneoform_images/files/fulls/phpneoform_backend.png here's a site that's currently using it http://www.newsique.com/ here's one of the packages you can install into it http://www.phpneoform.com/115/phpneoform_images/ it's main feature is that you can create great looking URL structures. an example would be the web forum i made for it, this is the URL for a thread: http://www.newsique.com/forum/site/site_news/site_updates/page1/#l here's a URL for a news story: http://www.newsique.com/politics/house_democrats_we_have_the_vote/ it makes use of mod_rewrite to do it, but it's very easy to set up with the framework. Right now it's still technically a beta release and is only for personal/non-profit use. Enjoy. Link to comment https://forums.phpfreaks.com/topic/48691-phpneoform-framework-v1161/ Share on other sites More sharing options...
Voldemort Posted April 26, 2007 Share Posted April 26, 2007 Looks amazing, I'm willing to bet it'll be very successful! famfamfam's little icons are quite popular, I see Link to comment https://forums.phpfreaks.com/topic/48691-phpneoform-framework-v1161/#findComment-238700 Share on other sites More sharing options...
neoform Posted April 26, 2007 Author Share Posted April 26, 2007 Thanks If you give it a try or have any suggestions.. feel free to share. Link to comment https://forums.phpfreaks.com/topic/48691-phpneoform-framework-v1161/#findComment-238708 Share on other sites More sharing options...
Voldemort Posted April 26, 2007 Share Posted April 26, 2007 One thing I'm not sure of right away is the setup. I'm using cPanel, and since I don't want to test this on my main site, I'm trying it on an addon domain. Under "Site Root Index URL", this is what is shown: /home/~main/public_html/~addon/php.neoform.v1.161/index.php A.K.A. http://www.addonsite.com/~addon/php.neoform.v1.161/index.php The ~addon/ in the third line shouldn't be there, but I can't find a way around it. Link to comment https://forums.phpfreaks.com/topic/48691-phpneoform-framework-v1161/#findComment-238716 Share on other sites More sharing options...
neoform Posted April 26, 2007 Author Share Posted April 26, 2007 the site root URL is where the code for the site is going to be stored. You can make that off the www dir if you want (hide the code from the web). If it's putting "/home/~main/public_html/~addon/php.neoform.v1.161/index.php" as the root url, then that's what PHP is reporting as being where the installer script is currently running from.. Link to comment https://forums.phpfreaks.com/topic/48691-phpneoform-framework-v1161/#findComment-238720 Share on other sites More sharing options...
Voldemort Posted April 26, 2007 Share Posted April 26, 2007 but either one or the other will be wrong, no matter what I try. it always wants to be the main site Link to comment https://forums.phpfreaks.com/topic/48691-phpneoform-framework-v1161/#findComment-238725 Share on other sites More sharing options...
neoform Posted April 26, 2007 Author Share Posted April 26, 2007 Ok my bad, set the "Site Root Index URL" to the location you want the site to be found (via the web), and the "System Directory" where the code for the site is going to be (they can be different). Maybe I should explain that better in the installer......... Basically you can have the code exist elsewhere on the site (for safety reasons, no direct access to the code if you want). Basically what happens is an index.php is installed in the Site Root Index URL that then points to the "System Directory" where all the code is found.. Link to comment https://forums.phpfreaks.com/topic/48691-phpneoform-framework-v1161/#findComment-238742 Share on other sites More sharing options...
Voldemort Posted April 26, 2007 Share Posted April 26, 2007 It's still not right... /home/main/public_html/addon is not http://www.addon.com/addon ... maybe I'm just being OCD... Link to comment https://forums.phpfreaks.com/topic/48691-phpneoform-framework-v1161/#findComment-238812 Share on other sites More sharing options...
neoform Posted April 26, 2007 Author Share Posted April 26, 2007 Are you sure your host doesn't have symlinks that you're not aware of? I've tested it on several different hosts and none of them gave me such problems... Link to comment https://forums.phpfreaks.com/topic/48691-phpneoform-framework-v1161/#findComment-238815 Share on other sites More sharing options...
Voldemort Posted April 26, 2007 Share Posted April 26, 2007 I don't follow... I have a main domain, and nine addon domains under it. I want to add it into an addon domain, but the SRI URL thinks it's going into the public_html directory and then whatever it's under. Because of the structure of the public_html folder, it's giving me two different locations that, if it was the main domain, would make sense, but since it's not, it doesn't (try wrapping your mind around THAT sentence!) So public_html/addon is the actual location of it, which corresponds to just addon.com but because its /addon, it appends /addon to the end of the other url. Link to comment https://forums.phpfreaks.com/topic/48691-phpneoform-framework-v1161/#findComment-238822 Share on other sites More sharing options...
neoform Posted April 26, 2007 Author Share Posted April 26, 2007 Hmmmm... I'm not fully following how the site is set up.... but either way, the path you give it is where the files are going to be located, the installer just shows you (as it sees it) what the URL is gonna look like, and has no bearing on the install process. It all comes down to the paths you give the installer. It'll put files in both the locations you give.. if your host has a setup where the "addons" folder is actually root, then it'll be installed in the root.. (maybe i'll have to adjust how the javascript guesses the location.. heh) Link to comment https://forums.phpfreaks.com/topic/48691-phpneoform-framework-v1161/#findComment-238823 Share on other sites More sharing options...
Voldemort Posted April 26, 2007 Share Posted April 26, 2007 So which one is the one it's going to use, the /home/ one or the http: one? Link to comment https://forums.phpfreaks.com/topic/48691-phpneoform-framework-v1161/#findComment-238824 Share on other sites More sharing options...
neoform Posted April 26, 2007 Author Share Posted April 26, 2007 Well like I said: "Site Root Index URL" is where the index.php is gonna be put. So you'd be accessing the site from that dir. "System Directory" is where the code for the site is tucked away. (can be anywhere that php has access to) Link to comment https://forums.phpfreaks.com/topic/48691-phpneoform-framework-v1161/#findComment-238826 Share on other sites More sharing options...
Voldemort Posted April 26, 2007 Share Posted April 26, 2007 but the two locations in SRI URL (/home/... A.K.A. http://...) are different, so which one will they be accessed by? I'm willing to bet I'm just really off... EDIT: Well I tried, but the backend login it gave me didn't exist... I hate to say it, but I think I'm going to give up. I'm sure it's a great system, but I've just got bad luck today (trust me, you don't want to know). Link to comment https://forums.phpfreaks.com/topic/48691-phpneoform-framework-v1161/#findComment-238830 Share on other sites More sharing options...
neoform Posted April 26, 2007 Author Share Posted April 26, 2007 Hmmm.. wish I coulda figured out what went wrong here.. *trying to make it work on as many systems as possible*.. anyway... Link to comment https://forums.phpfreaks.com/topic/48691-phpneoform-framework-v1161/#findComment-238833 Share on other sites More sharing options...
neoform Posted April 26, 2007 Author Share Posted April 26, 2007 Ack. I think I might know why. I feel stupid for not mentioning it earlier.. Requirements: Mysqli be active in PHP PHP 5 MySQL 5 Mod_Rewrite needs to be on in apache Link to comment https://forums.phpfreaks.com/topic/48691-phpneoform-framework-v1161/#findComment-238835 Share on other sites More sharing options...
Voldemort Posted April 26, 2007 Share Posted April 26, 2007 It definitely doesn't work in addon domains... it overwrote the .htaccess for my main domain (luckily I have a backup ) Link to comment https://forums.phpfreaks.com/topic/48691-phpneoform-framework-v1161/#findComment-238844 Share on other sites More sharing options...
neoform Posted April 26, 2007 Author Share Posted April 26, 2007 eep. really? I'm gonna add something to check if .htaccess already exists before writing to the installer. sorry about.. :S Did it do anything else unexpected like that? Link to comment https://forums.phpfreaks.com/topic/48691-phpneoform-framework-v1161/#findComment-238977 Share on other sites More sharing options...
neoform Posted April 26, 2007 Author Share Posted April 26, 2007 I added a failsafe to the installer to make sure those directories don't exist before it creates them. No more overwriting files. Link to comment https://forums.phpfreaks.com/topic/48691-phpneoform-framework-v1161/#findComment-239033 Share on other sites More sharing options...
448191 Posted April 30, 2007 Share Posted April 30, 2007 A little something from php.ini you may wish to take into account: ; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized. ; NOTE: Using short tags should be avoided when developing applications or ; libraries that are meant for redistribution, or deployment on PHP ; servers which are not under your control, because short tags may not ; be supported on the target server. For portable, redistributable code, ; be sure not to use short tags. Link to comment https://forums.phpfreaks.com/topic/48691-phpneoform-framework-v1161/#findComment-241447 Share on other sites More sharing options...
neoform Posted April 30, 2007 Author Share Posted April 30, 2007 Do you think it's really a big problem? I've yet to encounter a host that uses PHP5 and has short tags off.. I'm all for compatibility, but typing <?php seems archaic and (IMO) unnecessary..... Link to comment https://forums.phpfreaks.com/topic/48691-phpneoform-framework-v1161/#findComment-241549 Share on other sites More sharing options...
Recommended Posts