Coding discussion

Chat about anything and everything non-Etrian related!

Moderator: ItL Moderators

User avatar
Maxine MagicFox
ItL Webmaster
Posts: 13474
Joined: Wed Feb 27, 2008 12:20 pm
Location: Pennsylvania
Contact:

Re: Coding discussion

Postby Maxine MagicFox » Sun Mar 03, 2013 2:57 am


[] - [] - [] - []

User avatar
Riseatrance
Manticor
Posts: 2098
Joined: Thu Apr 10, 2008 3:43 am
Location: Hong Kong
Contact:

Re: Coding discussion

Postby Riseatrance » Sun Mar 03, 2013 3:11 am

My current game projects:
茨心 -Thornheart- (jRPG, yuri) || Heaven's Kiss: Fallen Hydrangea (Twine, yuri romance)

(#dota2) I support Team DK! 国土無双 (LaNm), you will be missed...

Follow me on Twitter at !
3DS - 3883:5561:7702 (Please msg me on Twitter/here/Skype if you add me!)
PAD - 201,267,866 (Japanese Servers. Common Leaders: Archangel, Ganesh)

User avatar
Maxine MagicFox
ItL Webmaster
Posts: 13474
Joined: Wed Feb 27, 2008 12:20 pm
Location: Pennsylvania
Contact:

Re: Coding discussion

Postby Maxine MagicFox » Sun Mar 03, 2013 3:28 am

I'm still not really understanding what I'm trying to match things up against?

I'm making a blog, so I've got a title and text field which can have anything in them.

I've messed with regexes a little. In my last project I wanted to resize youtube videos automatically, so I set it to search for the size properties and rewrite them.

[] - [] - [] - []

User avatar
Riseatrance
Manticor
Posts: 2098
Joined: Thu Apr 10, 2008 3:43 am
Location: Hong Kong
Contact:

Re: Coding discussion

Postby Riseatrance » Sun Mar 03, 2013 3:33 am

My current game projects:
茨心 -Thornheart- (jRPG, yuri) || Heaven's Kiss: Fallen Hydrangea (Twine, yuri romance)

(#dota2) I support Team DK! 国土無双 (LaNm), you will be missed...

Follow me on Twitter at !
3DS - 3883:5561:7702 (Please msg me on Twitter/here/Skype if you add me!)
PAD - 201,267,866 (Japanese Servers. Common Leaders: Archangel, Ganesh)

User avatar
Reynard-Miri
Manticor
Posts: 3190
Joined: Tue Jul 10, 2012 5:09 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Coding discussion

Postby Reynard-Miri » Sun Mar 03, 2013 3:37 am

As long as you are the only user, then there shouldn't be a problem. But if OTHER people are allowed to do post stuff there, then it leaves you vulnerable to a sql injection attack. So basically Riseatrance's last paragraph restated. ^_^"

User avatar
Maxine MagicFox
ItL Webmaster
Posts: 13474
Joined: Wed Feb 27, 2008 12:20 pm
Location: Pennsylvania
Contact:

Re: Coding discussion

Postby Maxine MagicFox » Sun Mar 03, 2013 3:39 am

I still want to have certain securities in place because I would like to hire another write (since I think Siris is no longer interested) and can easily and safely use the program without me worrying too much. (Also, in case something does get access to certain pages or some odd something. Archaic DID say to prevent SQL injections, afterall. The alternative is WordPress... o_o;)

I just don't know what the regexe could help look for since I don't want to say not to use some odd symbol or something. I want to enable HTML in the box and since it's a text field for a blog, it wouldn't make sense to refuse certain symbols.

I was thinking of using a str_replace for certain symbols to at least re-write them into the like \r\n or other symbol hex texts.

[] - [] - [] - []

User avatar
Riseatrance
Manticor
Posts: 2098
Joined: Thu Apr 10, 2008 3:43 am
Location: Hong Kong
Contact:

Re: Coding discussion

Postby Riseatrance » Sun Mar 03, 2013 3:45 am

My current game projects:
茨心 -Thornheart- (jRPG, yuri) || Heaven's Kiss: Fallen Hydrangea (Twine, yuri romance)

(#dota2) I support Team DK! 国土無双 (LaNm), you will be missed...

Follow me on Twitter at !
3DS - 3883:5561:7702 (Please msg me on Twitter/here/Skype if you add me!)
PAD - 201,267,866 (Japanese Servers. Common Leaders: Archangel, Ganesh)

User avatar
Maxine MagicFox
ItL Webmaster
Posts: 13474
Joined: Wed Feb 27, 2008 12:20 pm
Location: Pennsylvania
Contact:

Re: Coding discussion

Postby Maxine MagicFox » Sun Mar 03, 2013 4:44 am


[] - [] - [] - []

User avatar
Maxine MagicFox
ItL Webmaster
Posts: 13474
Joined: Wed Feb 27, 2008 12:20 pm
Location: Pennsylvania
Contact:

Re: Coding discussion

Postby Maxine MagicFox » Sun Mar 03, 2013 7:39 pm

You know... I keep telling myself "Penna, it's just the backend of the website. No one's going to see it, so just make a nice colored set up like I made for my webby project. A few color codes, slap it together, and that's that...

.......... but of course I can't seem to leave it like that. So I opened up photoshop and what was meant to be a quick "let's slap something together" has resulted in this...



........should I continue or should I scrap and just settle for something a little... less.... stylish.

o_O;; Geez... this isn't a website per se...

I should get back to coding *sigh* I just wanted to take a break today and actually do something without a lot of thinking.

[] - [] - [] - []

User avatar
Riseatrance
Manticor
Posts: 2098
Joined: Thu Apr 10, 2008 3:43 am
Location: Hong Kong
Contact:

Re: Coding discussion

Postby Riseatrance » Mon Mar 04, 2013 10:26 am



Still, attractive blog layouts aren't necessarily a bad thing. Honestly, it's best just to do what you want and then adapt/make changes based on the resulting output.
My current game projects:
茨心 -Thornheart- (jRPG, yuri) || Heaven's Kiss: Fallen Hydrangea (Twine, yuri romance)

(#dota2) I support Team DK! 国土無双 (LaNm), you will be missed...

Follow me on Twitter at !
3DS - 3883:5561:7702 (Please msg me on Twitter/here/Skype if you add me!)
PAD - 201,267,866 (Japanese Servers. Common Leaders: Archangel, Ganesh)

User avatar
Maxine MagicFox
ItL Webmaster
Posts: 13474
Joined: Wed Feb 27, 2008 12:20 pm
Location: Pennsylvania
Contact:

Re: Coding discussion

Postby Maxine MagicFox » Mon Mar 04, 2013 11:12 am

:P I like netbeans and it's what the school taught me on.

[] - [] - [] - []

User avatar
negzee
ItL's resident princess
Posts: 4049
Joined: Sun Aug 31, 2008 6:45 pm
Location: Minnesoouuda
Contact:

Re: Coding discussion

Postby negzee » Mon Mar 04, 2013 3:21 pm

I haven't got much to add since Reynard and Trance jumped in, but I would like to request that we not start any IDE wars in here, thanks. ^^'

User avatar
Riseatrance
Manticor
Posts: 2098
Joined: Thu Apr 10, 2008 3:43 am
Location: Hong Kong
Contact:

Re: Coding discussion

Postby Riseatrance » Mon Mar 04, 2013 4:20 pm

My current game projects:
茨心 -Thornheart- (jRPG, yuri) || Heaven's Kiss: Fallen Hydrangea (Twine, yuri romance)

(#dota2) I support Team DK! 国土無双 (LaNm), you will be missed...

Follow me on Twitter at !
3DS - 3883:5561:7702 (Please msg me on Twitter/here/Skype if you add me!)
PAD - 201,267,866 (Japanese Servers. Common Leaders: Archangel, Ganesh)

User avatar
Maxine MagicFox
ItL Webmaster
Posts: 13474
Joined: Wed Feb 27, 2008 12:20 pm
Location: Pennsylvania
Contact:

Re: Coding discussion

Postby Maxine MagicFox » Mon Mar 04, 2013 10:42 pm

^_^ Why? It would be entertaining if only because Netbeans is the only one I've ever used. I could learn something from it. Though seriously, I've had no qualms with Netbeans and I know how to work it and it lets me code my own without annoying the hell out of me every two seconds and just offers a friendly tap on the shoulder when I've fucked something up.

I do wish I could find if there was a way to include certain codes the moment I create a new .php page or something. :\ I should explore the application more than I probably have.

Meh, I don't care either way. I refuse to use Dreamweaver and I use an outdated Photoshop. Clearly I've never given a damn about the general consensus. XD

[] - [] - [] - []

User avatar
Riseatrance
Manticor
Posts: 2098
Joined: Thu Apr 10, 2008 3:43 am
Location: Hong Kong
Contact:

Re: Coding discussion

Postby Riseatrance » Tue Mar 05, 2013 10:47 am

Nah. NetBeans has its advantages, I just generally dislike it for how bloated and how slow it tends to run on my machine.
My current game projects:
茨心 -Thornheart- (jRPG, yuri) || Heaven's Kiss: Fallen Hydrangea (Twine, yuri romance)

(#dota2) I support Team DK! 国土無双 (LaNm), you will be missed...

Follow me on Twitter at !
3DS - 3883:5561:7702 (Please msg me on Twitter/here/Skype if you add me!)
PAD - 201,267,866 (Japanese Servers. Common Leaders: Archangel, Ganesh)


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
68 posts

Return to “Discussion Section”

Who is online

Users browsing this forum: No registered users and 26 guests