Jump to content

Ninjakreborn

Members
  • Posts

    3,922
  • Joined

  • Last visited

Everything posted by Ninjakreborn

  1. Sorry for anything bad, I said to anyone yesterday, I talked to crayon violent about it via messages.  I wanted to apologize to everyone, I will start doing things differently, on the forum's after today.
  2. Thank you for all the very helpful advice ,I will use that checklist to allow my self to better get into OOP, thanks again, I will be starting to study that shortly.
  3. That was something I was unaware of, I thought they were a lot less "stuck up" about images when it comes to a game, it gives them more attention.  I don't see why they are so strict about it.
  4. Ok, so I will keep building onto it. Maybe it is time for me to get into OOP after all, but I see all these arguments over Procedural programming vrs OOP concepts. I am sitting here wondering which is better.  I see developers that do procedural programming for 3-4 years, and seem to be doing great.  Which one is better, even people who use OOP seem to only use it sometimes.  I have seen people say they know OOP, but 90% of there general development is still done using procedural programming.
  5. Technically you could use content for video games.  Depends on the content, images and stuff you could depending on what they were.  Also depending on if you were selling stuff on the site, or if it was a fan site (community site), they are legal.
  6. http://www.google.com/search?hl=en&q=define%3A+framework&btnG=Google+Search Ok, instead of me just shooting out opinions, let me tell you how I feel about this, as a whole. I enjoy what I do, so I started up my program. I call it a framework,because technically, it is for me.  Maybe my style of programming is different from everyone else out there then, but I do everything by hand, I didn't want something with a graphical interface, it's made to be used by developers, with developing. Granted, it's not the best yet, but it has literally triple decreased my time frame of finishing projects. Here [quote]In software development, a Framework is a defined support structure in which another software project can be organized and developed. Typically, a framework may include support programs, code libraries and a scripting language amongst other software to help develop and glue together the different components of your project. en.wikipedia.org/wiki/Framework[/quote] That is what I consider it.  Right now, it's a support structure, that my other programs, and website constructions tools are built into.  It's not something I am doing as an open source project, but more of something I am using, and will always be using, and every project I make it a goal to improve it, I thought I would just share it with people. I have the thing up there.  code libraries will be built in over time, as I create them.  1 support program (admin program)< I have already created and built into it.  Code libraries, are coming.  It's glued together with a config file, as well as a place to hold my functions.  Later it will have php functions, Javascript, ajax related functions, and other stuff, that I re-use, and maybe as versions increase other people will find usefull.  That is the purpose of me having this here, as well as the purpose for me putting it out there.
  7. Thank you for all the advice.  I guess I should have rephrased it At this stage I am not ready to get into those specific things, thank you for the checklist of the things TOO get into when I start going in that direction, but procedural seems to be doing what I need for the time being, I will be heading off into those directions shortly, but I more of like having fun as I go, taking my entire. Working for a living, and enjoying what I do, right now, I enjoy where I am at.  The OOP I am heading into I am really looking forward to getting heavily into, and really soaking it up, but that will be another couple of months atleast I think the purpose of my framework was misunderstood. I wasn't releasing it, it's not a negative to try and show my stuff off, to help people. I find it useful, If I was taking 1-2 weeks to build a site, now a lot of the heavier stuff my framework does for me at first.  Auto-creating an admin form, making it easy to change and manipulate variables, a place for me to work on, create, and test functions.  This is what I made if for, I offer it as a free download so if anyone has any feature advice, and other stuff then they can.  in the meantime it's here for me, and for me to have fun building, each project making it better, more secure, stronger, and better. Hopefully getting some helpful comments about it over time.
  8. I love it, I can't see it, but I like it, I tried it a minute earlier.  Iw ould like a chance to be able to login, if you don't mind.  After you fix it, since you have it available for download, where is a page that give's information on new version releases.  I like it, and want to give it a try, I was just about to create one, to keep track of client information, this'll save me some work.
  9. The framework, isn't something I am selling.  It isn't something I am replicating for other people to use.  It's something I am offering people if they want to try it, and/or offer feedback about it. The reason I think this, is with my framework, the entire thing was for me, for my projects. It's constantly under development. I thank you for the standard criticism, and I will keep it in mind.  I will also be releasing another version soon, that will be huge rewrites, stuff I am doing on it in the next week.  Thanks for the feedback.
  10. I will be rewriting for it, the page I just put up in a few minutes.  It was jsut something I am trying to go open source, the nature of it can't be put in a demo, and be shown.  It's more of a thing for developer's to help them build websites.
  11. http://www.freelancebusinessman.com/personalprojects/framework/framework.php It's there in the zip file. I just wanted someone to do some testing, so I can make adjustments where necessary.
  12. [code]<?php require_once("./master/config/config.php"); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <?php require_once($docroot . "/master/includes/meta.inc.php"); ?> <title>Fairly Honest Bills</title> </head> <body id="frontend"> <div id="wrapper"> <?php require_once($docroot . "/master/includes/header.inc.php"); ?> <div id="leftcol"> <?php require_once($docroot . "/master/includes/leftnav.inc.php"); ?> </div> <div id="rightcol"> <div id="top"> <?php if ($_GET['rownumberprev']) { $rownumber = mysql_real_escape_string($_GET['rownumberprev']); }elseif ($_GET['rownumbernext']) { $rownumber = mysql_real_escape_string($_GET['rownumbernext']); }else { $rownumber = 0; } $limit = 20; if (isset($_POST['submit']) || isset($_GET['submit'])) { $year = mysql_real_escape_string($_POST['year']); $month = mysql_real_escape_string($_POST['month']); $select1 = "SELECT * FROM specialimagesystem WHERE year = '$year' AND month = '$month' LIMIT $rownumber, $limit;"; $query1 = mysql_query($select1); $total_rows = mysql_num_rows($query1); while ($row1 = mysql_fetch_array($query1)) { echo "<div class=\"specialimages\">\n"; $target = "/specialimages/"; $width = "100px"; $height = "100px"; echo "<a href=\"{$target}{$row1[name]}\" class=\"thickbox\"><img src=\"{$target}{$row1[name]}\" width=\"{$width}\" height=\"{$height}\" alt=\"{$row1[name]}\" /></a>"; echo "<br /></div>\n"; } } ?> <?php if (isset($_POST['submit2']) || isset($_GET['submit2'])) { $tags = mysql_real_escape_string($_POST['tags']); $select2 = "SELECT * FROM specialimagesystem WHERE tags LIKE '%$tags%' LIMIT $rownumber, $limit;"; $query2 = mysql_query($select2); $total_rows = mysql_num_rows($query2); while ($row2 = mysql_fetch_array($query2)) { echo "<div class=\"specialimages\">\n"; $target = "/specialimages/"; $width = "100px"; $height = "100px"; echo "<a href=\"{$target}{$row2[name]}\" class=\"thickbox\"><img src=\"{$target}{$row2[name]}\" width=\"{$width}\" height=\"{$height}\" alt=\"{$row2[name]}\" /></a>"; echo "<br /></div>\n"; } } ?> </div> <div class="pag"> <?php if (isset($_GET['submit1']) || isset($_POST['submit1'])) { if ($rownumber != 0) { $rownumberprev = $rownumber - $limit; echo "<a href=\"newarrivals.php?rownumberprev={$rownumberprev}&submit1=yes\">Previous Page</a>"; echo "<br />"; } if ($rownumber <= ($total_rows - $limit)) { $rownumbernext = $rownumber + $limit; echo "<a href=\"newarrivals.php?rownumbernext={$rownumbernext}&submit1=yes\">Next Page</a>"; } } if (isset($_GET['submit2']) || isset($_POST['submit2'])) { if ($rownumber != 0) { $rownumberprev = $rownumber - $limit; echo "<a href=\"newarrivals.php?rownumberprev={$rownumberprev}&submit2=yes\">Previous Page</a>"; echo "<br />"; } if ($rownumber <= ($total_rows - $limit)) { $rownumbernext = $rownumber + $limit; echo "<a href=\"newarrivals.php?rownumbernext={$rownumbernext}&submit2=yes\">Next Page</a>"; } } ?> </div> </div> </div> </body> </html>[/code] A long time ago, I built a simple pagination script.  A few months later Is lightly expanded it, and it's been used well for me.  I reuse it all the time, and can normally have pagination up and running in just a matter of minutes, as opposed to recreating it every time. However there is now a problem.  I need it to conform to this situation, thelimit works, but it's not producing next and previous links. I have a page with multiple search options coming here, based on which form it's coming from, I need it to do a different search, either search by term, or by (month, year), but for now, when it searches it works, that was all done, I am building in the pagination script, it recieved my limit, but it's not seeming to actually work with the pagination, normally as I said, I copy the top code in, the bottom come in, get a few variables ans it's ready to go, this time I tried to modify it, to fit this situation, but there's something I am missing.
  13. 1. I apologize for the way it was phrased, here it is rephrased [quote]I have a client that bought sam broadcasting.  It looks harder to integrate than something I am use to, is there an alternative, to allow a radio to be played live through a website? There are a lot of expenses with this sam broadcasting, as well as a lot of problems, you have to have shoutcast or another streaming server, it's harder to integrate, can't even find out what language the stupid thing is built in, any advice.[/quote] 2. I couldn't tell the language, because it's mentioned nowhere on the site where you buy it at, or within the documentation, how can someone tell without even seeing the program. 3. I don't see anywhere, where anyone mentioned about me being a master of all languages.  It doesn't say that on my website, or the freelance forum.  My clients know (obviously by my website), what I know, and what I don't.  So they comments were taken a little offensively.  I am playing with languages, I made a mistake for putting ones I was studying, or just hobbying with as languages I was experienced it, that has (since then), been changed quite a long time ago. 4. I already spoke with the owner of the software, it was written in delphi. I also realized it was easy to integrate * get a windows server, with php/mysql, (it only runs on a windows server) * Download, ftp, install sam broadcaster * setup sam broadcaster * install the encoder and hook it to the stream server (in this case shoutcast as opposed to windows media) * Install the php2web component and skin/mod it to look as I (the client) wants) * upload and get his music into the database * connect the database to the streamer * it takes care of the rest, at that moment all you have to do is integrate it onto the website itself, and it's ready to go.
  14. I have a client that bought sam broadcasting.  It looks harder to integrate, is there an alternative, to allow a radio to be played live through a website.  24/7 There are a lot of expenses with this sam broadcasting, as well as a lot of problems, you have to have shoutcast or another streaming server, it's harder to integrate, can't even find out what language the stupid thing is built in, any advice.
  15. That's the thing, in this situation I already created my own.  I already have a basic framework I created.  It's just I am at the point of expanding it.  Good idea about testing out there's, as redbullmarky also suggested, I have downloaded a few, I will go ahead and take the time to play with them, as for the ajax framework specifically.  I am wanted to extend my framework to have some ajax in it's functionality, should I use a third party library of ajax, or come up with my own.
  16. Thanks that atleast points me in the right direction, thanks for taking the time to teach me that a minute ago, adn for helping me with my initial problem, thanks again.
  17. Ah, ok that makes sense now.  Thanks, that is something new I will keep in mind. Very strange, it always seemed to work right, I may have to redo some older stuff now, thanks i will keep that in mind. How about the name, I want to get hte filename to keep the extension when doing that. But it's overwriting the name filename.ext with just the newname of what he watned, I watned to keep the extension.
  18. I am looking for some inspiration.  My framework has been built, I started it at version 0.1  And I have upgraded it over time, it's almost 2.0 I have my config folder, functions, and directory structure.  People program different, I programmed it and I am having a very good time with it, and upgrading it.  I even created things inside my framework I call programs.  I created a administration program, that automatically builds an admin system, and has the features * allows people to edit there admin info * allows them to add/edit/delete other admins I worked this into my framework so all I have to do is copy one folder from /master/programs/admin move that admin folder to the root, and upload the sql file and it's ready to go, the entire admin skeleton system is done.  THe thing I like is over time I can build onto it, make the design better, I upgrade the basic version every couple of times I use it, and start adding more features to start with.  I have done a lot, I am very happy with my current framework.  Now I am going to start adding some new stuff * pagination program (I have a script I created I keep replicating off an old site I built, I want to turn it into a program, so I can just easily start up pagination when needed, by just including one file, and passing it a few variables), this is going to be easy and fun next time I get some spare time * getting javascript library * getting ajax library I am personally a do-it yourself kind of guy, more like along the lines of redbullmarky by what I have read, I don't like doing everything custom, but his outlook is he likes doing it, not re-inventing the wheel but you get the idea. I built my own framework so far, and I am very happy with it, if I had of used third party I would not have felt the same.  Now I want to use an ajax, or javascript library built into it.  So I can have an easier time doing ajax, I was wondering, shoudl I take the time to slowly build my own, or would this be a good situation to go ahead and use something that was already created. Also what else can I do to make my framework better, and work better.  It works great, and I want to expand it, while keeping it light weight, and eventually open it as an open source project, but that's after, about another 20 versions or so.  Advice, appreciated.
  19. I am not worried about that, that always has worked, if (isset( has always worked for me, I will test it out a little better, but when it's not filled in it ignores it, when it is filled in  it doesn't so far. What I was more of asking, if I take the name of a file filename.jpg for instance he wants to be able to manaully create teh name, when I create the name of the image what he choses it doesn't save the extension.  I want the extension to be there, say if he wants to name it dave.  and it was a bmp it's dave.bmp would be hte name if it's a jpg then dave.jpg, right now it's just naming the file dave.Which isn't good.
  20. [code]<?php $file1 = $_FILES['file1']; if (isset($_POST['file1_name'])) { $name1 = mysql_real_escape_string($_POST['file1_name']); }else { $name1 = $file1['name']; } ?>[/code] The above code was working, until I added the isset post, and let him name it himself.  He wanted the abilitiy to choose the image name if he wanted to. For now, I need the name.  I want to figure out how to retain the extension, whether it's .jpg, .jpeg, .gif, .bmp or whatever he wants to upload.  The question I would need to ask though now is, is that a good idea, letting him name them, or just leave them named the way they were when he originally uploaded them. And let the name just be an addition that it can show on.
  21. [quote]Turn directory listings on or off Normally when you navigate to a directory or folder on this web server, the files in that directory will not display because directory listings are turned off by default. If you do not have a file named index.html or other acceptable home page name, you will get an error that indicates you do not have permission to view that directory. However, if your site was migrated to this server from another EasyStreet server, we may have enabled directory listings since they were allowed in the previous environment. Turn directory listings on   1.       Create a plain text file named .htaccess with the following line or add to an existing .htaccess file:       Options +Indexes   2. Upload this .htaccess file to your / directory. This is the level above public. Note: If you already have a file named .htaccess there, simply add the above lines to that file rather than replacing it. Turn directory listings off   1.       At the top level of your site, /, find the file named .htaccess and remove the line which reads:       Options +Indexes   2. Upload this modified .htaccess file to your / directory. This returns your site to the default behavior, which has directory listings turned off. [/quote] Actually I think this was what I was wanting.  This is one thing I was going to start using, this might help, what about other things.  Like the passwording. This is my idea, I was going to build an htaccess file into the /master folder of my framework.  This would allow me to actually have it always password protected on servers that worked with htaccess. Then I could have another htaccess file, I move to the upper level, that cuts off magic quotes, and some other things I prefer having set specifically.  As well as the directive for it to stop showing the directory, that is what annoys me, are these going to be good ideas, or could any of this cause problems later?
  22. I was wondering about something. I have recently started using htaccess a lot more than I ever thought i would, just for smaller things even.  I have started password protecting temporary things using htaccess, if it's anything permanent I normally use other types of authentification to make sure they need access to that folder.  For now, I was wondering, if I password protect specific pages will that allow the browser to get those pages. For instance, I just recently installed php my admin, on a raggidy server configuration (I hate his webhost but he wanted to stick with it) Now I am wondering, right now I password protected it, obviously it worked.  What if I decided to password protect other stuff, like if I wanted to entirely  keep people from going into my framework, if I htaccess it, then anytime someone goes to /master folder or any sub-folder of that, it will prompt for username and password, keeping people from snooping through my directory.  What I was wondering, is, will it hurt anything.  I mean, if I password protect /master then all my other directories will be too (css, and includes, and processors, and images) I am just wondering will that be bad. Even then, if i just password protected the config folder inside it, would that allow the pages to get to my include, even though the directory was password protected. I want to prevent people from messing with those folders???
  23. How did you get past the, "click here to activate this control" on the flash navigation, I thought browsers induced them naturally.
  24. management is something I have worked on awhile.  I studied a lot of things related to client interaction, planning, management, and things to help my business run smoother. I use active collab, tested my timeframe with and without, I work a lot more efficiently with it managing my projects. I use google calendars (I recall the advice about over-micromanagement), so I only use it, for big meetings, calls, appointments, just big things, that cannot afford to be missed. That organized my general life, and tripled my work production, while doubling my personal production, finally letting me get things prioritized and done right, a big improvement, and a lot better. Now I was noticing I was having trouble keeping up with incoming projects, and always following up, so I came up with a small system, it helps a lot, but it's still a little difficult, I was going to explain what I do, and see if someone can offer improvements or something that would work better. I get a lot of projects in my email that are clients, asking me questions, or just wanting to start talking about a project, some I email don't respond for awhile, or require a couple of followups.  Some clients want to work, but they take some time to get in contact with a second time, and take awhile to organize there projects and get them started.  So I started breaking it down, when I first get an email, I email them back and put them in a folder in my email called followup.  later on (couple of days), I email them back, and put there email in second follow up, a couple of more days, I email them again, third followup, then one more time about 3-4 days later, then delete there email address. Now, for general people, whether it's initial contact, first followup, second follup, or third followup, I put them into a folder called clients.  This is after I have personally talked to them on the phone, or via email where they responded and expressed interest, normally I deliver a quote, and I am suppose to get back to them via phone, or email after a specific amount of time.  This time, I put there folder in clients, and in a notepad document, giving client information, initial quote I gave, and contact information.  When we finally work over all details tehy go from that list, to something I call a project profile. Which is a folder on my computer called profiles, then there is a folder named the project name (website name, or client name), and it has any project specific information (images specs, instructions, client contact info), pretty much any technical or non-technical information related to the client. After the project it goes into a folder called "past projects or hold".  Then from here, if I am sure I never work with them again, I remove there profile, and email to save room, and keep me from getting confused, if I am going to work with them again later, I remove there email address, but keep everything under hold in projects, so if I ever need to dig up the information again for reference, or for the project I can.  This system works sound, but it still gets a little confusing at times, any advice?
  25. How do you get the ftp to stop trying to put related files.  Like if you upload index.php and there is a global.css it tries to load it to, and all images associated with that, how do you turn that off.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.