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:
Config.conf:
Index.cfm:
UPDATE: Decided to base the design on Bootstrap.
Screenshots:
Kind Regards - JackW
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:
Kind Regards - JackW
Attachments
You must be registered for see attachments list
Last edited: