Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Development] SocialWEB [Coldfusion]

Status
Not open for further replies.

Jax

C# Programmer
Joined
Dec 11, 2009
Messages
881
Reaction score
431
Hello, all.

Just lately I have been working on a project aka SocialWEB, this project will be based on ColdFusion, but the site is obviously a Social Network. This project is developed by myself and assisted from time-to-time from a ColdFusion expert I know.

The real aim for this project is for me to extend my knowledge of ColdFusion and become more fluent with the language so I can develop more projects for different sections (mainly Habbo Hotel).

This project is written completely from scratch and will be released to the community in the next month or so, but updates/screenshots will be posted on a regular basis if not daily. At the moment I do not have any screenshots to showcase, but I do have some snippets to showcase while you wait for me to upload some screenshots in the next hour or so.

Anyway, here are some Snippets:

Application.cfm:

Code:
<cfapplication
	name = "SocialWEB"
	applicationTimeout = #CreateTimeSpan(0, 0, 0, 20)#
	sessionManagement = "yes"
	sessionTimeout = #CreateTimeSpan(0, 0, 15, 0)#>
	
	<!--- configuration --->
	<cfinclude template="application/config.conf">

Config.conf:

Code:
<!--- datasource --->
	<cfset dsn = "SocialWEB">
	
<!--- template variables --->
	<cfset template = "main">
	
<!--- site variables --->
	<cfset socialname = "SocialWEB">
	
<!--- app variables --->
	<cfset algorithm = "SHA-256">


Index.cfm:

Code:
<!---

version 1.0.0 by JackW.
  _____            _       ___          ________ ____  
 / ____|          (_)     | \ \        / /  ____|  _ \ 
| (___   ___   ___ _  __ _| |\ \  /\  / /| |__  | |_) |
 \___ \ / _ \ / __| |/ _` | | \ \/  \/ / |  __| |  _ < 
 ____) | (_) | (__| | (_| | |  \  /\  /  | |____| |_) |
|_____/ \___/ \___|_|\__,_|_|   \/  \/   |______|____/ 
                                                       
--->

<cfif not StructKeyExists(URL, "view")> <!--- check view variable exists --->
	<cflocation url = "?view=index" addtoken = "no" />
</cfif>

<cfif not len(url.view)> <!--- check if view is not empty --->
	<cflocation url = "?view=index" addtoken = "no" />
</cfif>

<cfset view = rereplace(url.view, "[^A-Za-z0-9]","","all")>

<cfoutput>
<!DOCTYPE html>
<html>
	<head>
		<title>#socialname# - Powered by SocialWEB.</title>
			<cfinclude template = "templates/#template#/#view#.sb">
	</body>
</html>
</cfoutput>

UPDATE: Decided to base the design on Bootstrap.

Screenshots:
Capture.PNG - [Development] SocialWEB [Coldfusion] - RaGEZONE Forums

Kind Regards - JackW
 

Attachments

You must be registered for see attachments list
Last edited:
Joined
Jun 8, 2007
Messages
1,985
Reaction score
490
You open a head tag, but you close with a body tag... Unless that is done in view, and if it is, that is bad design because it is unclear. Everything should be loosely coupled and each individual component should contain code which gives a clear description of the functionality.

And this is bootstrap's nav bar and a bootstrap button.. I mean, meh... Practice makes perfect :)

@ your sig JackW (The true sign of intelligence is not knowledge but imagination)

Edit: Good Einstein quote. That's a very important concept if you get into any sort of AI studies.
 
  • Like
Reactions: Jax

Jax

C# Programmer
Joined
Dec 11, 2009
Messages
881
Reaction score
431
Development on this is closed, due to me focusing on more important things.
 
Status
Not open for further replies.
Back
Top